You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ipips/ipip-0337.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ and supporting large content providers is a key strategy for driving down IPFS c
25
25
These providers must handle high volumes of traffic and support many users, so leveraging industry-standard tools and services
26
26
such as HTTP load balancers, CDNs, reverse proxies, etc. is a requirement.
27
27
To maximize compatibility with standard tools, IPFS needs an HTTP API specification that uses standard HTTP idioms and payload encoding.
28
-
The [Reframe spec](https://github.com/ipfs/specs/blob/main/reframe/REFRAME_PROTOCOL.md) for delegated content routing is an experimental attempt at this,
28
+
The Reframe spec for delegated content routing is an experimental attempt at this,
29
29
but it has resulted in a very unidiomatic HTTP API which is difficult to implement and is incompatible with many existing tools.
30
30
The cost of a proper redesign, implementation, and maintenance of Reframe and its implementation is too high relative to the urgency of having a delegated content routing HTTP API.
31
31
@@ -36,13 +36,13 @@ We expect this API to be extended beyond "content routing" in the future, so add
36
36
37
37
## Detailed design
38
38
39
-
See the [Delegated Content Routing HTTP API spec](../routing/DELEGATED_CONTENT_ROUTING_HTTP.md) included with this IPIP.
39
+
See the Delegated Content Routing HTTP API spec (:cite[http-routing-v1]) included with this IPIP.
40
40
41
41
## Design rationale
42
42
43
43
To understand the design rationale, it is important to consider the concrete Reframe limitations that we know about:
44
44
45
-
- Reframe [method types](../reframe/REFRAME_KNOWN_METHODS.md) using the HTTP transport are encoded inside IPLD-encoded messages
45
+
- Reframe method types using the HTTP transport are encoded inside IPLD-encoded messages
46
46
- This prevents URL-based pattern matching on methods, which makes it hard and expensive to do basic HTTP scaling and optimizations:
47
47
- Configuring different caching strategies for different methods
48
48
- Configuring reverse proxies on a per-method basis
Copy file name to clipboardExpand all lines: src/routing/routing-v1.md
+14-13Lines changed: 14 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,17 @@
1
-
# Routing v1 HTTP API
2
-
3
-
 Delegated Content Routing HTTP API
4
-
5
-
**Author(s)**:
6
-
7
-
- Gus Eggert
8
-
9
-
**Maintainer(s)**:
10
-
11
-
* * *
12
-
13
-
**Abstract**
1
+
---
2
+
title: Routing V1 HTTP API
3
+
description: >
4
+
Delegated content routing is a mechanism for IPFS implementations to use for
5
+
offloading content routing to another process. This specification describes
6
+
an HTTP API for delegated content routing.
7
+
date: 2023-03-22
8
+
maturity: reliable
9
+
editors:
10
+
- name: Gus Eggert
11
+
github: guseggert
12
+
order: 0
13
+
tags: ['routing']
14
+
---
14
15
15
16
"Delegated content routing" is a mechanism for IPFS implementations to use for offloading content routing to another process/server. This spec describes an HTTP API for delegated content routing.
0 commit comments