Optimizing a real-time Symfony app with Memcached, Socket.io, Node.js, Redis, and Nginx

Tenho Reserva, a PHP/Symfony/MySQL web app, had a problem: we desperately needed to lower its CPU footprint. The primary culprit was the clerk availability algorithm, which would take Apache or php-cgi an average of two seconds to handle. Not only that, in order to keep information up to …

Continue reading »