I've tuned ColdFusion 10 IIS connector according to following
recommendations:
http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-configuration
http://www.webtrenches.com/post.cfm/resolve-stability-problems-and-speed-up-coldfusion-10

Two sites in my configuration: main production and cfadmin.
Each with its own connector with similar connection settings:

worker.cfusion.max_reuse_connections=250
worker.cfusion.connection_pool_size=500
worker.cfusion.connection_pool_timeout=60

Tomcat server.xml (<cf-installation-path>\cfusion\runtime\conf\server.xml)
contains recommended addon: maxThreads="500" connectionTimeout="60000"

Both sites work fine after manual tuning.
But when I go to CF admin panel in Server Settings > Request Tuning, I see:
Maximum number of simultaneous Template requests = 500
Obviously it was inherited either from worker.properties or from server.xml

I'm a bit confused now.
On one hand Adobe recommends number of simultaneous requests =
num_of_CPU_cores * 4 or 5 which is 16 - 20 requests on Quad Xeon CPU. At
least it was so for CF 7/8/9.
On other hand latest recommendations from Adobe are connection_pool_size =
500 for two_sites_conf and it sets simultaneous Template requests = 500 in
CF admin.

Could anybody clarify what is a best values for connection_pool_size and
how it is connected to simultaneous Template requests in CF admin?

>From my point of view 500 connections are risky.
At linux/apache each worker connection takes 30-80 MB of RAM.
I don't know how much memory uses one IIS tomcat connection in Windows but
if it uses for example 10 MB, it gives 5 GB of RAM only for connections in
case of high traffic / bots invasion / DDoS attack.

So question is: what connection pool settings do you use in your production
sites?
If you use 500 connection_pool_size/simultaneous_template_requests, how
stable is your production site in case of peak load with a lot of requests
coming simultaneously?

Sergey Croitor,
ECommercePartners.net


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356978
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to