Re: [photon.users] Proposal: removal of the smart stats
- Loic d'Anterroches
- 2012-03-08 @ 08:39
On 2012-03-08 09:27, William MARTIN wrote:
> Hi Loic,
> I currently don't use it.
> I thinks it better to lets its monitoring job to a dedicated process,
> like what you do for the process management with diprocd.
> They have lot of tools to report CPU/MEM usage.
Ok removed. The only thing we do not get anymore is the average poll
time which could be use to scale the handlers. But I must say, I am far
from needing such level of information.
> On Tue, Mar 6, 2012 at 6:45 PM, Loic d'Anterroches <email@example.com> wrote:
>> from my experience with Photon in production, we do not need the smarts
>> stats to figure out what is going on. So, we could remove that and it
>> will save us some work in the loop handling the requests from Mongrel2.
>> I will just add a call to the garbage collector in the loop. Not for
>> each run, but for $i % 500 or so. I can see from my logs that my
>> handlers are consuming a bit more memory with the time and I wonder if
>> garbage collection can help.
>> Then I will test and see if this is worth the extra lines in the code.
Dr Loïc d'Anterroches
Founder Céondo Ltd
w: www.ceondo.com | e: firstname.lastname@example.org
t: +44 (0)207 183 0016 | f: +44 (0)207 183 0124
60 Windsor Avenue
SW19 2RR / United Kingdom