• Stars
    star
    494
  • Rank 88,725 (Top 2 %)
  • Language
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

《分布式系统常用技术及案例分析》示例源码

《分布式系统常用技术及案例分析(第2版)》

再版序

时光荏苒,岁月匆匆,距离《分布式系统常用技术及案例分析》2017年2月第1版已经一载有余。热心的读者对于本书也投以了极大的关注,伴随着本书的成长,提了很多中肯的建议。对于这些意见,不管褒贬,一并全收,于是才有了第2版的可能。 对于技术型的书籍创作,笔者更加倾向于采用当今软件开发主流的方式——敏捷。敏捷写作打通了编写、校稿、出版、发行的整个流程,让知识可以第一时间呈现给读者。读者在阅读本书之后,也可以及时对书中的内容进行反馈,从而帮助作者完善书中内容,最终形成了良好的反馈闭环。所以,第2版所更新的内容,应该正是读者所期待的。

第2版修改篇幅较大,其余章节都做了大幅度更新。整改内容大致分为以下几个方面:

  1. 删除安装介绍等比较简单的内容。
  2. 每个章节开头,新增“概述”让各个章节的技术点可以关联起来。
  3. 每个章节增加“实战”案例,让技术点更具有可操作性。
  4. 修改原文中措辞、插图。
  5. 删除第9-10章。

完整的修改内容,可以参阅本书后面部分“附录A:本书1版与2版的差异对比”章节内容。

本书与开源的关系

