Re: [Cppcms-users] Multiple class of render()
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-06-21 09:38:58
|
> Okay.. so my bottleneck is the integrated http server with its minimal > http header. > I can try to use a normal http server for the cppcms app, but I like > the idea to have > one executable to provide the whole web app with a http server. Maybe > it is enough > to enable cppcms caching. I need to rerun some tests/benchmarks. If JS/CSS is your bottle neck then cppcms cache isn't going to help you much unless you put all your JS/CSS inline with HTML in which case it's is still going to run slow. My nginx uses about 8MB of resident memory, but is fastest. Lighthttpd uses about 2-3MB :) I think it's a sacrifice well spent. I know the idea of running a single executable may be appealing but in practice using fastcgi + small webserver is a better option. Petr |