Skip to content

Commit 1dd9dea

Browse files
RebeccaTamachirosdnts
authored andcommitted
[Aegis] Connection reuse and coalescence (cloudflare#23804)
* Create new page and cross-link from ips-allocation * Add Example placeholders under each concept and link to blog * Fill in example placeholders
1 parent 62f4ca1 commit 1dd9dea

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

src/content/docs/aegis/about/ips-allocation.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Refer to [connection forwarding](/aegis/about/connection-forwarding/) to underst
2727

2828
<Render file="concurrent-connections-explainer" />
2929

30+
Aegis also benefits from [connection reuse and connection coalescing](/aegis/about/reuse-and-coalescing/).
31+
3032
[GraphQL Analytics API](/aegis/analytics/) allows you to get visibility over Aegis IP utilization.
3133

3234
## Regional services
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Connection reuse and coalescing
3+
pcx_content_type: concept
4+
sidebar:
5+
order: 4
6+
label: Reuse and coalescing
7+
---
8+
9+
import { Details } from "~/components";
10+
11+
Aside from [concurrent connections](/aegis/about/ips-allocation/#connections-to-your-origin)[^1], connection reuse and connection coalescing are also important concepts. They both have impact on latency and are considered when allocating your Aegis IPv4 addresses.
12+
13+
Implemented by HTTP/1.1, connection reuse describes multiple requests passing through one same connection (between one source IP:port and one destination IP:port). It is commonly the case even for simple websites nowadays.
14+
15+
<Details header="Example">
16+
When a connection is initiated for `shop.example.com`, several embedded subresources may be requested - CSS, image files, advertisement, etc. This can mean hundreds of requests just for the website to load. Instead of having a one to one ratio of request per connection, a single connection is used for multiple requests.
17+
</Details>
18+
19+
With HTTP/2, requests can use the same connection even if they are for different domains.
20+
21+
<Details header="Example">
22+
A connection initiated for `shop.example.com` can be used for requests for `blog.example.com` as well - as long as the requests have the same destination IP:port and the server TLS certificate is authoritative for both hostnames.
23+
</Details>
24+
25+
Refer to the [Cloudflare blog post](https://blog.cloudflare.com/aegis-deep-dive/) for further details.
26+
27+
[^1]: If you have one Aegis IP and two origins (A and B), this single Aegis IP can support 40,000 concurrent connections to origin A, while simultaneously supporting 40,000 concurrent connections to origin B.

0 commit comments

Comments
 (0)