It has been a long ride since the days where one application would just take a full room of computing hardware. Research and innovation in information technology (IT) have taken us far and will surely keep moving even faster every day. Let’s talk a bit about the present state of DevOps, and how containers are driving the scene.

What are containers?

According to Docker (the most popular containers platform), a container is a stand-alone, lightweight package that has everything needed to execute a piece of software. It packs your code, runtime environment, systems tools, libraries, binaries, and settings. It’s available for Linux and…


Monitoring the health of servers manually can save you from memory leaks, bad resource-consuming software, attacks and downtime.

TL;DR glances, htop, iotop and iftop

The 4 Tools in iTerm

Installation commands in this tutorial assume Debian/Ubuntu distro and root access, else use sudo

#1 Glances


En este tutorial los guiaré con los pasos para instalar NGINX 1.8, HHVM 3.9 y PHP 5.5 FPM.

  • Nginx es un excelente servidor web o proxy inverso cuya configuración sin estar optomizada es más rápida que Apache 2.4 (El servidor web más popular del mundo).
  • HHVM es una máquina virtual que interpreta PHP y Hack utilizando compilación JIT (Justo a tiempo).
  • PHP-FPM (FastCGI Process Manager) es una implementación alternativa de PHP FastCGI con extras útiles para sitios web de cualquier tamaño, sobre todo sitios altamente concurridos.

Contexto de hardware:

  • Máquina virtual KVM con Ubuntu 14.04 limpio. 1GB de RAM y…

In this tutorial I will be guiding you with steps to install NGINX stable, HHVM 3.9 and PHP 5 FPM.

  • Nginx is a great webserver or reverse proxy that comes with a default configuration much faster than Apache 2.4 with its default MPM (Prefork).
  • HHVM is a virtual machine that uses JIT (Just in time) compilation aproach.
  • PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

A little setup background:

  • Clean KVM Machine with Ubuntu 16/14 LTS with 1GB RAM and 1 CPU Core from Vultr


WebTorrent Trackers improved memory usage by 16x

Intro

I’ve been running the first community WebTorrent tracker (tracker.btorrent.xyz) server for a while now. The WebRTC network has been steadily growing and right now there’s at least 700 connected peers at any given time (See tracker’s stats).

Every time there’s a popular post or news release about WebTorrent and ideas/demos/products built around it, my tracker can’t handle the sudden non-collected allocation of RAM for the new websockets and it ‘dies’, even PM2 dies.

I’ve received donation offers from community users who want to support the server’s cost but I was holding that until…


Have you heard about WebTorrent?

WebTorrent is a streaming torrent client for node.js and the browser. YEP, THAT’S RIGHT. THE BROWSER. It’s written completely in JavaScript — the language of the web — so the same code works in both runtimes.

Basically, it allows a file to be shared using the BitTorrent protocol, which is P2P, in the browser. Awesome right?! So let’s get started

Things you’ll need:

  • NPM (Comes with NodeJS)
  • A file you want hosted in the Swarm CDN (Any type, some file types can be rendered or even streamed in the browser)
  • CORS and HTTPS Highly Recomended
  • Motivation and/or Madness!

Optional

Diego Rodríguez Baquero

Software Engineer 💻, MSc. SE Student 🎓, FOSS Collaborator 💙

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store