10 ms·
DNS resolution also blocks, and PHP doesn't appear to have a plugin for async DNS resolution.
by tbh 14y ago
DNS resolution also blocks, and PHP doesn't appear to have a plugin for async DNS resolution.
- pilif 14y agoIf you have a local DNS cache or at least a powerful DNS server close to you, this should really not be that much of a problem as the DNS server would be able to respond quickly from its local cache. I doubt you'd lose much more than 20ms. That's still way better than forking tons and tons of curl processes and shells.