How can RocketMQ of "springcloud 2021 series" quickly implement the micro service message mechanism

Introduction to RocketMQ For detailed explanation, you can view the following documents: rocketmq Basics RocketMQ It is an open source distributed messaging system, based on high availability distributed cluster technology, which provides low latency and highly reliable message publishing and subscription services. At the same time, it is wid ...

Posted by lauxanh on Tue, 15 Feb 2022 05:06:41 +0100

Python - play with data - Download Middleware of scratch

1, Explain Download Middleware is a hook framework for scripy's request / response processing. It is a lightweight low-level system used to globally change the request and response of scripy. It is often used to add agents, add cookie s, reissue requests after failure, and so on. 2, Activate Download Middleware To activate Download Middlewar ...

Posted by digitalflash on Fri, 11 Feb 2022 17:16:25 +0100

rabbitMQ learning advanced features and clusters

rabbitMQ learning (II) advanced features and clusters When we study middleware, it is often easy to get started (just be able to use API), but to achieve high availability and high performance of MQ, we still need to know some of its advanced features. Advanced features of rabbitMQ Ensure the reliability of MQ Students who have studied TCP ...

Posted by lc21 on Thu, 10 Feb 2022 04:17:06 +0100

Low cost timestamp acquisition

This article has been included https://github.com/lkxiaolou/lkxiaolou Welcome, star. preface In the previous article Design and implementation of Cobar SQL audit A question about the performance of timestamp acquisition is raised in Get the operating system time, and directly call system in Java currentTimeMillis(); It's OK, but in Cob ...

Posted by bryan52803 on Wed, 09 Feb 2022 17:50:21 +0100

GoFrame framework (RK boot): fast implementation of CSRF verification

introduceThis article describes how to pass rk-boot Implement the CSRF verification logic of the server.What is CSRF?Cross Site Request Forgery (English: Cross Site Request Forgery), also known as one click attack or session riding, usually abbreviated as CSRF or XSRF, is an attack method to coerce users to perform unintentional operations on t ...

Posted by Cailean on Mon, 07 Feb 2022 09:01:54 +0100

Learning notes - rabbitMq

MQ related concepts What is mq Message queue is literally a queue. First in, first out, only messages are stored. It is also a cross process communication mechanism for upstream and downstream message delivery. In the Internet architecture, mq is a common upstream and downstream "logical decoupling + physical decoupling" message ...

Posted by 3_Olives on Wed, 02 Feb 2022 15:19:13 +0100

Container network is not difficult

Container network is not difficult Using containers always feels like magic. Containers work well for those who understand the underlying principles, but they are a nightmare for those who don't. Fortunately, we have studied container technology for a long time, and even successfully revealed that the container is only an isolated and restrict ...

Posted by metrostars on Wed, 02 Feb 2022 00:29:23 +0100

python_ Download middleware of crawler 21 Scrapy framework

catalogue Downloader Middleware 1, process_request(self, request, spider) 2, process_response(self, request, response, spider) 3, Random request header Middleware setting.py  middlewares.py httpbin.py 4, ip proxy pool Middleware 1. Purchasing agent 2. Using ip proxy pool 3. Exclusive agent pool   Downloader Middleware Downloader ...

Posted by Tjorriemorrie on Tue, 01 Feb 2022 09:16:35 +0100

20 minutes to familiarize you with Redisson distributed lock design scheme

preface    if you find it useful, remember to give the blogger a praise, comment and collection. It's not easy to write with one button.    and it's said that people who praise won't have too bad luck every day. If it's really white whoring, you're welcome to come often!!! 20 minutes to familiarize you with Redisson ...

Posted by lunac on Tue, 01 Feb 2022 03:50:25 +0100

spring data connection pool optimization

Use jedis2 There may be a problem with the small partners of the connection pool of 9.1. After the program runs with high concurrency for a period of time, the error message of Could not get a resource from the pool will appear, and the idle connection idelPool in the redistemplate connection factory viewed after stopping the interface call is ...

Posted by Copyright on Sat, 29 Jan 2022 07:27:41 +0100