4 ms·
This is how many HTTP caches and CDNs work. The terminology used to describe it is often request collapsing or request coalescing. Some examples: * varnish: h
by sciurus 7y ago
This is how many HTTP caches and CDNs work. The terminology used to describe it is often request collapsing or request coalescing.
Some examples:
* varnish: https://info.varnish-software.com/blog/hit-for-pass-varnish-cache https://info.varnish-software.com/blog/hit-for-pass-varnish-...
* nginx: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_lock http://nginx.org/en/docs/http/ngx_http_proxy_module.html#pro...
* fastly: https://docs.fastly.com/guides/performance-tuning/request-collapsing https://docs.fastly.com/guides/performance-tuning/request-co...
* cloudfront: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-traffic-spikes https://docs.aws.amazon.com/AmazonCloudFront/latest/Develope...
- sk5t 7y agoPlain-old-caches and even concurrent-aware maps do this too--several are the cases where I've slapped a Guava or Caffeine cache into place for quick 'n dirty concurrency control and key coalescing, even with a short TTL.
- camelspade 7y agoAlso in Apache Traffic Server through the collapsed forwarding plugin: https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/collapsed_forwarding.en.html https://docs.trafficserver.apache.org/en/latest/admin-guide/...