[Tarantool-patches] [PATCH] Trigger on vclock change

Konstantin Osipov kostja.osipov at gmail.com
Thu Nov 14 16:44:22 MSK 2019


* Maria <maria.khaydich at tarantool.org> [19/11/14 15:59]:
> This patch implements replication.on_vclock
> trigger that can be  useful for programming
> shard-systems with redundancy.

3808 is about being able to wait for an lsn.

Using a trigger for *waiting* is called busy waiting, and is a cpu
hog, especially at a performance critical space like update of
replica vclock, which can happen a hundred times a second.

Why not implement a way to wait for an lsn instead?


-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list