前言
承接《Django入门》,本文参照慕课网《django入门与实践》课程,开发一个简单的博客系统。按照国际惯例,我们先学习一下django的基础知识。
Official Introduction: ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. All of these kinds of services are used in some form or another by distributed applications. Each time they are implemented there is a lot of work that goes into fixing the bugs and race conditions that are inevitable. Because of the difficulty of implementing these kinds of services, applications initially usually skimp on them, which make them brittle in the presence of change and difficult to manage. Even when done correctly, different implementations of these services lead to management complexity when the applications are deployed.
ZooKeeper是一个分布式应用程序协调服务,它提供了分布式锁、配置管理、命名服务、集群管理等功能。它的设计目标是提供一个高度可靠的分布式协调服务,使得分布式应用程序可以在不同节点之间共享信息和协同工作。ZooKeeper最初由雅虎研究院开发,并在Apache许可证下发布,现在已经成为一个Apache软件基金会的开源项目。
ZooKeeper的核心是一个具有高可用性的分布式数据存储系统,它可以存储和检索分布式应用程序的元数据、配置信息、状态等。ZooKeeper的数据存储采用内存映射文件方式,支持快速读写和高并发性。
参考文档: