Hacker News new | ask | show | jobs
by drip-egg-jack 1720 days ago
R2 is still under development, we will see how it will work, but I can tell you how Tebi.io global replication works:

- Writes and reads always goes to the closest region, this keeps network latency low. You can define different metadata write concern levels for each bucket, this way you can define how fast or how consistent your writes will be on a global scale. You can even make them asynchronous, meaning that once the data transfer is complete, metadata write and propagation is performed without you waiting for it to complete.

- If you write to one region and someone is trying to read that object from another region - it will be possible as soon as metadata is replicated to that region (usually it takes less than 500ms). If data is not yet replicated to that region, then it will be read from another region. If the data is partially replicated, then that part will be read from the local storage and the rest of the data from another region. Additionally, Tebi supports synchronous replication allowing almost instant data propagation across the world.

- Write latency depends on metadata replication write concern - it can be faster than AWS or slower, you can configure it yourself.

- You can define where you want to store your data and how many copies you need in each region.