中间件
文章平均质量分 75
弓长木子_J
Those times when you get up early and you work hard
Those times when you stay up late and you work hard.
Those times when you don't feel like working you're too tired
and you don't want to push youself. But you don it anyway.
That is actually the dream.
This's the dream.
展开
-
Zookeeper的学习理解
分布式服务早已盛行,也是我们日常必备的技能,我们常用的主要就是SpringCloud和Dubbo+Zookeeper两种分布式架构。这篇文章主要就讲述我在学习Zookeeper过程中的学习记录,以及一些理解。一、概念Zookeeper称为分布式协调服务。(1)做什么用的?解决的就是分布式协调问题。—服务治理用于解决分布式环境中多个进程之间的同步控制,让他们有序的访问某种临界资源。(2)微服务需要思考的几个问题?1.客户端如何访问这么多服务?2.服务之间如何通信?3.服务治理?怎样才能保证这原创 2021-03-21 15:07:35 · 236 阅读 · 1 评论 -
分布式搜索(elasticsearch)
一、初始elasticsearch1、了解ES(1)什么是elasticsearch? 一个开源的分布式搜索引擎,可以用来实现搜索、日志统计、分析、系统监控等功能。 (2)什么是elastic stack(ELK)? 是以elasticsearch为核心的技术栈,包括beats、Logstash、kibana、elasticsearch。beats、Logstash:数据收集kibana:图形展示elasticsearch:数据存储、搜索的核心功能(3)什么是Lucene? 是原创 2022-03-30 22:14:48 · 3362 阅读 · 0 评论 -
MQ(MessageQueue)的学习使用
一、MQ1、消息的通讯机制同步和异步的定义:(1)所谓同步,就是发起调用后,被调用者处理消息,必须等处理完才直接返回结果,没处理完之前是不返回的,调用者主动等待结果;(2)所谓异步,就是发起调用后,被调用者直接返回,但是并没有返回结果,等处理完消息后,通过状态、通知或者回调函数来通知调用者,调用者被动接收结果。2、同步通讯(1)优点:时效性较强,可以立即得到结果。(2)缺点:微服务间基于Feign的调用就属于同步方式,存在一些问题。1)耦合问题 业务增加导致代码迭代开发,复杂度增加,耦原创 2022-03-13 18:16:06 · 3947 阅读 · 0 评论 -
Elasticsearch基础操作
本文主要介绍Elasticsearch的基础操作(本文时基于kibana,也可以用postman去配置调用),用之前可以先在虚拟机上装配一下ES、kibana、以及IK分词器,配置的方式可以线上也可以线下,这篇文章就不介绍配置相关的,主要是记录常见的操作。原创 2024-05-17 17:53:40 · 478 阅读 · 0 评论