Simple use of Level 1 and Level 2 caches in Mybatis Basic Learning

Preface: Hello, ladies and gentlemen, I'm running like a snail rz. Of course you can call me Snail Jun. I'm a beginner who has studied Java for more than half a year. At the same time, I have a great dream that I will become an excellent Java architect one day. This Mybatis Basic Learning series is used to record the whole process of ...

Posted by karlovac on Fri, 26 Nov 2021 16:46:32 -0800

Download and configuration tutorial of MySQL installation free version

Download and configuration tutorial of MySQL installation free version There is a previous version of this blog. If readers are still interested in the author's previous version of the blog, you can visit this link: https://blog.csdn.net/wangpaiblog/article/details/111938395 [description] This tutorial describes the download and conf ...

Posted by infratl on Fri, 26 Nov 2021 14:56:22 -0800

Configuring MySQL master-slave replication based on docker

Master slave replication working principle Master slave replication is a high availability and high performance solution provided by MySQL. The working principle is divided into the following three steps: 1. The master records the data changes in * * binlog * *. 2. The I/O thread from the slave saves the binary log read from the master lib ...

Posted by jay_bo on Fri, 26 Nov 2021 12:30:43 -0800

JavaIO stream learning notes 03

Do the last task, create a new file, put in the QR code and output: First, let's talk about how to make java generate QR codes. There are actually many open source tools here. I recommend using Zxing. First, let's explain how to use Zxing: First visit https://github.com/zxing , and download: After downloading, unzip it, as shown in the fo ...

Posted by robertaccettura on Fri, 26 Nov 2021 09:38:14 -0800

Tools | pg_recovery design principle and source code interpretation

Author: Zhang Lianzhuang, PostgreSQL R & D Engineer He has been engaged in the development of PostgreSQL database kernel for many years and has a very in-depth research on citus. In the last issue, we introduced the PostgreSQL data retrieval tool: pg_reconvery This article will take you to understand PG_ The implementation principle a ...

Posted by Ulysses Freeman on Fri, 26 Nov 2021 09:37:45 -0800

Tools | pg_recovery design principle and source code interpretation

Author: Zhang Lianzhuang, PostgreSQL R & D Engineer He has been engaged in the development of PostgreSQL database kernel for many years and has a very in-depth research on citus. In the last issue, we introduced the PostgreSQL data retrieval tool: pg_reconvery This article will take you to understand PG_ The implementation principle and de ...

Posted by rweston002 on Fri, 26 Nov 2021 02:28:59 -0800

return and job management of SaltStack

1. return of saltstack component The return component can be understood as the SaltStack system stores or returns the data returned by Minion to other programs. It supports a variety of storage methods, such as MySQL, MongoDB, Redis, Memcache, etc. through return, we can record each operation of SaltStack and provide a data source for futu ...

Posted by scottshane on Thu, 25 Nov 2021 22:00:55 -0800

MySQL lock mechanism pessimistic lock and optimistic lock

MySQL lock implementationPessimistic lockPessimistic Locking is always pessimistic. Every time you read data, you think others will modify it, so you lock it every time you read data. In this way, others will block the data they want to read until it obtains the lock (shared resources are only used by one thread at a time, blocked by other thre ...

Posted by yepster123 on Thu, 25 Nov 2021 18:48:16 -0800

On the use of gray routing in spring cloud

In microservices, for high availability, the same service is often deployed in cluster mode, that is, there are several same services at the same time, and the core of gray level is routing, which calls the target service line through our specific strategy 1 Introduction to gray routing Grayscale publishing (also known as Canary Publ ...

Posted by Lyleyboy on Thu, 25 Nov 2021 13:27:20 -0800

36 JDBC connection - database connection pool

##Database connection pool       The code logic in the previous section is equivalent to opening a restaurant, recruiting a waiter connection to connect to the database service when the guest comes, and firing the close when the guest leaves   So we should recruit a few employees. It's a great waste of resources   &n ...

Posted by tdeez173 on Thu, 25 Nov 2021 12:16:22 -0800