What is the main role of observer in the server role of zookeeper?

Alibaba cloud Q & A 2022-02-13 06:01:20 阅读数:758

main role observer server role

ZooKeeper In the server role of ,Observer What's the main function ?




Take the answer 1:

(1)3.0 A server role introduced after version , Improve the non transaction processing ability of the cluster without affecting the transaction processing ability of the cluster

(2) Handle non transactional requests from clients , Forward the transaction request to Leader The server

(3) Don't vote in any way


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130601195378.html