News for hackers. Stuff that matters.
Re:Ask HN - Why was there ever, fork() ? by billpg on Tuesday October 06, 2009 @01:24PM (#864661)
If the new task can work in isolation, then yes, fork seems ideal. If the tasks need to interact, then threads seem (to me) more useful.

I've written web services in the past with databases storing data (like most web applications do) and I've often wished that the potentially many processes could just be multiple threads in a single process instead, so I could have them just share an array of objects without the overhead of a database server.

There are no comments on this comment yet.