Detailed explanation of ElasticSearch distributed search engine

1. ElasticSearch overview The Elastic Stack, including elasticsearch, Kibana Beats and Logstash (also known as ELK Stack). It can safely and reliably obtain data from any source and any format, and then search, analyze and visualize the data in real time. Elasticsearch, abbreviated as ES, is an open-source and highly extended distributed full- ...

Added by railanc4309 on Sat, 25 Dec 2021 01:29:38 +0200

2, Sub database and sub table_ Middleware sharding JDBC User Guide

1, ShardingSphere introduction Official address: https://shardingsphere.apache.org/index_zh.html 1.1 description on the official website Positioned as a lightweight Java framework, additional services are provided in the JDBC layer of Java. It uses the client to directly connect to the database and provides services in the form of jar packag ...

Added by gabereiser on Thu, 23 Dec 2021 01:38:11 +0200

ROS source code learning XIII. Message queue

2021SC@SDUSC 1, Write in front This source code study focuses on analyzing the message queue mechanism of ROS. As a middleware, message queue can play the role of application decoupling, asynchronous message transmission and traffic peak shaving. The message queue in ROS is also based on this idea in order to optimize some data transmission p ...

Added by Bunkermaster on Mon, 20 Dec 2021 17:26:20 +0200

CAS operation based on Redis

introduction Yes NET, we can use interlocked Compareexchange to implement CAS (Compare And Swap) operation. In the distributed scenario, we often use redis. Recently, a wechat game project before the change was run on a single machine. Some data storage is based on memory and directly based on object operation. Recently, redis is introduced to ...

Added by cfemocha on Sat, 18 Dec 2021 20:07:00 +0200

Establishment and use of sentinel mode of redis high availability cluster

1, Briefly talk about the redis sentinel sentinel mode 1. Make the redis cluster more robust and highly available. Compared with redis cluster, it can automatically failover and automatically transform the master 2. Its workflow is that Sentinel will constantly check whether your master server and slave server are operating normally. If there ...

Added by jamesmage on Wed, 15 Dec 2021 16:57:54 +0200

SylixOS software development - porting WEB Services

This time, we need to port a web service in SylixOS and support standard cgi. So I collected a very small web service - tinyhttpd on the Internet. How small is the web service of this single C file? The source c file is only 16kb. There are a total of more than a dozen functions to realize the http service. It is the best starting program to le ...

Added by leetee on Tue, 14 Dec 2021 21:21:41 +0200

Docker installing Rocket MQ

1. Overall structure Before installing RocketMQ, let's first understand the deployment architecture and components of RocketMQ, and then install RocketMQ based on the current mainstream Docker. We install a single RocketMQ here. However, in order to prevent single node failure and ensure high availability, it is recommended to install RocketMQ ...

Added by mariaak83 on Sat, 11 Dec 2021 08:17:56 +0200

Rocket Message Queue installation and application (summary)

Message: information carrier            Queue: data structure, first in first out   Several application mechanisms of message queuing: 1. Asynchronous communication The communication mode of message queue is similar to that of distributed service call, but asynchronous communication ...

Added by sparrrow on Tue, 07 Dec 2021 15:54:03 +0200

Hand in hand to teach you to write an RPC framework

preface I've been reading the source code of dubbo recently, so I refer to this book as an aid (this Yiji always makes me see Jiyi, um, Jiyi crazy warrior): dubbo has 300000 lines of code in version 3.0. Just looking at the code of a core function is killing people. In order to strengthen understanding, I think it is a very good way to impl ...

Added by Elhcay on Wed, 24 Nov 2021 03:18:24 +0200

[Elasticsearch] learning notes -p6 (RestClient query document)

RestClient query document Video directions 👉 Station B dark horse micro service Super recommended!! 1. Quick start We use match_ Take all query as an example: 1.1 initiate query request There are three steps: Create a SearchRequest object and specify the index library nameUse request.source() to build DSL, which can include query, ...

Added by andrewmay67 on Fri, 19 Nov 2021 13:59:07 +0200