Reducing Redis Memory Occupancy

1. Advantages of reducing redis memory usage 1. Help reduce the time required to create and load snapshots 2. Improving the efficiency of loading and rewriting AOF files 3. Shorten the time required to synchronize from the server 4. Allowing redis to store more data without adding additional hardware 2. Short structure Redis provides a se ...

Added by breath18 on Tue, 16 Jul 2019 21:56:30 +0300

Kafka2.0 Consumer Coordinator Source

Consumer groups and consumers Consumer groups and consumers are one-to-many relationships. Consumers in the same consumer group can consume multiple zones and are exclusive. The partition allocation policy for consumers is defined by the interface PartitionAssignor, which has three built-in allocation policies, RangeAssignor, RoundRobinAssigno ...

Added by prozad on Tue, 16 Jul 2019 19:58:49 +0300

zabbix series notes for zabbix installation proxy

Background: Two vps on vt only provide ipv6. (because it's cheap). My zabbix server is in Tencent cloud. It doesn't have ipv6. So I can't monitor them. How about this? Think of a way... I have another vps to apply for ipv6. Because it's free. https://www.tunnelbroker.net This website can use ipv6 in the way of ipv4 channel. As long as you apply ...

Added by byronwells on Mon, 15 Jul 2019 21:47:18 +0300

MongoDB Original Life Order CURD

Learning excerpt from MongoDB Authoritative Guide Insert Use insert method This action document automatically generates a'_id'key >db.foo.insert({"bar" : "baz"}) Batch insert, using batchInsert function >db.foo.batchInsert([{ "_id" : 0 } , { "_id" : 1 } , { "_id" : 2 }]) The maximum message length currently acceptable to mongodb is 48MB, ...

Added by Skepsis on Mon, 15 Jul 2019 20:06:20 +0300

PHP Process for Processing WEB Requests

PHP, as the best programming voice in the world, is widely used in Web development.Because its grammar and C are similar, and it has a very smooth learning curve, more and more people are using PHP for the rapid development of Web products.Many development frameworks have emerged in the PHP world, such as Laravel, ThinkPHP, etc. However, no mat ...

Added by squimmy on Mon, 15 Jul 2019 19:40:35 +0300

Zabbix Monitoring System

Introduction to zabbix:zabbix is a fully open source tool that integrates features such as cacti and nagiosAnnex: SNMP (udp 161 UDP 162)Many network tools support this protocol, such as common routing switching, common OS.It can be managed as well as managed.There are roughly three versions of snmp protocol: V1 V2 V3The security of v1 and v2 is ...

Added by We Must Design on Mon, 15 Jul 2019 03:19:29 +0300

Laravel Routing Settings

Laravel Routing Overview of Routing Construction The construction methods are: Route::get,Route::post,Route::put,Route::patch,Route::delete,Route::options,Route::any,Route::match,Route::resource,Route::resources,Route::group Route::get('foo', function () { //Basic Mode }); Route::match(['get', 'post'], '/', function () { //Basic Mode ...

Added by cosmos33 on Sun, 14 Jul 2019 22:06:58 +0300

The Server of Network Communication in RocketMq

1. Broker Server Entry Firstly, RocketMq network communication adopts Netty communication. The server is mainly in Broker. Let's first look at Broker Startup class Obviously, the concrete logic is in the start method, and the following is to achieve: public void start() throws Exception { if (this.messageStore != null) { ...

Added by faswad on Sun, 14 Jul 2019 21:17:16 +0300

Front End Summary, Foundation Chapter, JS (IV) Asynchronous Request and Cross-domain Solutions

Front end summary series Front End Summary, Foundation Paper and CSS (1) Layout Front-end Summary, Foundation Chapter, CSS (2) Vision Front-end Summary, Foundation Chapter and CSS (3) Supplement Front End Summary, Foundation Chapter, JS (1) Prototype, Prototype Chain, Constructor and String Front End Summary, Foundation Chapter, JS (2) Deep Co ...

Added by prakash on Sun, 14 Jul 2019 01:44:14 +0300

SSL Connection in Mysql

SSL Connection in Mysql The following is from the network reference and self-test collation, did not find the relevant information. If there are any mistakes, please correct them. Current Mysql client versions are basically not able to support caching_sha2_password authentication. With Mysql 8.0, it is recommended to add parameters: defa ...

Added by greenhorn666 on Sat, 13 Jul 2019 23:55:20 +0300