Why

  • local state is much faster than a distribut database.
  • local state can easily restore by some middleware like Kafka: by writing changes to a Kafka topic.