From: Torbjorn T. <to...@to...> - 2006-11-01 13:27:34
|
Fredrik Thulin wrote: > > Without looking at how the Yaws request receiving code looks like, it > appears to me that REQUESTS_PER_SECOND is rather SLEEPTIME_PER_REQUEST? Hm..yes..or perhaps MAX_REQUESTS_PER_SECOND. > > Besides that, couldn't such a rate limiting be made more dynamic if it > was based on the run queue length as reported by erlang:statistics/1? But if you have a large system, involving heavy use of mnesia etc, it is hard to measure this. This is an easy way (perhaps too easy?) to protect the rest of the system from being overloaded. --Tobbe > Ulf Wiger indicated to me that that could be a good source of indication > that you are overloaded, and should start backing off. I've been > planning on implementing it in YXA but haven't found the time yet so I > cannot tell you if it works in practice. > > /Fredrik > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |