Re: [photon.users] Photon is really stable under load - first page of Hacker News without caching
- 2012-04-04 @ 15:03
That's impressive...Assuming that the CPU load and RAM usage raises in a
linear way, there's room for a lot more trafic before you run into limits.
Next step : Slashdot's homepage ! :)
On Wed, Mar 14, 2012 at 9:59 AM, Loic d'Anterroches <firstname.lastname@example.org> wrote:
> here are some graphs from tonight. Basically a blog post made the first
> page of Hacker News:
> The effect was a big spike of traffic against Mongrel2 (only the non SSL
> traffic is tracked, I need to track SSL traffic too, but I suppose it
> was not significant).
> What is interesting is that the memory usage of the Photon processes
> which are just PHP processes with forced garbage collection every 500
> hits but without restart. PHP very nicely garbage collected, so the
> memory is always coming back to the baseline of a non loaded system.
> This is running PHP 5.3.8 at the moment.
> Half of the traffic went on the main Baregit website, you can notice
> that the external control doing get requests and measuring the response
> time was basically unaffected. chemeo.com which is normally under low
> load but served from the same infrastructure was also unaffected.
> Finally the application server had a load near zero. So, this means that
> from the CPU point of view, it can grow nicely.
> What is important to note is that:
> - all the traffic is handled by Photon processes, even the assets are
> served through them;
> - zero caching, no Varnish, no Memcached, nothing. Everything from the
> database (a MongoDB replica set) or the Photon processes (.phar);
> - snappy;
> - basically, zero load on the system.
> A nice day...