The features of dubbo are different from those of spring cloud
Dubbo supports the service provision mode of short connection and large amount of data, but in most cases, it uses the mode of long connection and small amount of data to provide services. Therefore, Dubbo is indeed an option that can be considered for products with many synchronous call scenarios like e-commerce and can support the cost of bui ...
Added by dearsina on Fri, 04 Feb 2022 10:41:46 +0200
Microservice 5: service registration and discovery (practice)
★ micro service series
Microservices 1: microservices and its evolution history
Microservice 2: microservice panoramic architecture
Microservice 3: microservice splitting strategy
Microservice 4: service registration and discovery
Microservice 5: service registration and discovery (practice)
1 service registry
Previously, we introduced several ...
Added by evanluke on Sat, 29 Jan 2022 08:28:17 +0200
[K8S series] 7-K8s actual combat - play Network
Network
Access between Docker containers
The same network segment can communicate through docker0 network card
6.1 container communication in the same Pod - pause container
Next, let's talk about the content related to Kubernetes network communication
We all know that the smallest operation unit of K8S is Pod. First, think about ...
Added by tony_c on Fri, 28 Jan 2022 09:45:48 +0200
Since ancient times, JSON serialization has been a battleground for strategists
Using ioutil Readall reads a large Response Body. The problem of reading the Body timeout occurs.
Predecessors lead the way
Stackoverflow morganbaz's view is:
Use iotil Readall is very inefficient to read the large Response Body in go language; In addition, if the Response Body is large enough, there is a risk of memory leakage.
data,err:= iot ...
Added by sargus on Thu, 27 Jan 2022 05:30:49 +0200
Apache Pulsar: Pulsar message mechanism
Message mechanismPulsar adopts the pub sub design pattern. In this design pattern, the producer publishes messages to topic, and the Consumer subscribes to topic, processes the published messages, and sends a confirmation after processing.Once a subscription is created, Pulsar can still save all messages even if the consumer is disconnected. Th ...
Added by DjSiXpAcK14 on Thu, 20 Jan 2022 11:00:10 +0200
How to quickly schedule the millions of concurrent capabilities of PTS
Author: Ling ranIn the actual business scenario, pressure testing is an essential part. Whether it is the evaluation of performance bottlenecks such as servers, databases and networks, the business continuity guarantee of important traffic nodes such as browsing, ordering and payment, or the estimation of the overall business stability of the c ...
Added by miro_igov on Wed, 19 Jan 2022 17:37:25 +0200
Prometheus monitoring practice series 20: monitoring Kubernetes clusters (Part 2)
This article continues from the previous article. In this article, we will explain how Prometheus uses the service discovery function based on Kubernetes to retrieve target information and monitor it.
In terms of monitoring strategy, we will mix white box monitoring and black box monitoring to establish a comprehensive monitoring coverage incl ...
Added by gm04030276 on Thu, 13 Jan 2022 17:21:04 +0200
Zookeeper cluster and listener principle
1, Zookeeper cluster operation
Objective: deploy Zookeeper on Hadoop 101, Hadoop 102 and Hadoop 103 nodes.
1.1 decompression and installation
In Hadoop 101, unzip the Zookeeper installation package to the / usr/local / directory
decompression
[root@hadoop101 local]# tar -zxvf apache-zookeeper-3.6.3-bin.tar.gz
Delete compressed package
[roo ...
Added by dwu on Sat, 08 Jan 2022 13:23:42 +0200
[k8s] binary high availability installation k8s cluster
1 - Installation Instructions
This article will demonstrate that CentOS 7 installs highly available k8s 1.17 + in binary mode. Compared with other versions, the binary installation mode is not very different. You only need to distinguish the corresponding relationship of each component version.
In the production environment, it is recommended t ...
Added by RClapham on Sat, 08 Jan 2022 09:16:10 +0200
nameko pit avoidance note: avoid frequent instantiation of ClusterRpcProxy
See an article Use and precautions of nameko , there is a paragraph about initiating a remote callrpc is followed by the value of the class variable name in the microservice definition, that is, the microservice name, followed by the rpc method, using call_async is called asynchronously, and result is called_ async. result() will wait for the a ...
Added by lavender on Wed, 05 Jan 2022 15:42:16 +0200