News for hackers. Stuff that matters.
Re:Purely event-based I/O for V8 Javascript by gritzko on Tuesday June 02, 2009 @06:33PM (#638794)
Marketingwise, well done. Otherwise, there are lots of "v8 standard library" projects out there: k7, v8-juice and many more. Are Node people going to reimplement event-driven MySQL client from scratch or what? Diving into the code...
Re:Purely event-based I/O for V8 Javascript by ryah on Wednesday June 03, 2009 @04:46AM (#639447)
> Are Node people going to reimplement event-driven MySQL client from scratch or what?

No. MySQL does not provide an API that is usable with an event-loop, so it will need to be run in a separate internal thread. It will notify the main thread when it is complete. With Postgres the situation is better, they have a very nice API that can be integrated into an event loop, so the extra overhead won't be necessary.