Re: [Cppcms-users] Chat example runs slowly after the change
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-08-22 19:10:04
|
> > service.applications_pool().mount(cppcms::applications_factory<chat>()); > You should use asynchronous application for handing COMET request. This would not work as it should not. Asynchronous applications mounted directly by their instance rather then using factory class. Unlike ordinary applications that created by some factory class and may have several instances in pool, asynchronous one have single instance in order to handle all incoming multiple request. See <http://art-blog.no-ip.info/cppcms/blog/post/47> > Artyom |