[tooz] Recommended driver
Hi all, Just wondering what the recommend driver is these days. The docs[1] seem to suggest zookeeper is the most stable and feature rich. Is that still the case? Is it advisable to use zookeeper over redis/valkey? What gets the most testing in upstream CI? Thanks, Will [1] https://docs.openstack.org/tooz/latest/user/drivers.html
Hey, If the doc suggests that zookeeper is this kind of thing, then, I think that in the context of tooz this comment still reflects reality. Unfortunately, I think that we can affirm that the main maintainers of tooz are now far away from the OpenStack world, and their deep knowledge disappeared with their departures. I've no idea which driver is the most tested, but maybe you can run some comparisons by using the beagle command: ``` $ pip install beagle $ beagle search --ignore-comments -f link --repo-pattern "openstack/*" 'zookeeper' $ beagle search --ignore-comments -f link --repo-pattern "openstack/*" 'redis' ``` And then run some grep over them to catch the tooz use cases. I ran the zookeeper one on my laptop and I found several use cases of tests in ironic among other components. I'm far from a tooz/zookeeper expert, so do not take my response as an expert one. Hopefully it will answer some of your questions. Le mer. 23 oct. 2024 à 14:24, William Szumski <will@stackhpc.com> a écrit :
Hi all,
Just wondering what the recommend driver is these days. The docs[1] seem to suggest zookeeper is the most stable and feature rich. Is that still the case? Is it advisable to use zookeeper over redis/valkey? What gets the most testing in upstream CI?
Thanks, Will
[1] https://docs.openstack.org/tooz/latest/user/drivers.html
-- Hervé Beraud Senior Software Engineer at Red Hat irc: hberaud https://github.com/4383/
Unfortunately, zookeeper doesn't do sharding, so redis is best. Sent from Workspace ONE Boxer On Oct 30, 2024 16:50, Herve Beraud <hberaud@redhat.com> wrote: Hey, If the doc suggests that zookeeper is this kind of thing, then, I think that in the context of tooz this comment still reflects reality. Unfortunately, I think that we can affirm that the main maintainers of tooz are now far away from the OpenStack world, and their deep knowledge disappeared with their departures. I've no idea which driver is the most tested, but maybe you can run some comparisons by using the beagle command: ``` $ pip install beagle $ beagle search --ignore-comments -f link --repo-pattern "openstack/*" 'zookeeper' $ beagle search --ignore-comments -f link --repo-pattern "openstack/*" 'redis' ``` And then run some grep over them to catch the tooz use cases. I ran the zookeeper one on my laptop and I found several use cases of tests in ironic among other components. I'm far from a tooz/zookeeper expert, so do not take my response as an expert one. Hopefully it will answer some of your questions. Le mer. 23 oct. 2024 à 14:24, William Szumski <will@stackhpc.com> a écrit : Hi all, Just wondering what the recommend driver is these days. The docs[1] seem to suggest zookeeper is the most stable and feature rich. Is that still the case? Is it advisable to use zookeeper over redis/valkey? What gets the most testing in upstream CI? Thanks, Will [1] https://docs.openstack.org/tooz/latest/user/drivers.html -- Hervé Beraud Senior Software Engineer at Red Hat irc: hberaud https://github.com/4383/
participants (3)
-
Herve Beraud
-
thomas@goirand.fr
-
William Szumski