Tag:node

  • QJM of hadoop2 ha scheme

    Time:2021-1-21

    Like a person, can do anything for TA, get not accept but still willing to saddle up, waiting for the glimmer of hope. Yes, this is the spare tire, which is hung on the back of the car. It may not be used in a lifetime. In most cases, it will be hung there silently, […]

  • A simple and practical algorithm binary search

    Time:2021-1-21

    catalog Algorithm overview Application Algorithm principle Algorithm implementation (C #) Practical application: searching boundary value by dichotomy Reference article Algorithm overview Binary search(English: binary search), also known asHalf search(English: half interval search) is a kind ofFinding specific elements in an ordered arrayThe search algorithm of the algorithm. Therefore, the premise of binary search is that […]

  • Local use docker combine to build mongodb 3-node cluster [1 primary and 2 secondary, automatic switch between primary and standby, can be changed to real remote physical node]

    Time:2021-1-21

    Local use docker combine to build mongodb 3-node cluster [1 primary and 2 secondary, automatic switch between primary and standby, can be changed to real remote physical node] Support: access the cluster in another docker compose app Support: accessing cluster on host Transaction function needs cluster Separation of reading and writing, disaster recovery in different […]

  • Redis5 cluster related commands of redis service

    Time:2021-1-20

    The last blog mainly talked about the following redis.trib.rb This tool is used to manage the nodes in redis3 / 4 cluster. For a review, please refer tohttps://www.cnblogs.com/qiuhom-1874/p/13456915.htmlToday, let’s talk about the description of cluster related configuration commands on redis5; Creating clusters [[email protected] redis]# redis-cli -a admin –cluster create 192.168.0.41:6379 192.168.0.42:6379 192.168.0.43:6379 192.168.0.41:6380 192.168.0.42:6380 192.168.0.43:6380 […]

  • Linked list (template) class

    Time:2021-1-20

    The linked list class relies on the cmath header file, which is implemented by listnode and list ListNode.h: 1 /********************************************* 2 ListNode.h 3 list node (template) class listnode 4 T node data Node pointer before 5 pred Node pointer after 6 succ 7 listnode / listnode (T, t *, t *) construction Insert node before […]

  • Configuration system failed to initialize

    Time:2021-1-20

    Recently, users reported that some computer startup programs crashed, and also demonstrated a strange problem “Copy the software back to another directory and it will work.”.Also said that a period of time and can not run, you need to change the location. ’Because there was no global exception set at that time, it could only […]

  • Big country pride, domestic distributed scheduling system, you may know, but not in-depth

    Time:2021-1-20

    Write in front: Xiaobian advocates systematic learning. No matter what kind of technology is popular or not, it can form a whole set of knowledge system If you don’t believe me, you can see my recent article The first time I saw such a complete knowledge map of redis, the boss no longer had to […]

  • 3D “elastic” layout based on HTML5 webgl

    Time:2021-1-20

    Molecular force, also known as intermolecular force and van der Waals force, refers to the interaction between molecules. When the two molecules are far away from each other, they are mainly attractive. This kind of force mainly comes from the interaction caused by the polarization of one molecule by the rapidly changing electric dipole moment […]

  • Distributed coordinated synchronization

    Time:2021-1-19

    The essence is to make the programs distributed on different computers have “team spirit”, in other words, let the programs work together to achieve a business goal Distributed mutex For the same shared resource, a program does not want to be disturbed by other programs when it is in use. This requires that only one […]

  • Common registry in microservice architecture

    Time:2021-1-19

    Take a stock of the common onesRegistry The figure above basically shows the interaction process of the registry, reflecting the relationship among three roles Service provider (server) After the service is started, send it to the registry centerregisterAn example of myself Send to the registry center on a regular basisheartbeatProve that you can survive for […]

  • Overview of job management of dry goods time series database dolphin DB

    Time:2021-1-19

    Job is the most basic execution unit in dolphin dB, which can be simply understood as one execution of a piece of dolphin DB script code in dolphin DB system. Jobs can be divided into synchronous jobs and asynchronous jobs according to whether they are blocked or not. Synchronous job Synchronous jobs are also known […]

  • Learning notes of mongodb storage engine wireless tiger

    Time:2021-1-19

    Since mongodb version 3.2, wiredtiger has become mongdb’s default storage engine, which is used to store data persistently to hard disk files. Wiredtiger provides document level concurrency control, checkpoint, data compression, native encryption and other functions. characteristic 1. checkpoint At the beginning of checkpoint operation, wiredtiger provides a point in time snapshot of the database, […]