ElasticSearch介绍

什么是RestFul

REST : 表现层状态转化(Representational State Transfer),如果一个架构符合REST原则,就称它为 RESTful 架构风格。

资源: 所谓”资源”,就是网络上的一个实体,或者说是网络上的一个具体信息

表现层 :我们把”资源”具体呈现出来的形式,叫做它的”表现层”(Representation)。

状态转化(State Transfer):如果客户端想要操作服务器,必须通过某种手段,让服务器端发生”状态转 化”(State Transfer)。而这种转化是建立在表现层之上的,所以就是”表现层状态转化”。

REST原则就是指一个URL代表一个唯一资源,并且通过HTTP协议里面四个动词:GET、POST、PUT、DELETE对应四种服务器端的基本操作: GET用来获取资源,POST用来添加资源(也可以用于更新资源),PUT用来更新资源,DELETE用来删除资源。

阅读更多

Sentinel流量卫兵的使用

什么是Sentinel

官方:

https://spring-cloud-alibaba-group.github.io/github-pages/hoxton/en-us/index.html#_introduction_of_sentinel

https://github.com/alibaba/Sentinel/wiki/%E4%BB%8B%E7%BB%8D

As microservices become popular, the stability of service calls is becoming increasingly important. Sentinel takes “flow” as the breakthrough point, and works on multiple fields including flow control, circuit breaking and load protection to protect service reliability. —[摘自官网]

阅读更多

系统拓扑图涉及到的skywalking接口说明

接口列表

序号 接口地址 接口说明
1 /apm/topo/global_topology 获取拓扑图
2 /apm/service/info 获取可用性、CPM、平均访问时间
3 /apm/topo/topology_client_metric 获取客户端延迟、cpmC
4 /apm/topo/topology_server_metric 获取服务端延迟、cpmS
5 /apm/topo/topo_client_info 获取client端的数据
6 /apm/topo/topo_server_info 获取server端的数据
阅读更多

Nacos使用

什么是Nacos

官方:https://nacos.io/zh-cn/index.html

英文缩写:Name Configurations 表示注册中心和配置中心

Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。

阅读更多

Spring Cloud Alibaba介绍及环境搭建

简介

官方:https://spring.io/projects/spring-cloud-alibaba

Spring Cloud Alibaba provides a one-stop solution for distributed application development. It contains all the components required to develop distributed applications, making it easy for you to develop your applications using Spring Cloud.

With Spring Cloud Alibaba, you only need to add some annotations and a small amount of configurations to connect Spring Cloud applications to the distributed solutions of Alibaba, and build a distributed application system with Alibaba middleware.

阅读更多

Bus组件的使用

什么是Bus

官方:https://spring.io/projects/spring-cloud-bus

Spring Cloud Bus links nodes of a distributed system with a lightweight message broker. This can then be used to broadcast state changes (e.g. configuration changes) or other management instructions. AMQP and Kafka broker implementations are included with the project. Alternatively, any Spring Cloud Stream binder found on the classpath will work out of the box as a transport. –摘自官网

阅读更多

Config组件使用

什么是Config

介绍

官方:https://spring.io/projects/spring-cloud-config

简要描述:config(配置)又称为 统一配置中心顾名思义,就是将配置统一管理,配置统一管理的好处是在日后大规模集群部署服务应用时相同的服务配置一致,日后再修改配置只需要统一修改全部同步,不需要一个一个服务手动维护。

阅读更多