This repository was archived by the owner on Jun 14, 2024. It is now read-only.
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,11 @@ The two-byte index uses network byte order.
161
161
162
162
# Automatic Sharding
163
163
164
- > * Note:* Topic sharding is not yet part of this specification.
164
+ > * Note:* Automatic sharding is not yet part of this specification.
165
165
This section merely serves as an outlook.
166
- A specification of topic shading will be added to this document in a future version.
166
+ A specification of automatic sharding will be added to this document in a future version.
167
167
168
- Topic sharding is a method for scaling Waku relay in the number of (smaller) content topics.
168
+ Automatic sharding is a method for scaling Waku relay in the number of (smaller) content topics.
169
169
It automatically maps Waku content topics to pubsub topics.
170
170
Clients and protocols building on Waku relay only see content topics, while Waku relay internally manages the mapping.
171
171
This provides both scaling as well as removes confusion about content and pubsub topics on the consumer side.
@@ -177,7 +177,7 @@ From an app point of view, a subscription to a content topic `waku2/xxx` using a
177
177
The app is oblivious to the pubsub topic layer.
178
178
(Future versions could deprecate the default pubsub topic and remove the necessity for ` auto=true ` .)
179
179
180
- * The basic idea behind topic sharding* :
180
+ * The basic idea behind automatic sharding* :
181
181
Content topics are mapped using [ consistent hashing] ( https://en.wikipedia.org/wiki/Consistent_hashing ) .
182
182
Like with DHTs, the hash space is split into parts,
183
183
each covered by a Pubsub topic (mesh network) that carries content topics which are mapped into the respective part of the hash space.
You can’t perform that action at this time.
0 commit comments