Hey,

A carefully created program (which does not use global variables)
should not necessarily have security issues.

But only process isolation can guard you against memory corruption
issues. Whether you can afford a process per session really depends on
what investment you want to make for deployment (and we have customers
that use dedicated processes but mostly not for security but rather to
incorporate legacy code that is not reentrant).

You could use haproxy as a session-aware reverse proxy which
distributes requests over several servers, each running nginx or
another web server which talks to FastCGI-connected Wt. But you could
also consider starting this way, fixing problems (memory bugs) as they
appear and later migrate to some shared session approach since there's
no reason to expect that your bug rate isn't going to decline to the
point that it's worth taking the risk?

Luckily for development there is no implication of any of these
deployment trade-offs.

Regards,
koen

2013/10/11 Alan Jesser <[email protected]>:
> I've built a few smaller projects using Wt and the built in http server.
> Right now I'm working on a rather large project which could potentially have
> thousands to tens of thousands of users connected at once. It also requires
> good security. I'm not sure how well the built in http can handle a load
> like that. I also read that if you want improved security to use the fastCGI
> interface to isolate each session from the others. I'll will need to deploy
> it with a reverse proxy setup, which I believe the built in http server can
> handle with haproxy.
>
> Can anyone give me some insight into the best way to proceed? Either the
> built in http server or fastCGI with something like nginx.
>
> Thanks,
> Alan
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to