[OT] - REALBasic Claims 100K Users
Andre Garzia
soapdog at mac.com
Wed Oct 4 18:13:15 EDT 2006
On Oct 4, 2006, at 7:04 PM, Richard Gaskin wrote:
>
> What sorts of tasks would threading be essential for?
>
Making servers!!!!
We need threads or fork(). Thats the only way to serve thousands of
concurrent connections. You create a simple server that can serve
just one request. You pick every request create a new thread/fork and
run that server with that request, even if it is a expensive request
that will take long to work, it will not interrupt or harm the other
request because each one is running on its own space.
You can't really work with queues and task lists when building a web
server... I did that, but if something blocks, then the whole server
blocks...
Andre
More information about the use-livecode
mailing list