2013/10/25 Dave Watts <[email protected]>

>
> > 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.
>
> This isn't really correct. To the best of my knowledge, there are no
> formal recommendations from Adobe on proper settings for number of
> simultaneous requests, and there have never been any. Everybody wants
> some, but unfortunately there's no "one size fits all" number for
> this. If you want to optimize this for your application, you need to
> load test it with your application.
>

I was talking about a range, not about "one size" :)
I personally would try 3-10 requests per CPU core but 100 per core seems
too high due to cost of constant requests switching within one CPU thread.
Though you are correct. Load test is a final argument. Just trying to get a
direction..


>
> > 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.
>
> I'm curious, can you provide a citation for this recommendation anywhere?
>

Well, not recommendation directly from Adobe but examples from people near
Adobe.
First link in my initial post was from @Kiran
http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-configuration
I googled "ColdFusion 10 IIS connector" and 500 was a standard value for
connection pool size.



>
> > Could anybody clarify what is a best values for connection_pool_size and
> > how it is connected to simultaneous Template requests in CF admin?
>
> Well, my understanding of it is: the web server looks at each incoming
> request, then sends it to the connector if the URL of the request
> matches the pattern specified in the context root. By default, the
> context root is "/", which means that every request matches, and all
> are sent to the connector. The connector evaluates the request to see
> if it matches a servlet pattern specified in web.xml. If it doesn't,
> it's returned to the web server for processing. So, it would make
> sense that the connector would require a much larger pool of
> simultaneous requests than CF itself would.
>

Thanks a lot for explanation!
Larger pool of connections in connector makes sense then.
But why I see Simultaneous Template Requests = 500 in CF admin after manual
connector tuning while it was 24 before tuning?
Is that normal?


Sergey Croitor


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:356981
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to