Тёмный

Power of Multi-region in CockroachDB | The speed of light is too slow! 

CockroachDB
Подписаться 10 тыс.
Просмотров 1,5 тыс.
50% 1

Развлечения

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@ajayprajapati2136
@ajayprajapati2136 2 года назад
In Global setting, when write is done at 9 but completed at 12, the transaction doing write is being held by commit for longer. Can that be done async to make transaction faster?
@cockroachdb
@cockroachdb 2 года назад
The transaction only waits for the write at 12 to complete if it has no other work. Unfortunately, it’s not possible to allow the transaction to commit before time 12 (and do the wait asynchronously), as if we did that, a subsequent transaction initiated by the same application which reads before time 12 would not be able to see the row, thus breaking our ACID guarantees.
@ajayprajapati2136
@ajayprajapati2136 2 года назад
@@cockroachdb Make Sense. Thanks.
@BrianBraunsteinNow
@BrianBraunsteinNow 7 месяцев назад
​@@cockroachdb Would it actually violate ACID? I think the strongest "I" in ACID is "serializable", and for that I think you'd just have to not allowing any other mutating transactions to start before t=11, right? "serializable" would even allow totally stale reads, so it seems like returning early shouldn't be an issue. I think it's the "linearizable" property that would be violated...but that said...it's basically still "linearizable" to all processes other than the writer. The writer essentially just got a sneak peak into the future. This seems like it could have utility in a batch update scenario where you're sure you're not going to need to read your own write immediately (and therefore won't stumble into the non-linearizable behavior). It could potentially reduce the "memory-seconds" needed for the batch update job pretty significantly, maybe it's worth consider having this as an option?
@13TheGUNNER
@13TheGUNNER 4 месяца назад
So in short, your cross region DR setup is as latent as any other cross region DB replication setup?
Далее
The Architecture of a Serverless Database
52:42
Просмотров 1,3 тыс.
Voy shetga man aralashay | Million jamoasi
00:56
Просмотров 352 тыс.
15 futuristic databases you’ve never heard of
8:42
Просмотров 688 тыс.
BlackRock: Multi Tenancy in Cassandra at BlackRock
38:07
Microservices with Databases can be challenging...
20:52
Никто этого не ожидал 🥴
0:27