Alibaba Nacos configuration center of Spring Cloud series

Introduction to Nacos       Nacos is an open source tool launched by Alibaba company, which is used to realize service discovery and Configuration management of distributed system. The English full name is Dynamic Naming and Configuration Service. Na is Naming/NameServer, i.e. registration center. co is Configuration, i.e. Configuration ce ...

Posted on Tue, 16 Jun 2020 03:16:20 -0400 by david_s0

What is data definition language (DDL) in MySQL series?

If you are just learning about MySQL, please read the following articles before you read this article. Some knowledge may be a little difficult for you to master, but please believe me, according to the learning process I provide, you can read it again and again, so that you won't know where to start wh ...

Posted on Tue, 16 Jun 2020 02:03:50 -0400 by rmelino

MHA high availability environment construction

Last article( https://blog.csdn.net/aofavx/article/details/106783795 )Mysql master-slave mode deployment process has been completed. Now use MHA to achieve high availability of database. Reference website: https://www.cnblogs.com/keerya/p/7883766.html 1. Software version and environment: System: CentO ...

Posted on Tue, 16 Jun 2020 00:35:54 -0400 by madox

Scenarios and methods of using distributed locks

Why use distributed lock --Distributed lock? Before discussing this issue, let's take a look at a business scenario: Inventory oversold System A is an e-commerce system. At present, it is A machine deployment. There is an interface for users to place orders in the system. However, before users place orders, they must check the inventory to ens ...

Posted on Mon, 15 Jun 2020 05:02:02 -0400 by Jeepsta

Python core object oriented

object-oriented Implementing Python's search engine A search engine consists of four parts: searcher, indexer, Retriever and user interface. Generally speaking, a searcher is a crawler. It can crawl a lot of content from various websites on the Internet and send it to an indexer. After the indexer ...

Posted on Mon, 15 Jun 2020 02:10:44 -0400 by jahwobbler

MyBatisPlus - getting started notes

MyBatisPlus MyBatisPlus quick get start Official website document address: https://baomidou.gitee.io/mybatis-plus-doc/#/install To use a third-party component: 1. Import corresponding dependencies 2. Study how dependencies are configured 3. How to write code 4. Improve the ability to expand techn ...

Posted on Sun, 14 Jun 2020 22:51:17 -0400 by nadman123

Statement and PreparedStatement batch processing

1. Why batch processing is needed If there is a large number of sql to be executed in the database, and if it is sent one by one, the efficiency is too low, so you can add a large number of sql to a batch, send it to the database at one time, and then open the batch for execution. 2. Implementation ...

Posted on Sun, 14 Jun 2020 22:21:44 -0400 by happyme

Learn Java design mode again: real battle sharing mode: provide activity and inventory information query scenarios based on Redis seckill

Author: little brother FuBlog: https://bugstack.cn Precipitation, sharing, growth, so that they and others can have a harvest! 😄 1, Foreword programmer 👨‍💻 What is the context? In many cases, most of the programming and development personnel only focus on the implementation of the function, as long as they have written this part of the req ...

Posted on Sun, 14 Jun 2020 22:21:04 -0400 by BPWheeler

Some useful SQL statements in MySQL

When writing SQL, we often flexibly use some skills of SQL statement writing, which can greatly simplify the program logic. Reduce the number of interaction between the program and the database, which is conducive to the high availability of the database. At the same time, it can also appear that your SQL is very good, so that colleagues can se ...

Posted on Sun, 14 Jun 2020 04:44:28 -0400 by Hagbard

Drawing summary of python matplotlib and networkx

1, matplotlib Matplotlib is the most widely used 2D graphic drawing library in Python. Learning the usage of Matplotlib well can help us show the state of various data more flexibly in statistical analysis. It can be used together with NumPy. 1. How to create import matplotlib.pyplot as plt import ...

Posted on Sun, 14 Jun 2020 02:22:51 -0400 by faraco