Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on PHP Dark Arts: Shared Memory Segments (IPC). Parent comment
Basically anything where you're blocked waiting for a response you could be busy doing something else.
Synchronous APIs are kind of wasteful in a lot of cases. Node.js does a good job of this by using async APIs.
It's a tradeoff. But the extra complexity can be worth it if it means your pages load 2x faster.
There are no comments on this comment yet.
Basically anything where you're blocked waiting for a response you could be busy doing something else.
Synchronous APIs are kind of wasteful in a lot of cases. Node.js does a good job of this by using async APIs.
It's a tradeoff. But the extra complexity can be worth it if it means your pages load 2x faster.