LangInteger

Archive: 2023

Apache ZooKeeper's Strategy for Handling Network Partition

TL;DR

  • Zookeeper always avoids Split Brain problem with it’s majority rule for quorum
  • When network partition happens, the group with the majority of nodes (if it exists) can continue to serve read and write requests
  • When network partition happens, the group with minority nodes can not continue to serve write requests but can continue to serve read requests with client and server properly configured. It is obvious that read requests in this case will return stale values.

An Odessey of Push Notification to Untiy Mobile App

Push notification is a killer feature for engaging users and keeping them informed. In recent development of a mobile app, we integrate APNS(Apple Push Notification service) and FCM(Firebase Cloud Messaging) to our iOS/Android app based on Untiy after overcoming several obstacles which I want to share with you here.

1