IK分词器

IK分词器介绍

默认ES中采用标准分词器进行分词,这种方式并不适用于中文网站,因此需要修改ES对中文友好分词,从而达到更佳的搜索的效果。

阅读更多

ElasticSearch中的高级检索

ES官方提供了两中检索方式:一种是通过 URL 参数进行搜索,另一种是通过 DSL(Domain Specified Language) 进行搜索官方更推荐使用第二种方式第二种方式是基于传递JSON作为请求体(request body)格式与ES进行交互,这种方式更强大,更简洁

阅读更多

Kibana的安装与基本操作

介绍

Kibana是一个针对Elasticsearch的开源分析及可视化平台,使用Kibana可以查询、查看并与存储在ES索引的数据进行交互操作,使用Kibana能执行高级的数据分析,并能以图表、表格和地图的形式查看数据。

阅读更多

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.

阅读更多