Home

Add a comment

 

Avatar: Peter

Re: node.js vs Java nashorn

I know I'm late to the party but I'm betting if you tied the Nashorn test to one core it would probably perform on par with node.js. You're getting bounced between cores which causes a reload of the local cache for the core. That's not efficient, hence why node.js runs in one core. This LMAX Disrupter Thread and core affinity article http://highscalability.com/blog/2015/9/30/strategy-taming-linux-scheduler-jitter-using-cpu-isolation-a.html walks through them trying to isolate their stuff to one core for this exact reason. At the end of the day this repo does all the affinity magic https://github.com/OpenHFT/Java-Thread-Affinity

Re: node.js vs Java nashorn


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

Home