Principle and practice of three circuit breaker frameworks in distributed system

Principle and practice of three circuit breaker frameworks in distributed system E-commerce spring4lj project( https://gitee.com/gz-yami/mall4j ) java open source mall system With the popularity of microservices, fusing, as a very important technology, is also widely known. When the running quality of the microservice is lower than a certai ...

Added by khovorka on Sat, 19 Feb 2022 10:05:51 +0200

Stepping on the pit: a bloody case caused by timeout of dubbo asynchronous call

background The response time limit for new business requirements shall be controlled within 5s(md5 warehouse collision time limit of 1.2s, business flow time limit of 3.8s), which will directly lead to production accidents after online (Party A's father feedbacks that there are a lot of overtime). environment dubbo 2.6.0 problem analysis For ...

Added by Chesso on Sat, 19 Feb 2022 07:38:31 +0200

DistributedDataParallel:Expected tensor for argument 1 'input' to have the same device as tensor for

Record the bug s encountered in distributed training using pytorch's DistributedDataParallel for the first time: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight Background: single machine multi card parallel training using linux server, pytorch version 1.7, python 3.0 7,cuda101 After consulti ...

Added by cretam on Fri, 18 Feb 2022 23:22:40 +0200

SpringCloud learning notes (crazy God video notes)

SpringCloud (V) 6. Ribbon: load balancing (client based) 6.1 load balancing and Ribbon What is Ribbon? Spring Cloud Ribbon is a set of client-side load balancing tools based on Netflix Ribbon.In short, Ribbon is an open source project released by Netflix. Its main function is to provide software load balancing algorithms for clients and ...

Added by cnl83 on Fri, 18 Feb 2022 14:07:16 +0200

RocketMQ grayscale of full link grayscale

Introduction: This article will be based on the "how to obtain the same enterprise level full link grayscale capability in 20 minutes" introduced last time Based on the scenario in, this paper further introduces the full link gray scale of the message scenario.Author: Yi ZhanWe have described how to control the traffic of the full lin ...

Added by madhouse92 on Wed, 16 Feb 2022 04:28:52 +0200

Elasticsearch - distributed search engine 01 (index library, document, RestAPI, RestClient)

Note: please correct any mistakes. This blog is for learning reference only. Come on! 1, First acquaintance with electricsearch 1.1 INTRODUCTION   elasticsearch is a Lucene based search server. It provides a distributed multi-user full-text search engine based on RESTful web interface. Elasticsearch is developed in the Java lan ...

Added by Anas_M.M.F on Tue, 15 Feb 2022 17:56:54 +0200

[tutorial] shardingjdbc distributed sequence

The only problem caused by fragmentation When the data of a table is divided into multiple tables, the unique primary key of a single table cannot be controlled through the database, because it is necessary to ensure the uniqueness of the primary key id of the same table in multiple real tables. Note: 5 X version and 4 The X version is sli ...

Added by alex.saidani on Tue, 15 Feb 2022 16:10:09 +0200

zookeeper -- zk implementing distributed lock

Reasons for locking: Multitasking to grab a resourceMultitasking requires writing to resourcesMultitasking access to resources is mutually exclusive 1. What happens when you are multithreaded without using locks Define a generated order ID class, that is, a resource for multitasking public class OrderNumGenerator { //Global order id ...

Added by jason213123 on Tue, 15 Feb 2022 07:07:12 +0200

Message queue -- six working modes of RabbitMQ

Message queuing - six working modes of RabbitMQ: 1, Simple mode: 1. Simple mode: There are no switches in the simple mode broker, only queues. 2. Related concepts: ⚫ P: The producer is the program that sends the message ⚫ C: Consumer: the receiver of the message will always wait for the message to arrive ⚫ Queue: message queue, ...

Added by sheffrem on Tue, 15 Feb 2022 05:07:13 +0200

SpringBoot distributed, Dubbo, zookeeper

catalogue What is a distributed system? Dubbo document Single application architecture Vertical application architecture Distributed service architecture Flow computing architecture RPC Test environment construction Dubbo Dubbo environment construction Installing zookeeper under Window Install Dubbo admin under Windows SpringBoot + ...

Added by nielskg on Tue, 15 Feb 2022 04:31:06 +0200