Re: App performance degradation at scale

Vishal Shah <[email protected]>
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
Hi Michael,

Thanks for the reply. i have checked the memory on the server, and am not 
seeing much increase over time. Is there a way i can recycle cherrypy 
threads after x number of requests? Any other ideas?

Regards,

Vishal.

On Wednesday, March 30, 2016 at 3:40:58 PM UTC+5:30, Michiel Overtoom wrote:
>
>
> > On 2016-03-30, at 07:38, Vishal Shah <[email protected] <javascript:>> 
> wrote: 
> > 
> > The app basically gets some data from memcache and a column store db for 
> every request. What i am noticing though, is that the performance keeps 
> degrading as the server gets more and more requests. It starts off with 
> roughly 50 ms per response, but after a few thousands of requests, the 
> performance becomes as slow as 30 seconds. 
>
> That's odd. I have a similar setup and I don't see slower response times 
> after a few thousand requests. Could there be a memory leak in your 
> application? Have you monitored the memory usage over time of the Python 
> process which runs CherryPy? 
>
> Greetings, 
>
>

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.