> On 9 Jan 2016, at 8:24 am, Richard Gaskin <ambassa...@fourthworld.com> wrote: > > I'm fine with writing some code so the main process hands off tasks to > workers. The issue I've run into is that I've found no way to hand the > socket connection to the worker.
This is unnecessary. The basic idea with FastCGI is you have a process sitting there that is waiting for a request, handles the request and goes back to waiting for the next one. mod_fcgid, spawn_fcgi and I’m sure other things take this a step further by farming out the requests over multiple processes. Often the processes will have a life of say 500 requests where they will be killed and replaced to protect against memory leaks etc. I’m sure there’s ways to dynamically start up more processes depending on server load too… Mind you it’s just as easy to spin up a whole new instance of your VPS these days… maybe in a different location closer to your customers. Cheers Monte _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode