Re: Lightweight threading options?
"Scott G. Miller" <[email protected]> Sun, 20 May 2007 15:33:28 -0500
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, May 20, 2007 at 11:23:21AM -0400, Ben Simon wrote: > Howdy All, > > I may be tackling a project which would benefit from an > Erlang/Termite<http://toute.ca/>approach to > multi-threading/processing. I'm curious if I could make use of > SISC threads to create the same kind of architecture. I suppose it all boils > down to one key question - how lightweight are SISC threads? Are they just > a wrapper around Java Threads? Any suggestions for how I might craft an > Erlang/Termite architecture using SISC? They are indeed wrappers around Java threads, so the lightweightness depends on the JVM you're using. We went with real threads so we can run on SMP systems. I don't believe Erlang or Termite require lightweight threads to operate, though it might be beneficial to have an MxN threading if you anticipate thousands of threads on OSes other than Linux/BSD, where threads are pretty cheap. Scott ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/