Cache is widely used in order to improve the speed of data access. Dubbo is no exception. It provides declarative caching to reduce the user's workload of caching.
1, Caching policy in Dubbo
lru deletes redundant cache based on the principle of least recent use, and keeps the hottest data cached.
threadlocal current thread cache, such as a pag ...
Posted on Mon, 30 Mar 2020 22:12:31 -0700 by whatsthis
docker run --add-host=ck2:172.17.0.3 --add-host=ck3:172.17.0.4 -d --name ck1 -h ck1 --ip 172.17.0.2 --ulimit nofile=262144:262144 -p 8124:8123 -p 9001:9000 yandex/clickhouse-server
docker run --add-host=ck1:172.17.0.2 --add-host=ck3:172.17.0.4 -d --name ck2 -h ck2 --ip 172.17.0.3 --ulimit nofile=262144:262144 -p 8125:8123 -p 900 ...
Posted on Mon, 30 Mar 2020 09:34:52 -0700 by The Wise One
Chapter 7 of spring cloud, upgrade, service registration and discovery Eureka, Zookeeper and Consule
1, Basic concepts
1. Service governance
In the traditional remote RPC remote call framework, it is very complex to manage the dependency between each service and service. So we need to use service governance to manage services and services
Posted on Fri, 27 Mar 2020 07:01:01 -0700 by threaders
Zookeeper is a middleware that provides a consistent and coordinated service for distributed applications. It mainly solves some consistency problems frequently encountered in distributed applications, such as unified naming service, state synchronization service, cluster management, management of distributed application configuration items, et ...
Posted on Thu, 26 Mar 2020 19:42:20 -0700 by kaumilpatel
The analysis of the interaction between the client and the server of zookeeper needs to be done from two aspects: the client and the server;
Client: it can be seen from the startup command in zkCli.cmd file that the access is: zookeeper main
public static void main(String args) thro ...
Posted on Mon, 16 Mar 2020 23:30:31 -0700 by bsarika
Dubbo's Provider and Consumer will create a registration center when they start. The registration center can choose zookeeper and Redis. Zookeeper is commonly used
In Dubbo, zkclient is used to operate the zookeeper server by default. It encapsulates the original customer list of zookeeper to a certain extent. When operating zookeeper, it is m ...
Posted on Mon, 16 Mar 2020 03:35:59 -0700 by Tezread
Guide promised you the second original article of Kafka series. In order to ensure that the content is updated in real time, I also sent related articles to Gihub! address : https://github.com/Snailclimb/springboot-kafka
Related reading: Introductory chapter! Great vernacular takes you to Kafka!
Precondition: your computer has Docker installed
Posted on Thu, 27 Feb 2020 22:35:49 -0800 by carlosx2
Building Eureka Cluster
The last time you mentioned using the Eureka registry for service providers registration and discovery in SpringCloud applications, it is also a "micro service" with limited usage space for a single application, so like zookeeper, it also needs to build a cluster (Cluster).
The principle of building an Eureka c ...
Posted on Wed, 26 Feb 2020 10:49:49 -0800 by nomadrw
Use the client of ZooKeeper to connect to the ZooKeeper cluster to view the node status in the current cluster:
./zkCli.sh -server 127.0.0.1:2181
Execute the following command to query the Znode node under the current root node:
It can be found that the current node zookeeper cluster currently has only "/ zookeeper" one Zno ...
Posted on Tue, 18 Feb 2020 04:29:22 -0800 by hoyo
Use Zookeeper as a registry
1. Start the zookeeper server
Zookeeper is a distributed coordination tool, which can realize service registration and discovery, registration center, message middleware, distributed configuration center, etc.
Posted on Sun, 16 Feb 2020 23:47:45 -0800 by Gokul