本书所列之技术多为开源技术,本书所撰写的大部分内容也多取材自我个人的博客以及个人编写的开源书(也算是为开源事业贡献微薄之力吧),符合“取自开源,回馈开源”之宗旨。不想看本书的也可以直接关注我博客(https://waylau.com)或者开源书(https://waylau.com/books)的内容。当然,博客相对来说比较零散,没有这本书来的严谨。

内容介绍

本书分为两大部分,即分布式系统基础理论及分布式系统常用技术。第一部分为第1章和第2章,主要介绍分布式系统基础理论知识,总结一些在设计分布式系统时需要考虑的范式、知识点以及可能会面临的问题。 第二部分为第3章到第8章,主要列举了在分布式系统应用中经常用到的一些主流技术,并介绍这些技术的作用和用法。

  • 第1章介绍分布式系统基础理论知识,总结一些在设计分布式系统时需要考虑的范式、知识点以及可能会面临的问题,其中包括线程、通信、一致性、容错性、CAP理论、安全性和并发等相关内容。
  • 第2章详细介绍分布式系统的架构体系,包括传统的基于对象的体系结构、SOA,也包括最近比较火的RESTful风格架构、微服务、容器技术、Serverless架构等。
  • 第3章介绍常用的分布式消息服务框架,包括Apache ActiveMQ、RabbitMQ、RocketMQ、Apache Kafka等。
  • 第4章介绍分布式计算理论和应用框架方面的内容,包括MapReduce、Apache Hadoop、Apache Spark、Apache Mesos 等。
  • 第5章介绍分布式存储理论和应用框架方面的内容,包括Bigtable、Apache HBase、Apache Cassandra、Memcached、Redis、MongoDB等。
  • 第6章介绍分布式监控方面常用的技术,包括Nagios、Zabbix、Consul、ZooKeeper等。
  • 第7章介绍常用的分布式版本控制工具,包括Bazaar、Mercurial、Git等。
  • 第8章介绍RESTful API、微服务及容器相关的技术,着重介绍Jersey、Spring Boot、Docker等技术的应用。

您可以查看详细的书籍目录

本书涉及面相当之广,可以说涵盖了在设计分布式系统时,所要考虑的大部分问题及解决方案。

《分布式系统常用技术及案例分析》封面

源代码

本书提供源代码下载,地址位于本项目下的samples目录。

分支说明

https://github.com/waylau/distributed-systems-technologies-and-cases-analysis/tree/1.0.x 这个分支,是2017年2月第1版 https://github.com/waylau/distributed-systems-technologies-and-cases-analysis/tree/2.0.x 这个分支,是2018年12月第2版

勘误和交流

本书如有勘误,会在https://github.com/waylau/distributed-systems-technologies-and-cases-analysis/issues上进行发布。由于笔者能力有限,时间仓促,难免错漏,欢迎读者批评指正。

读者也可以到博文视点官网的本书页面进行交流(http://www.broadview.com.cn/30771)。

您也可以上豆瓣给老卫打Call。

联系作者

您也可以直接联系我:

如何获取本书

实体店及部分网店有售,据我所知有如下网站供应:

想低于市价得到本书?来二手书集市试试看。

也可以直接关注我博客(https://waylau.com/)或者我的开源书(https://waylau.com/books/)了解更多免费咨询。

其他书籍

若您对本书不感冒,笔者还写了其他方面的超过一打的书籍(可见https://waylau.com/books/),多是开源电子书。

本人也维护了一个books-collection项目,里面提供了优质的专门给程序员的开源、免费图书集合。

开源捐赠

开源捐赠

捐赠所得所有款项将用于开源事业!

More Repositories

1

books-collection

To the programmer's open source and free books collection 给程序员的开源、免费书籍收集,图书集合。
2,616
star
2

git-for-win

Git for Windows. 国内直接从官网下载比较困难,需要翻墙。这里提供一个国内的下载站,方便网友下载
2,316
star
3

netty-4-user-guide

Chinese translation of Netty 4.x User Guide. 中文翻译《Netty 4.x 用户指南》
2,312
star
4

netty-4-user-guide-demos

Netty demos. (Netty 案例大全)
Java
1,848
star
5

essential-netty-in-action

It is a book about the Essentials of Norman Maurer's Netty in Action.《Netty 实战(精髓)》是对 Norman Maurer 的 《Netty in Action》的一个精简
1,777
star
6

spring-framework-4-reference

Chinese translation of the Spring Framework 4.x Reference Documentation (https://docs.spring.io/spring/docs/4.3.13.RELEASE/spring-framework-reference/html/) .中文翻译《Spring Framework 4.x参考文档》
1,478
star
7

harmonyos-tutorial

HarmonyOS Tutorial. 《跟老卫学HarmonyOS开发》
1,008
star
8

github-help

Chinese translation of the Github Help(https://help.github.com/index.html) and the other article collection. 《Github 帮助文档》 中文翻译(包含了官方文档以及其他文章)。
840
star
9

java-virtual-machine-specification

Chinese translation of The Java® Virtual Machine Specification.《Java 虚拟机规范(第11版)》中文翻译及示例,Java SE 11 版
831
star
10

essential-java

Essential Java, is a book about the Essentials of Java Programming.《Java 编程要点》是一本 Java 的学习教程,主要介绍 Java 中应用广泛的部分,其中也包括了最新版本 Java 8 中的新特性,也算是个人对多年 Java 开发工作的总结。取其精华,图文并茂,并通过大量实例让你走近 Java 的世界!
607
star
11

rest-in-action

REST in Action 《REST 实战》。基于 Jersey 构建 RESTful 服务。
470
star
12

apache-shiro-1.2.x-reference

Chinese translation of the Apache Shiro Reference Manual(http://shiro.apache.org/reference) and the other article collection. You can also see the demos of the reference at (https://github.com/waylau/apache-shiro-1.2.x-reference-demos). 《Apache Shiro 参考手册》 中文翻译(包含了官方文档以及其他文章)
467
star
13

spring-security-tutorial

Spring Security Tutorial takes you to learn Spring Security step by step with a large number of samples. Spring Security Tutorial 是一本关于 Spring Security 学习的开源书。利用业余时间写了本书,图文并茂,用大量实例带你一步一步走进 Spring Security 的世界。
412
star
14

spring-boot-tutorial

Spring Boot Tutorial takes you to learn Spring Boot step by step with a large number of samples.Spring Boot Tutorial 是一本关于 Spring Boot 学习的开源书。用大量实例带你一步一步走进 Spring Boot 的世界。
412
star
15

Gradle-2-User-Guide

Gradle 2 User Guide 中文翻译《Gradle 2 用户指南》
407
star
16

vpngate-mirrors

Here are the newset VPN Gate web site’s mirrors .With the VPN Gate, you can get through your government's firewall to browse restricted websites.提供最新的访问 VPN Gate 镜像网站,通过使用 VPN 自由访问互联网(翻墙)!
386
star
17

distributed-java

Distributed Java.《分布式 Java》
349
star
18

mongodb-file-server

MongoDB File Server is a file server system based on MongoDB. 基于 MongoDB 的文件服务器。
Java
324
star
19

free-vpn

We Provide Newset Free VPN Service. PC, mobile phones and network appliances, no software installation. With the VPN Service,you can get through your government's firewall to browse restricted websites.提供最新的免费的 VPN 服务,通过使用 VPN 自由访问互联网(翻墙)!无论是PC端,移动端都无需安装客户端。
324
star
20

spring-5-book

Spring 5 Samples(Spring 5 案例大全/《Spring 5 开发大全》示例源码) covers Spring 5, Spring MVC, Spring WebFlux, Spring Boot and Spring Cloud.
304
star
21

spring-boot-enterprise-application-development

Spring Boot Enterprise Application Development.《Spring Boot 企业级应用开发实战》
279
star
22

Jersey-2.x-User-Guide

Jersey 2.x User Guide《Jersey 2.x 用户指南》 ,中文翻译
245
star
23

apache-mina-2.x-user-guide

Chinese translation of the Apache MINA User Guide (http://mina.apache.org/mina-project/userguide/user-guide-toc.html) .中文翻译《Apache MINA 2 用户指南》
219
star
24

jquery-easyui

jquery-easyui lib , update form http://www.jeasyui.com/, useful for git and bower . 给 git and bower 提供lib,与 easyui 官网保持同步
CSS
219
star
25

java-code-conventions

Chinese translation of the Code Conventions for the Java Programming Language document.中文翻译《Java 编码规范》
208
star
26

css3-tutorial

CSS3 Tutorial. 《CSS3 教程》
205
star
27

thymeleaf-tutorial

Thymeleaf Tutorial.
204
star
28

activiti-5.x-user-guide

Chinese translation of the Activiti 5.x User Guide(http://activiti.org/userguide/index.html) . 《Activiti 5.x 用户指南》 中文翻译。
195
star
29

gradle-3-user-guide

Gradle 3 User Guide 中文翻译《Gradle 3 用户指南》
179
star
30

spring-cloud-tutorial

Spring Cloud Tutorial.《Spring Cloud 教程》
178
star
31

RestDemo

RESTful Web Service Demos with Jersey ,Hibernate,Mysql,SQLserver,jQuery,AangularJS,Boostrap. (REST 案例大全)
JavaScript
169
star
32

servlet-3.1-specification

JSR 340: Java Servlet 3.1 Specification 《Java Servlet 3.1 规范》中文翻译及示例。
165
star
33

modern-java-demos

Modern Java: From Java 8 to Java 22. 现代Java案例大全/《Java核心编程》源码
124
star
34

spring-cloud-microservices-development

Spring Cloud Microservices Development.《Spring Cloud 微服务架构开发实战》
109
star
35

nodejs-book-samples

Node.js Samples. (Node.js 案例大全)《Node.js企业级应用开发实战》源码
102
star
36

vuejs-enterprise-application-development

Vue.js Enterprise Application Development. 《跟老卫学Vue.js开发》/《Vue.js 3企业级应用开发实战》源码
88
star
37

new-star-blog

NewStarBlog is an open source Java blog platform. NewStarBlog是国产开源Java博客平台。
JavaScript
82
star
38

nginx-tutorial

NGINX Tutorial.《NGINX 教程》
67
star
39

easyui-scaffold

Easyui-scaffold is a front-end development of scaffold, which based on the EasyUI(www.jeasyui.com) and jquery-easyui(https://github.com/waylau/jquery-easyui) . The rapid establishment of enterprise application model. 基于 EasyUI(www.jeasyui.com) 和 jquery-easyui(https://github.com/waylau/jquery-easyui) 前端开发脚手架。快速建立企业应用模型。
HTML
55
star
40

jdbc-specification

JDBC 4.2 Specification(JSR 221).《JDBC 4.2 规范》中文翻译。
47
star
41

Gradle-2-User-Guide-Demos

Demos of Gradle 2 User Guide 《Gradle 2 用户指南》中文翻译,文中用到的例子源码
Java
47
star
42

h2-database-doc

It is a book about the H2 Database Engine.《H2 Database 教程》
44
star
43

svg-china-map

基于d3.js的svg中国地图实例
42
star
44

goChat

Golang chat.This example application shows how to use WebSockets, the Go programming language and jQuery to create a simple web chat application. 这个示例应用程序展示了如何使用 WebSocket, Golang 和 jQuery 创建一个简单的 web 聊天应用程序。这个示例的文章介绍见《WebSocket 和 Golang 实现聊天功能》 。
Go
42
star
45

everything-in-eclipse

Everything is in Eclipse. As a Java Devloper, I consider Eclipse as my first IDE. Eclipse is more powerful than you think. So I collected the commonly used Eclipse plugins here.
40
star
46

angular-enterprise-application-development-samples

Angular Enterprise Application Development Samples. 《Angular企业级应用开发实战》源码
38
star
47

apache-shiro-1.2.x-reference-demos

Demos of Apache Shiro 1.2.x Reference《Apache Shiro 1.2.x 用户指南》中文翻译,文中用到的例子源码
Java
38
star
48

jekyll-bootstrap-blog

A theme for Jekyll to build a personal blog, , based on Bootstrap 3, Font Awesome and jQuery. Jekyll 博客主题,基于Bootstrap 3、Font Awesome和jQuery。
JavaScript
35
star
49

cordova-dev-guide

Apache Cordova Development Guide.《Apache Cordova 开发指南》,中文。
33
star
50

docker-demos

Demos of Docker usage.
32
star
51

angular-tutorial

Angular Tutorial.《跟老卫学Angular》
28
star
52

apache-mina-2-user-guide-demos

Demos of Apache MINA User Guide《Apache MINA 2 用户指南》中文翻译,文中用到的例子源码
Java
28
star
53

jsse-reference-guide

This is a Chinese translation of Java Secure Socket Extension (JSSE) Reference Guide, and also provides a lot of useful examples about JSSE. 本书是《JSSE 参考指南》的中文翻译,同时提供了大量 JSSE 实例
28
star
54

apache-isis-tutorial

Apache Isis Tutorial.《Apache Isis 教程》是一本关于 Apache Isis 应用学习的开源书。
24
star
55

Jersey-2.x-User-Guide-Demos

Demos of Jersey 2.x User Guide《Jersey 2.x 用户指南》中文翻译,文中用到的例子源码。
Java
21
star
56

apache-spark-tutorial

Apache Spark Tutorial.《跟老卫学Apache Spark》
20
star
57

apache-kafka-tutorial

跟老卫学Apache Kafka开发
19
star
58

harmonyos-exam

harmonyos-exam
17
star
59

waylau.github.io

waylau's blog 个人技术博客
HTML
16
star
60

cloud-native-book-demos

Cloud Native Samples. Cloud Native 案例大全/《Cloud Native 分布式架构原理与实践》示例源码
15
star
61

mean-book-samples

MEAN Samples. (MEAN架构应用示例)
14
star
62

ehcache-tutorial

Ehcache Tutorial.《跟老卫学Ehcache开发》
13
star
63

java-data-structures-and-algorithms-in-action

Java Data Structures and Algorithms In Action. Java数据结构和算法实战
Java
12
star
64

gradle-user-guide

Gradle User Guide 中文翻译《Gradle 用户指南》
12
star
65

java-ee-enterprise-development-samples

java-ee-enterprise-development-samples
12
star
66

lite-book-demos

《大型互联网应用轻量级架构实战》示例源码
11
star
67

gitbook

This is a simple template shows how to quickly start a [GitBook](https://www.gitbook.io) Welcome to vist my bolg at http://www.waylau.com
11
star
68

db2-tutorial

DB2 Tutorial 《DB2 教程》是一本关于 DB2 的开源书。
11
star
69

nowcoder-exam-oj

nowcoder-exam-oj 牛客题霸-在线编程 题库题解
Java
11
star
70

ionic-framework-tutorial

Ionic Framework Tutorial.《跟老卫学Ionic》
11
star
71

nwjs-demos

Demos of NW.js (http://nwjs.io) 《NW.js 入门指南》
HTML
9
star
72

go_for_java_programmers

《Go For Java Programmers》(面向Java开发者的GO编程) 中文翻译;让JAVA编程者快速掌握GO语言
HTML
9
star
73

lite

Lite is a lightweight Java Web framework, based on Spring, MyBatis and MySQL.
Java
7
star
74

java-trusted-coding-exam

Java Trusted Coding Exam. Java安可认证阶段考试——可信编码实现
7
star
75

html-css-demo

Useful html and css demos. 一些自己写的 html 和 css 相关的案例
CSS
7
star
76

second-hand-books

Second hand books.二手书集市——面向程序员的二手书市场。你的闲置,正是人家所需。让知识流动起来!
7
star
77

essential-javaee

Essential Java EE, is a book about the Essentials of Java Enterprise Edition Programming.《Java EE 编程要点》
6
star
78

webix-tutorial

Webix Tutorial 《Webix 教程》一本关于 Webix 学习的开源书。
6
star
79

AngulaJS-demos

Demos of AngularJS. It is very usefull for new users. AngularJS 项目实例,由浅入深。
JavaScript
6
star
80

ui-compressor

UI-Compressor ,a tool for compressing js and css files. 前端代码压缩工具
Java
6
star
81

lite-news-server

A news app server-side based on Lite framework.
Java
5
star
82

maven-demo

There are some demos show you how to build java project with maven.如何用Maven编译java项目实例
Java
5
star
83

poi-demos

poi-demos
Java
4
star
84

snmp4j-demos

snmp4j-demos
Java
4
star
85

spring-cloud-stream-tutorial

spring-cloud-stream-tutorial
4
star
86

lite-spring-boot-starter

lite-spring-boot-starter
Java
4
star
87

full-stack-development-with-vuejs-and-spring-boot

full-stack-development-with-vuejs-and-spring-boot
4
star
88

full-stack-development-with-vuejs-and-nodejs

https://github.com/waylau/full-stack-development-with-vuejs-and-nodejs
4
star
89

java-trusted-testing-exam

Java Trusted Testing Exam. Java安可认证阶段考试——开发者测试
3
star
90

jekyll-theme-blog

A theme for Jekyll to build a personal blog
CSS
3
star
91

opc-client

opc-client
Java
3
star
92

spring-framework-4-demos

spring-framework-4-demos
Java
3
star
93

java-high-concurrency-in-action

java-high-concurrency-in-action
3
star
94

h2-demos

Demos of H2 Database Engine. 有关 H2 数据库的示例
Java
3
star
95

distributed-system-tutorial-samples

3
star
96

lite-monitoring

Lite Monitoring is a fast and cross-platform open source monitoring solution for operating systems monitoring. It has the ability to collect system information, such as OS version, processes, memory & CPU usage, disks & partitions, devices, sensors, etc.
Java
3
star
97

modern-c-programming

Modern C Programming. 现代C语言编程实战
2
star
98

mytodo

The Demo shows how to build an AngularJS application `Mytodo` with Yeoman in Windows operation system dev environment.在Windows环境下用Yeoman构建AngularJS项目 `Mytodo`源码
JavaScript
2
star
99

lite-monitoring-ui

lite-monitoring-ui
TypeScript
2
star
100

d3js-demo

HTML5 demos with d3js.
2
star