3 ms·
> Compute is cheap if you're doing trivial things that doesn't require much compute. A lot of the work on the web/API side is I/O bound (e.g. waiting for netwo
by CharlieDigital 4y ago
> Compute is cheap if you're doing trivial things that doesn't require much compute.
A lot of the work on the web/API side is I/O bound (e.g. waiting for network I/O to database) so unless throughput is your game (e.g. Stackoverflow), it seems that Node is "good enough" for most web/API work.
- marginalia_nu 4y agoIt is I/O bound because you aren't using the available compute as much as you could. Modern hardware is insanely powerful. Like it's absolutely bonkers how much you can do on a modern computer. Although most modern applications have capabilities on par with a 2006 flash game.
- CharlieDigital 4y agoAll true, but there's a point of nuance: because cloud is all virtualized, you are taking advantage of the underlying high performance modern hardware because a serverless Node function is one of who know how many on the physical hardware.