Lowering the Server Load Part 2

Don't use PHP for real time events.

That's what we learned, when we switched to real time image views. At the time memory load was high on the php script that added the views, but it didn't seemed to be a big issue, until there were tons of image views to sort through.

So as a fix we switched to Nodejs to sort real time images. we are beginning to love the asynchronous events here at BeeIMG. The JS script was pretty easy to write and the memory load was lowered by more than 75%

The next memory hog is the MySQL server and we are already using memory friendly redis-server for some parts of the site. We hope to move the whole image views part that gets updated frequently to redis by the end of the year. So we can server more images, fast.

there are some more news to come, so stay tuned.


Popular posts from this blog

Stability Improvements 2020

Stability Improvements 2019

BeeIMG in 2014