Best server-side javascript servers

fmsf picture fmsf · Jan 2, 2010 · Viewed 12.7k times · Source

I've been wondering to try out server-side javascript for a while. And I'm finding a good amount of servers, like: Node.js Rhino SpiderMonkey among others.

Could anyone with experience on server-side javascript, tell me which are the best engines? and why? I like the Node.js because it's based on Google's V8 engine. And seems easy to use. But some feedback on what you would choose would be great.

Edit:

Some benchmarks for Node.

I'm thinking on going with this one but feedback is still welcome.

Thanks

Answer

Alexandre Morgaut picture Alexandre Morgaut · Aug 25, 2011

I think each solution has its own advantages/disadvantages

here a list of SSJS solutions:

  • Aptana Jaxer: sadly abandoned

  • Sitepoint Persevere: based on rhino - include JSDB, supports JSON Query - by Kris Zyp, the author of JSON Schema

  • RingoJS: based on rhino - ex Helma NG successor of Helma which existed from long time ago - multi-thread - nice community - great actor on CommonJS

  • Narwhal: can work on either spidermonkey, V8, or webkit JavaScriptCore - another great actor on CommonJS - defined the JSGI API in the Jack Server

  • Joyent NodeJS: based on V8 (fast) - all is running in a single thread - all the code must be written using callbacks - lot of modules available via npm (Node Package Manager)

  • 4D Wakanda: based on Webkit JavaScriptCore aka SFX or Nitro (which has been faster than V8 and could be faster again) - include an NoSQL Object oriented JavaScript datastore with a native REST API - multi-threaded - provides a studio with a debugger, a Model Designer, and a GUI Designer - provides a Framework with Widgets directly bindable to the datastore and between each others

  • APE project: based on spidermonkey - a Push engine to synchronize in live data between many visitor browsers

  • 10gen MongoDB: A NoSQL Document store allowing code in either Erlang & JavaScript (using spidermonkey)

  • Apache CouchDB: Another NoSQL Document store also allowing code in either Erlang & JavaScript (using spidermonkey)

See a Server-Side JavaScript presentation with some history, benchmarks, & descriptions