---
title: "Zookeeper简单使用的处理模型"
author: "tailorcai"
date: "2012-04-24T10:44:47Z"
tags: []
categories: ["开源软件"]
slug: "zookeeper"
draft: false
lastmod: "2012-04-24T10:44:47Z"
id: 1496483
url: "https://tailorcai.iteye.com/blog/1496483"
---

Zookeeper的使用很多文章都提到。但是都是对API的描述。很少提到应该如何处理连接短线，session过期等等。我画了一张图，来描述ZK的处理流程。