自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (16)
  • 收藏
  • 关注

转载 Java8中@Contended和伪共享

@Contended和伪共享原文:http://jingege.me/2016/05/31/sharing-false-and-contented/原文: http://robsjava.blogspot.com/2014/03/what-is-false-sharing.htmlJava8引入了@Contented这个新的注解来减少伪共享(False Sharing)的发

2017-09-22 16:47:48 9774

原创 ZooKeeper笔记

ZooKeeper是一个非常可靠,强一致性,没有单点故障的分布式数据存储系统。分布式系统的共性需求1. 集群的中心化配置管理功能2. 简单可靠的集群节点动态发现机制3. 简单可靠的节点Leader选举机制4. 分布式锁ZooKeeper 数据结构是一个目录树,节点被称为ZNode,每个ZNode可以通过唯一路径 Path 标识。API:1. 对Z

2017-09-22 14:37:43 528

原创 《分布式服务架构原理设计与实战》第8章敏捷开发笔记

DevOps思想: 解决开发和运维之间的鸿沟,增添个开发和运维的沟通和交流。关键点:全局观,自动化精益管理原则1. 消除浪费2. 增强学习3. 延迟决策4. 快速交付5. 团队授权6. 内置完整性7. 考虑全局DevOps: 文化观念的改变+自动化工具=不断适应快速变化的市场核心价值:1. 更快速地交付,响应市场的变化2. 更

2017-09-21 14:09:00 263

原创 《分布式服务架构原理设计与实战》第5章调用链笔记

基于调用链的服务治理系统的设计与实现APM:应用性能管理每一个节点都是一个Span,HTTP协议头添加唯一TraceID,以及调用层次和顺序的SpanID和ParentSpanID。出现故障时,通过TraceID把一整条调用链的所有调用信息收集到一个集合,通过SpanID和ParentSpanID回复调用树。调用链结构1. 采集器。从业务系统采集远程服务调用

2017-09-20 16:47:23 572

原创 《分布式服务架构原理设计与实战》第4章日志系统笔记

ELK = Elasticsearch + Logstash + Kibana日志通用架构和设计日志采集器(Logstash,Fluentd) -> 缓冲队列(Kafka,Redis,RabbitMQ) -> 日志解析器(Logstash,Fluentd) -> 存储结点(Elasticsearch,Solr) ->日志展示系统(Kibana)

2017-09-20 10:34:15 443

原创 《分布式服务架构原理设计与实战》第3章系统容量评估性能保障笔记

核心非功能质量指标1. 高性能2. 可用性。持续可用性,宕机时间,出错回复,可靠性3. 可伸缩性。垂直伸缩,水平伸缩4. 可扩展性。可插拔,组件重用5. 安全性。数据安全,加密,熔断,防攻击非功能质量需求具体指标1. 应用服务器。负载均衡,高可用模型,I/O模型,线程池2. 数据库。复制,失效转移,容灾,归档,读写分离,分库分表,静态数据缓存,开了缓存穿透压垮数

2017-09-19 15:30:44 990

原创 《分布式服务架构原理设计与实战》第2章分布式系统一致性的问题笔记

一致性解决一致性问题的思路酸碱平衡理论1. ACID2. CAP。单节点=CA,P是出现网络分区。3. BASE。BA=基本可用,S=软状态(状态可以在一段时间内不同步),E=最终一致性4. 总结。向上扩展,水平扩展(数据库分片,相关数据分到同一片上保证一致性),最终一致性。分布式一致性协议分布式事务处理模型DTS包括4角色:应用程序,事务管理器,资源管

2017-09-19 14:10:09 516 1

原创 《分布式服务架构原理设计与实战》第一章分布式微服务架构设计原理笔记

J2EE三层 Web层, 业务逻辑层, 数据存取层。对应职能团队分为UI交互研发团推,后端服务研发团队,DBA团队。应用服务器提供对象关系映射服务,数据持久服务,事物服务,安全服务和消息服务等。SOA特点:1. 良好的对外接口,通过网络协议对外提供服务。服务之间松耦合。2. 单个服务发生改变,不影响整个流程。只要接口不变,对外是透明的。3. 通信格式XML,后来被JSO

2017-09-18 15:31:16 1964

原创 Thrift 非阻塞异步I/O例子

Thrift支持多路复用I/O通信模型。需要客户端和服务端同时采用异步I/O模型。HelloService.thriftnamespace java thriftservice HelloService { string sayHello(1:string name)}服务器端代码:import org.apache.thrift.TProces

2017-09-14 14:31:11 1720

原创 Thrift 入门例子

pom.xml org.apache.thrift libthrift 0.10.0下载Thrift compiler for Windows (thrift-0.10.0.exe) : http://thrift.apache.org/download新建文件Thrift 服务描述文件 HelloService.thrift namespace java

2017-09-07 14:49:41 198

原创 微服务的主要好处

【笔记】一个微服务应该足够小,专注与一件事情。一个微服务就是一个独立的实体,服务会暴露API,服务之间通过这些API通信。这些服务彼此之间独立,可以独立修改,不会对其他服务产生影响。主要好处1.. 技术异构型。可以在不同的服务中使用最适合该服务的技术栈。例如不同的服务可以采用不同的数据库存储技术。尝试新技术风险较小。2. 弹性。一个服务发生故障,不会导致

