Conversation
🦋 Changeset detectedLatest commit: d94c23b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
vicb
left a comment
There was a problem hiding this comment.
Nice!
A few nits related to naming
62994a5 to
0829f86
Compare
vicb
left a comment
There was a problem hiding this comment.
I think we should be careful with naming things correctly to ease later evolutions and maintenance of the code.
I think we have shards, replicas and DOs.
Each shards has a soft and hard variant.
Those variants are replicated to distinct DOs when enableShardReplication is true.
I added a few inline comments, let's iterate.
Thanks!
vicb
left a comment
There was a problem hiding this comment.
Cool, thanks a lot for the updates 🚀
Implements sharding replication for the Durable Object tag cache.
Instead of being sharded only based on the tag, each shard will now also be replicated
This allow to scale way more (virtually infinitely)
A single tag could be read from any of the N random replicas associated with the tag shard.
On write we still need to write to every single replicas associated with this tag shard