Hacker News new | ask | show | jobs
by ryah 6232 days ago
> 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.