SPIDERMONKEY 1.5 is ~ Firefox 2.0 (and ES-3) 1.7 is ~ Firefox 3.0 1.8 is ~ Firefox 3.6 1.8.5 + JITs is ~ Firefox 4http://www.page.ca/~wes/SpiderMonkey/Perf/sunspider_history.png
INTEGRATION-ORIENTED • PHP (J2PA, V8JS)- using Rhino like with - Helma, Persevere, Narwhal, RingoJS, • C (GPSEE), Sun Phobos...- Oracle Nashorn? • Objective C (iMonkey), • Ruby (Johnson),- using JScript.NET like with - IronJS, Node.NET • Perl (JE), …
ASYNC. EVENT-BASED• Browser’s Event-Loop on the Server• An Event Loop in one single thread• Cooperative («one at a time») with async. callbacks• Node.js (V8), SpiderNode, RhiNodeII, Node.NET
SINGLE & MULTI THREADING One global context per threadSINGLE MULTI• Low memory usage • Vertical scalability (multi-core)• Potentially handle lot of requests • Thread-safety for concurrent access• Cooperative • Preemptive: Parallel code execution• Shared context • Allow Synchronous APIs• Use mostly one core* • Uses easily all available cores Notes: - an event loop can generate some other threads which could use other cores - multi-thread architectures can run event loops in some of their threads
MTV• Current deployments include • SpikeTV.com • Comedy Central Indecision,• MTV Networks will be rolling out MongoDB on many other major sites http://www.mongodb.org/display/DOCS/Production+Deployments
VOXERVoxer is a next generation application forvoice and text messaging“Node.js dramatically outperformed theprevious solution we had written in Python”Matt Rainey, RebelVox CTO http://voxer.com/
FINANCIAL DATA REPORTSUsing WakandaDeployed on employees iOS,Android, & Blackberry smartphonesProvides historical sales and invoicesreports in PDF
THANK YOU Come with us at San Jose, CA on October 26th: @jseverywhere http://jseverywhere.orgAlexandre Morgaut - @amorgaut Call to speaker just started!!!