SpringCloudAlibaba+Nacos integrates the Gateway gateway to realize the use of Http timeout, cross domain, metadata and global exception configuration
1. Gateway overview
The so-called API gateway refers to the unified entrance of the system. It encapsulates the internal structure of the application and provides unified services for the client. Some public logic independent of the function of the business itself can be realized here, such as authentication, authentication, monitoring, ro ...
Added by worldofcarp on Sat, 26 Feb 2022 04:07:05 +0200
Basic single sign on in distributed environment
Knowledge premise
Have a certain understanding of distributed scenariosTo understand the network domain name, you need to know that different URLs of primary or top-level domain names cannot share cookie s
Environment construction
Here, we create three spring boot projects, all with dynamic template thymeleaf, which is convenient for us to t ...
Added by reecec on Fri, 25 Feb 2022 11:17:16 +0200
SpringBoot+Dubbo+Zookeeper implements a simple distributed architecture
preface
What is a distributed system? The emergence of distributed system is to complete the calculation that can not be completed by a single computer in a more cost-effective way and more ordinary machines. Four stages of architecture evolution Single application architecture Deploy all functions together to reduce deployment nodes and c ...
Added by Jak-S on Thu, 24 Feb 2022 17:03:34 +0200
Kafka's online deployment scheme for Kafka production optimization
1. Operating system
Deploy on Linux
I/O modelData network transmission efficiency
1.1 I/O model level
The I/O model is the method by which the operating system executes IO instructions.
There are five types
Blocking IONon blocking IOIO multiplexingSignal driven IOAsynchronous IO
We can simply think that the latter model is more efficient ...
Added by PHPycho on Wed, 23 Feb 2022 14:09:46 +0200
Microservice series: a guide to building distributed log ELK
From the service gateway: Microservices series: introduction to Spring Cloud Gateway I've always learned about distributed transactions: Microservices series: distributed transaction Spring Cloud Alibaba's Seata practical chapter Today, we are finally going to end our micro service series. Not surprisingly, distributed logging will be the last ...
Added by knelson on Wed, 23 Feb 2022 03:24:48 +0200
The ultimate solution of data synchronization: Alibaba's open source Canal framework
Write in front
In today's Internet industry, especially in the current distributed and micro service development environment, in order to improve search efficiency and search accuracy, a large number of NoSQL databases such as Redis and Memcached will be used, as well as a large number of full-text retrieval services such as Solr and Elasti ...
Added by php_novice2007 on Tue, 22 Feb 2022 16:12:45 +0200
Kafka zookeeper efak message queue cluster
zookeeper
introduce
zookeeper: provide coordination service for distributed framework, file system + notification mechanism
Working mechanism The distributed service management framework designed based on the observer mode is responsible for storing and managing the data everyone cares about, and then accepting the registration of observers ...
Added by nwoeddie23 on Tue, 22 Feb 2022 04:14:21 +0200
Installation and configuration of zookeeper cluster
As long as more than half of the nodes in the zookeeper cluster are normal, the whole cluster is available to the outside world. Based on this feature, it is more appropriate to set the number of nodes of ZK cluster to an odd number (2n+1: such as 3, 5 and 7 nodes).
Server 1: 192.168.1.81 port: 2181, 2881, 3881 Server 2: 192.168.1.82 port: 218 ...
Added by lookielookies on Sun, 20 Feb 2022 06:46:03 +0200
linux LVS cluster load balancing | working mode | scheduling algorithm | super detail
1, Meaning of cluster
Cluster, cluster It is composed of multiple hosts, but externally, it is only shown as a whole. It only provides an access portal (domain name or IP), which is equivalent to a mainframe computer.
1. Why do clusters exist In Internet applications, as the site has higher and higher requirements for hardware per ...
Added by ijmccoy on Sat, 19 Feb 2022 21:36:38 +0200
Kafka installation and deployment
Big data related knowledge points
1. Introduction to Kafka
Kafka is a high-throughput distributed publish and subscribe message system. It can process all action flow data in consumer scale websites. It has the ability of high performance, persistence, multi copy backup and horizontal expansion
Distributed system, easy to expand outward;At t ...
Added by kjelle392 on Sat, 19 Feb 2022 19:08:24 +0200