Detailed design of scheduled tasks

Detailed design of scheduled tasks Timing task is implemented by QuartZ, and QuartZ document reference https://www.w3cschool.cn/quartz_doc/ QuartZ configuration Create a new QuartZ data table in the database. The corresponding SQL table is in the QuartZ.sql file in the current directory Add the quartz.properties file, which provides the relate ...

Posted by Johnm on Tue, 21 Apr 2020 16:40:36 +0200

Install MongoDB replica set under Centos

Simulate the installation of a replica set of MongoDB under a Centos Prepare three profiles: mongod.conf bind_ip=0.0.0.0 port = 27017 dbpath = /usr/local/mongo/data/ logpath = /usr/local/mongo/log/mongod.log fork=true logappend=true replSet=myMongoSet mongod2.conf bind_ip=0.0.0.0 port = 27018 dbpath = /usr/local/mongo/data2/ logpath = /usr/loc ...

Posted by rusty1001 on Mon, 20 Apr 2020 19:11:48 +0200

Analysis of quicklist source code of Redis

Analysis of quicklist source code of Redis 1, Introduction to quicklist Redis list is a simple list of strings, sorted by insertion order. You can add an element to the head (left) or tail (right) of the list. A list can contain up to 232 - 1 elements (4294967295, more than 4 billion elements per list). The internal data structure that its unde ...

Posted by furma on Sun, 19 Apr 2020 15:12:17 +0200

ziplist source code analysis of Redis

ziplist source code analysis of Redis 1, ziplist introduction From the previous analysis, we know that ziplist (compressed list) is used for the underlying storage of quicklist. Since the compressed list itself has many contents, we reopened this article. Before the official source code, we should first look at the characteristics of ziplist: ...

Posted by gazolinia on Sun, 19 Apr 2020 14:58:37 +0200

Developing a simple personnel management system with Python 3 + Django 3

1. Creating Django projects with pycharms Remember to install mysqlclient (1) Database configuration We found the DATABASES configuration item in the settings.py file of the project, and changed its information to: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Or use mysql.connector.django 'NAME': 'u ...

Posted by PHP_TRY_HARD on Sat, 18 Apr 2020 19:42:09 +0200

redis basic learning

redis basic learning   redis Redis is an open source (BSD licensed) in memory data structure storage system, which can be used as database, cache and message middleware yum install redis 1.yum installation #The premise is to configure alicloud yum source and epel source #Check whether there is redis package yum list redis ...

Posted by Zeon on Sun, 12 Apr 2020 14:52:24 +0200

MySQL master-slave replication (operation and maintenance technology exchange group: 926402931, welcome to exchange together.)

Catalog 1. Environmental planning 2. binlog is enabled for all Mysql to ensure that the server IDs of all MySQL are different 3. The master database authorizes the master-slave replication user 4. The main database makes the database data fully available, and then pushes the backup file to the slave database 5. Restore backup files from the d ...

Posted by dwees on Fri, 10 Apr 2020 16:56:28 +0200

Mongodb Installation Required Read System Optimization

Mongodb released two available service versions: Community and Enterprise The Monodb we use is a community versionOfficial Recommendation:For the best installation experience, MongoDB provides packages for popular Linux distributions.These packages are the preferred way to run MongoDB. 1. linux platform support Install on Red Hat Supports the ...

Posted by comtek on Thu, 09 Apr 2020 23:24:20 +0200

Analysis of distributed heartbeat detection module of DBLE

Author: Lu Lu Those who love technology and are willing to share are mainly engaged in the research of database related technology. Source: original contribution *Aikesheng is produced by the open source community. The original content cannot be used without authorization. Please contact the editor for reprint and indicate the source. Summ ...

Posted by SystemOverload on Wed, 08 Apr 2020 11:24:57 +0200

mongoDB mongoDB cluster

mongoDB cluster introduce Solve data fragmentation and prevent data lossProduction environment needs to be deployed by scraping shards + replica sets Component route: provide entry, do not store data configserver: stores metadata information. It is recommended to use replica set shardserver: data storage service, store real data, maybe use re ...

Posted by phpjaco on Wed, 08 Apr 2020 10:17:52 +0200