Tag:Master-slave

  • Redis learning notes (XII) copy (I)

    Time:2021-9-4

    I’m lazy. I’m too busy at night. I haven’t finished the content of the whole replication function. Let’s talk about the simple application of the replication function first. In redis, users can execute the slaveof command or set the slaveof option to let one server replicate another server. We call the replicated server the master, […]

  • Full analysis of redis master-slave replication

    Time:2021-9-3

    How does redis master-slave replication work? Do you know how to synchronize data while maintaining high performance? https://redis.io/topics/replicationNote that the following is based on the latest version of redis 5,slaveNouns and configuration items have been officially changed toreplicaIn fact, it is a thing that refers to the slave node. Basic process of master-slave replication # […]

  • Docker builds mongodb master-slave structure

    Time:2021-9-1

    The purpose of this paper is to learn from mongodb, build a master-slave replica set with docker, and ensure that it can be successfully connected to the structure through golang driver on the host computer.It has the following directory structure: . ├── config │   └── config.sh └── docker-compose.yml amongdocker-compose.ymlThe contents of the document are as […]

  • Sqlserver2012 AlwaysOn error

    Time:2021-8-25

    Sqlserver 2012 AlwaysOn reported an error: Database Mirroring login attempt failed with error: ‘Connection handshake failed. The certificate used by the peer is invalid due to the following reason: Certificate not found. State 89.’. [CLIENT: 192.168.1.133] View the current in the master-slave nodeMobile GamesEndpoint: select * from master.sys.database_mirroring_endpoints Delete the current master-slave endpoint: USE [master] […]

  • Linux common instructions

    Time:2021-8-24

    After the database installation fails, enter the command Yum clear allNginx commandStart: start nginxRestart: nginx – s reload###Check whether the JDK is effective Command: Java – version 1. Common commands Ifconfig / IP addr check IP address PWD check current position Tab key is automatically supplemented (pay attention to uniqueness) CD command is the most […]

  • [Mr. Zhao Qiang] MySQL high availability architecture: MHA

    Time:2021-8-21

    MHA (Master HA) is an open source MySQL high availability program. It provides the automatic master failover function for MySQL master-slave replication architecture. When MHA monitors a master node failure, it will promote the slave node with the latest data to become a new master node. During this period, MHA will avoid consistency problems by […]

  • [redis we used in those years] it was so simple to build a redis cluster

    Time:2021-8-17

    The IDS service cluster mode can be divided into master-slave, sentinel and cluster modes. This blog mainly introduces the master-slave and cluster modes Introduction to three cluster modes Master-slave mode: master-slave mode is the simplest of the three modes. Generally, there is onemasterServices and multiple (at least one)slaveService composition. It mainly realizes read-write separation and […]

  • Silver Valentine’s day, tcallusdb database to celebrate the festival with you!

    Time:2021-8-14

    Roman Roland said that love is the flame of life; Tagore said that love is a full life, just like a glass full of wine. Love warms the body and mind and resists the cold. It is a light for a person to explore in the dark. Because of love, so happy; Because of being […]

  • Silver Valentine’s day, celebrate the festival with the easy-to-use tcallusdb database!

    Time:2021-8-10

    Roman Roland said that love is the flame of life; Tagore said that love is a full life, just like a glass full of wine. Love warms the body and mind and resists the cold. It is a light for a person to explore in the dark. Because of love, so happy; Because of being […]

  • Database optimization, database high availability (HA) and MYCAT agent

    Time:2021-8-10

    Database optimization 1、 Database synchronization 1. Database cold backupStore the database files manually and regularlyDisadvantages: (1) low efficiency (2) Possible loss of data Reason: database cold backup is the last effective means for the company to recover data 2. Database hot backup Backup principle:(1) When the database is modified, the modified information will be imported […]

  • Follow the perspective of gang Jing to understand the master-slave replication of redis

    Time:2021-7-29

    Iron dogs who don’t want to play the guitar well are not good program apes Although the redis performance of a single machine is very good and has a complete persistence mechanism, what if your business volume is really large and exceeds the upper limit that a single machine can carry? What if redis hangs […]

  • Notes on master-slave replication of MySQL 8 in docker

    Time:2021-7-27

    In the actual development process, I have never had the actual combat experience of master-slave replication, but whenever I look for a job, I have to start building rockets. As a PHPer, I’m really in pain. None of the companies experienced has done business, let alone a large number of users. As an amateur webmaster, […]