Hi thanks for the reply .
Let me check out your suggestions . On Thursday, 10 May 2012 14:57:08 UTC+5:30, Alessandro Molina wrote: > > On Thu, May 10, 2012 at 9:51 AM, rajasekhar911 <[email protected]> > wrote: > > Hi > > > > can anyone help me on the following items ? > > > > i am using TurboGears2.0.3 > > > > I would suggest you to upgrade to latest 2.1.5, many bugfixes and > performance improvements got in :D > > > 1. how do I find out the no:of requests that my server can handle in a > > second ? > > > > There are many tools that are able to do this. > I tend to prefer apache benchmark, you can launch it against your web > server and see the results. > > $ /usr/sbin/ab -n 100 http://www.google.com/ > Requests per second: 17.64 [#/sec] (mean) > > > 2.is there a way to log all the requests that are handled by tg2 ? > > > > That is easily performed by the server you are using to serve those > requests. > In mod_wsgi you can enable apache access log and with paste you can > use paste.translogger.TransLogger middleware > > > 3. is TG2 creating any thread pool / no:of threads to handle the > requests ? > > if yes, how do i configure this value? > > > > That depends again on the server that you are using. > On mod_wsgi you can tune the number of processes and threads used by > the daemon process. > On Paste you can tune the thread pool by using the threadpool_ options > in your ini file: > http://pythonpaste.org/paste-httpserver-threadpool.html > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To view this discussion on the web visit https://groups.google.com/d/msg/turbogears/-/YODlNpvrHDkJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

