Open mvalente opened 9 years ago
I hear io.js is a good alternative to node.js
@medikoo If you can boil down your large-heap performance issues to a reasonable repro, then the V8 team are very interested in bug reports. The GC of V8 is not as scalable as the JVM's, which is said to scale to dozens of threads and 100s of Gbytes, but 1.5Gbyte should be no problem.
Note that you may need to up the sizes of various limits. Primarily --max-old-space-size and --max-executable-size . You may want to experiment with --nouse-idle-notification too.
@erikcorry great thanks for that valuable information. I'll try to investigate that further and eventually I'll come up with some solid test case
@medikoo Just a heads up, --nouse-idle-notification is a no-op in v0.10 and newer; I removed idle notifications in iojs/io.js@d607d856.
synchrounous io is legitimate in one-time calls like initializing server configuration and models. after spending 2 years as an async zealot, I've come to realize its very inefficient and brittle for writing nontrivial init code.
Oh, looky here! Building a real alternative to Node using Spidermonkey is actually possible, contrary to the naysayers...
Nice try, but I know what the date is today!
:-)
On Wed, Apr 1, 2015 at 9:23 PM, Erik Corry notifications@github.com wrote:
Nice try, but I know what the date is today!
— Reply to this email directly or view it on GitHub https://github.com/node-forward/discussions/issues/9#issuecomment-88620612 .
Cool. That's good, there should be options.
Our business is node/io.js. If we have the resources to one day make the js engine swappable, that'd be great. For now though, that simply isn't the case.
@mikeal Can you lock this?
Node is great and V8 is great.
But why not take Mozilla's Spider/Eon/Odin/Monkey and create a real alternative to Node? Namely something that would be async/callback Node-compatible but have the alternative of sync-only API to better welcome people that are coming from PHP/Python/etc ?