2017-09-06 15:12:05 1992

The Full Stack Developer Your Essential Guide to the Everyday Skills...

“The Full Stack Developer Your Essential Guide to the Everyday Skills Expected of a Modern Full Stack Web Developer” Excerpt From: Chris Northwood. “The Full Stack Developer.” iBooks.

2019-01-21

Kafka Streams in Action (Manning, 2017, MEAP Edition)

MEAP Edition, Manning Early Access Program, Kafka Streams in Action, Version 4  PART 1: GETTING STARTED WITH KAFKA STREAMS PART 2: KAFKA STREAMS DEVELOPMENT PART 3: ADMINISTERING KAFKA STREAMS PART 4: ADVANCED CONCEPTS WITH KAFKA STREAMS

2017-09-30

Java NIO 中英文版+Pro Java 7 NIO.2

包含三本关于 Java NIO的书, Java NIO (中文版).pdf Java NIO (英文版).pdf Pro Java 7 NIO.2.pdf 。。。。。。。。。。。

2017-09-22

Angular权威教程中文高清完整版(2017.04)

Angular权威教程中文高清完整版,非扫描。 人民邮电出版社,2017.4 内 容 提 要 本书堪称Angular 领域的里程碑式著作,涵盖了关于Angular 的几乎所有内容。对于没有经验的人,本书平实、通俗的讲解,递进、严密的组织,可以让人毫无压力地登堂入室,迅速领悟新一代Web 应用开发的精髓。如果你有相关经验,那本书对Angular 概念和技术细节的全面剖析,以及引人入胜、切中肯綮的讲解,将帮助你彻底掌握这个框架,在自己职业技术修炼之路上更进一步。本书的读者对象为所有想要理解和学习Angular 的前端开发人员。

2017-09-19

Selenium Testing Tools Cookbook第二版英文版

Selenium Testing Tools Cookbook Second Edition Over 90 recipes to help you build and run automated tests for your web applications with Selenium WebDriver.

2017-09-15

Mastering Selenium WebDriver [2015]

Mastering Selenium WebDriver Increase the performance, capability, and reliability of your automated checks by mastering Selenium WebDriver. Copyright © 2015 Packt Publishing

2017-09-15

Angular4权威教程 (ng-book.2.Angular.4.r60.2017.4)

angular4权威教程英文版 ng-book The Complete Book on Angular 4 The in-depth, complete, and up-to-date book on Angular 4. Become an Angular 4 expert today.

2017-09-15

Apress.Pro.RESTful.APIs.Design.Build.and.Integrate (2017)

Apress.Pro.RESTful.APIs.Design.Build.and.Integrate.with.REST.JSON.XML.and.JAX-RS.148422664X.pdf (2017)

2017-09-11

2017年系统分析师真题

2017年系统分析师真题,包括 1. 2017年上半年系统分析师上午真题及答案解析.pdf 2. 2017年上半年系统分析师考试真题(案例分析).pdf 3. 2017年上半年系统分析师考试真题(论文).pdf

2017-09-05

Spring_ Microservices in Action 英文版

Summary Spring Microservices in Action teaches you how to build microservice-based applications using Java and the Spring platform. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Microservices break up your code into small, distributed, and independent services that require careful forethought and design. Fortunately, Spring Boot and Spring Cloud simplify your microservice applications, just as the Spring Framework simplifies enterprise Java development. Spring Boot removes the boilerplate code involved with writing a REST-based service. Spring Cloud provides a suite of tools for the discovery, routing, and deployment of microservices to the enterprise and the cloud. About the Book Spring Microservices in Action teaches you how to build microservice-based applications using Java and the Spring platform. You'll learn to do microservice design as you build and deploy your first Spring Cloud application. Throughout the book, carefully selected real-life examples expose microservice-based patterns for configuring, routing, scaling, and deploying your services. You'll see how Spring's intuitive tooling can help augment and refactor existing applications with micro services. What's Inside Core microservice design principles Managing configuration with Spring Cloud Config Client-side resiliency with Spring, Hystrix, and Ribbon Intelligent routing using Netflix Zuul Deploying Spring Cloud applications About the Reader This book is written for developers with Java and Spring experience. About the Author John Carnell is a senior cloud engineer with twenty years of experience in Java. Table of contents Welcome to the cloud, Spring Building microservices with Spring Boot Controlling your configuration with Spring Cloud configuration server On service discovery When bad things happen: client resiliency patterns with Spring Cloud and Netflix Hystrix Service routing with Spring Cloud and Zuul Securing your microservices Event-driven architecture with Spring Cloud Stream Distributed tracing with Spring Cloud Sleuth and Zipkin Deploying your microservices

2017-09-04

历年系统架构设计师考试试题分类精解(综合知识篇)

历年系统架构设计师考试试题分类精解(综合知识篇)

2017-08-28

Git教程 中文版

Git教程,中文教程

2017-08-21

Pragmatic 101 Design Ingredients to Solve Big Tech Problems 2013 pdf

Pragmatic 101 Design Ingredients to Solve Big Tech Problems 2013 pdf

2013-10-17

rails-best-practices-091024015011-phpapp01.pdf

Rails Best Practices

2010-12-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除