随笔分类 -  spring boot/spring cloud笔记

上一页 1 2 3
netflix feign概述
摘要:1.什么是feign?feign的作用是什么? Feign is a java to http client binder inspired by Retrofit, JAXRS-2.0, and WebSocket. Feign's first goal was reducing the comp 阅读全文
posted @ 2017-02-27 13:17 一天不进步,就是退步 阅读(4292) 评论(0) 推荐(0)
spring-cloud导入eclipse时,@slf4j注解为什么找不到log变量
摘要:原因是缺少插件Lomboz。 Lomboz是一个基于LGPL的开源J2EE综合开发环境的Eclipse插件,对编码,发布,测试,以及debug等各个软件开发的生命周期提供支持,支持JSP,EJB等。Lomboz是Eclipse的一个J2EE的插件,它将很多Java应用服务器、J2EE组件和Web应用 阅读全文
posted @ 2017-02-23 19:51 一天不进步,就是退步 阅读(1926) 评论(0) 推荐(0)
netflix turbine概述
摘要:1.turbine是什么?它的作用是什么? Turbine is a tool for aggregating streams of Server-Sent Event (SSE) JSON data into a single stream. The targeted use case is me 阅读全文
posted @ 2017-02-23 16:56 一天不进步,就是退步 阅读(1412) 评论(0) 推荐(0)
How Hystrix Works?--官方
摘要:https://github.com/Netflix/Hystrix/wiki/How-it-Works Contents Flow Chart The following diagram shows what happens when you make a request to a service 阅读全文
posted @ 2017-02-23 14:40 一天不进步,就是退步 阅读(1956) 评论(0) 推荐(0)
netflix ribbon概述
摘要:LB方案分类 目前主流的LB方案可分成两类:一种是集中式LB, 即在服务的消费方和提供方之间使用独立的LB设施(可以是硬件,如F5, 也可以是软件,如nginx), 由该设施负责把访问请求通过某种策略转发至服务的提供方;另一种是进程内LB,将LB逻辑集成到消费方,消费方从服务注册中心获知有哪些地址可 阅读全文
posted @ 2017-02-23 14:06 一天不进步,就是退步 阅读(3143) 评论(0) 推荐(1)
spring-cloud-netflix集成的服务
摘要:1.Ribbon Ribbon is a client side IPC library that is battle-tested in cloud. It provides the following features Load balancing Fault tolerance Multipl 阅读全文
posted @ 2017-02-22 17:55 一天不进步,就是退步 阅读(760) 评论(0) 推荐(0)
netflix zuul 1.x与zuul2.x之比较
摘要:1.zuul 1.x的架构如下所示: 线程模型: 其web应用的web.xml 从上面可以看出,启动时有三个主类: 1.1. StartServer 1.2. ZuulServlet 1.3. ContextLifecycleFilter 2. zuul2的线程模型 其应用的web.xml文件 2. 阅读全文
posted @ 2017-02-20 19:28 一天不进步,就是退步 阅读(11411) 评论(0) 推荐(0)
Announcing Zuul: Edge Service in the Cloud--转
摘要:原文地址:http://techblog.netflix.com/2013/06/announcing-zuul-edge-service-in-cloud.html The Netflix streaming application is a complex array of intertwine 阅读全文
posted @ 2017-02-17 18:06 一天不进步,就是退步 阅读(599) 评论(0) 推荐(0)
基于Spring Boot和Spring Cloud实现微服务架构学习--转
摘要:原文地址:http://blog.csdn.net/enweitech/article/details/52582918 看了几周spring相关框架的书籍和官方demo,是时候开始总结下这中间的学习感悟。 首先,最想说的是,当你要学习一套最新的技术时,官网的英文文档是学习的最佳渠道。因为网上流传的 阅读全文
posted @ 2017-02-17 10:25 一天不进步,就是退步 阅读(28606) 评论(2) 推荐(4)
Zuul 2 : The Netflix Journey to Asynchronous, Non-Blocking Systems--转
摘要:原文地址:http://techblog.netflix.com/2016/09/zuul-2-netflix-journey-to-asynchronous.html We recently made a major architectural change to Zuul, our cloud 阅读全文
posted @ 2017-02-17 09:47 一天不进步,就是退步 阅读(586) 评论(0) 推荐(0)
Spring Cloud Netflix Eureka client源码分析
摘要:1.client端 EurekaClient提供三个功能: EurekaClient API contracts are:* - provide the ability to get InstanceInfo(s) (in various different ways)* - provide the 阅读全文
posted @ 2017-02-07 14:25 一天不进步,就是退步 阅读(4887) 评论(0) 推荐(0)
spring cloud config配置中心源码分析之注解@EnableConfigServer
摘要:spring cloud config的主函数是ConfigServerApplication,其定义如下: 其中 @Configuration是spring定义的注解,使用注解,配置信息的载体由 XML 文件转移到了 Java 类中。 @EnableAutoConfiguration是spring 阅读全文
posted @ 2017-01-20 14:45 一天不进步,就是退步 阅读(13208) 评论(0) 推荐(0)
常见的开源日志(包括分布式)
摘要:Logging Libraries that log the behavior of an application. Apache Log4j 2 - Complete rewrite with a powerful plugin and configuration architecture. Gr 阅读全文
posted @ 2016-12-23 17:06 一天不进步,就是退步 阅读(401) 评论(0) 推荐(0)
使用 Spring Boot 快速构建 Spring 框架应用--转
摘要:原文地址:https://www.ibm.com/developerworks/cn/java/j-lo-spring-boot/ Spring 框架对于很多 Java 开发人员来说都不陌生。自从 2002 年发布以来,Spring 框架已经成为企业应用开发领域非常流行的基础框架。有大量的企业应用基 阅读全文
posted @ 2016-10-26 17:21 一天不进步,就是退步 阅读(429) 评论(0) 推荐(0)
spring boot源码分析之SpringApplication
摘要:spring boot提供了sample程序,学习spring boot之前先跑一个最简单的示例: 可以发现在主方法main里启动了一个SpringApplication,启动方法是run方法。 SpringApplication用来从java main方法启动一个spring应用,默认的启动步骤如 阅读全文
posted @ 2016-09-12 09:05 一天不进步,就是退步 阅读(28731) 评论(0) 推荐(3)
Key Components and Internals of Spring Boot Framework--转
摘要:原文地址:http://www.journaldev.com/7989/key-components-and-internals-of-spring-boot-framework In my previous post “Introduction to Spring Boot”, we have d 阅读全文
posted @ 2016-06-08 09:43 一天不进步,就是退步 阅读(443) 评论(0) 推荐(0)
How Spring Boot Autoconfiguration Magic Works--转
摘要:原文地址:https://dzone.com/articles/how-springboot-autoconfiguration-magic-works In my previous post "Why Spring Boot?", we looked at how to create a Spri 阅读全文
posted @ 2016-06-06 15:30 一天不进步,就是退步 阅读(882) 评论(0) 推荐(0)

上一页 1 2 3