Sir Thomas - 66 - Aug 29, 2014

I had a question regarding the Concurrency model for the AppHost.  In the release notes there is a note that highlights that using the SmartPool yields optimal performance; however, in the table with stats, it isn’t clear that the HttpListener is the version with the Smart Pool.

Any chance on clarifications?

AppSelfHostBase : AppHostHttpListenerBase
vs
AppHostHttpListenerSmartPoolBase : AppHostHttpListenerBase

https://github.com/ServiceStack/ServiceStack/wiki/Concurrency-model

https://github.com/ServiceStack/ServiceStack/blob/babf8ac6abcd250cf261077a10f92b1761665fb6/release-notes.md

Thanks!

HttpListener isn’t, but all smart pool versions (i.e. AppSelfHostBase / AppHostHttpListenerSmartPoolBase) inherit from AppHostHttpListenerBase but override how threads are managed, i.e using the SmartThreadPool:
https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack/AppSelfHostBase.cs#L123