Tag:vote

  • Distributed open source coordination service – Zookeeper

    Time:2022-9-9

    Table of contents 1. Overview of ZooKeeper 2. ZooKeeper data model 1) ZooKeeper data model Znode 1. Reference method 2. Znode structure 3. Node type 4. Observation 2) Time in ZooKeeper 1、Zxid 2. Version number 3) ZooKeeper node properties 3. ZooKeeper Architecture 4. Observer in ZooKeeper [ZooKeeper Scalability] Five, ZooKeeper principle 1) Recovery Mode 2) […]

  • crudapi add, delete, modify and check interface zero-code product success case Golden Tea King voting system

    Time:2022-8-23

    crudapi add, delete, modify and check interface zero-code product success case Golden Tea King voting system Introduction In 2020, due to the epidemic, the Golden Tea King voting activity will be changed to online cloud voting, so a voting system is required for the competition. There are two types of contestants, namely restaurants and chefs. […]

  • A must-see for newbies! How Rust Beginners Write Gear Smart Contracts (1)

    Time:2022-8-8

    For the prerequisite knowledge of Gear contract, you can first understand this article:Gear contract revealed. This article will mainly explain how to use Rust to create a simple decentralized application on the Gear blockchain network. Let's take a voting application as an example to study the Gear smart contract infrastructure and learn how to use […]

  • Voting group sorting of articles – “redis actual battle”

    Time:2022-8-3

    The basic command is skipped. For details of the command, please refer to the official website of redis.io or the official website of redis in Chinese Overview of redis: Redis is an open source (BSD licensed) in memory data structure storage system, which can be used as database, cache and message middleware. It supports many […]

  • Redis – article voting

    Time:2022-7-7

    Refer to “redis practice” demand 1. The article information includes: title, content, link, publishing time, publisher, and vote for yourself after publishing.2. One person can only vote for one article.3. Articles can only be voted for seven days.4. The article voting ranking takes into account the release time and the number of votes, and takes […]

  • Es remove from multi node to single node

    Time:2022-6-3

    1. set replica to 0 xxx/_settings {“index”:{“number_of_replicas”:”0″}}   2. disable nodes (after running, wait for all nodes to migrate to a single node) http://192.168.0.1/_cluster/settings {“transient”:{“cluster.routing.allocation.exclude._ip”:”192.168.0.69,192.168.0.13″}} 3. configure the voting filter node. If more than half of the removed nodes need this operation, if not more than half of the nodes need this operation, it can […]

  • [tree technology headline] Monday, April 11, 2022

    Time:2022-5-20

    Conflux community dynamics1. [network status] conflux network computing power ≈ 1.5T, token transfer TPS ≈ 1012, 327K transactions yesterday, 266.142k new accounts and 13 new contracts yesterday.2. [POS parameter] POS has 79M positions, 127 nodes, 18.3% annual interest rate (theoretical calculation), and 1.29M cumulative interest.3. [official activities] founders @ Wu Ming and @ Chris held […]

  • [tree technology headline] Tuesday, April 12, 2022

    Time:2022-5-17

    Conflux community dynamics1. [network status] conflux network computing power ≈ 1.5T, token transfer TPS ≈ 1234, 327K transactions yesterday, 253.401k new accounts and 17 new contracts yesterday.2. [POS parameter] POS has a total position lock of 80m, a total number of nodes of 128, an annual interest rate of 18.3% (theoretical calculation), and a cumulative […]

  • [tree technology headline] Wednesday, April 13, 2022

    Time:2022-5-9

    Conflux community dynamics1. [network status] conflux network computing power ≈ 1.5T, token transfer TPS ≈ 1003, 312k transactions yesterday, 236.283k new accounts and 3 new contracts yesterday.2. [POS parameter] POS has 80m total positions, 130 nodes, 18.3% annual interest rate (theoretical calculation), and 1.36M cumulative interest.3. [Dao vote] conflux dao# 12’s fourth vote on the […]

  • [tree technology headline] Friday, April 15, 2022

    Time:2022-5-1

    Conflux community dynamics1. [network status] conflux network computing power ≈ 1.6T, token transfer TPS ≈ 159, 124k transactions yesterday, 214.546k new accounts and 36 new contracts yesterday.2. [POS parameter] POS has 78m positions, 135 nodes, 18.5% annual interest rate (theoretical calculation), and 1.41M cumulative interest.3. [Dao vote] conflux dao# 12’s fourth vote on the use […]

  • [mongodb] mongodb replication set principle

    Time:2022-4-15

    Introduction to replication sets The mongodb replica set consists of a group of mongod instances (processes), including a primary node and multiple secondary nodes. All data of the mongodb driver (client) is written to the primary node, and the data written from the primary node is synchronized by the secondary node, so as to keep […]

  • Algorithm (2) – Boyer Moore voting algorithm and its generalization

    Time:2022-4-8

    Boyer Moore voting algorithm and its generalization Moore voting algorithm can also be called majority voting algorithm. It is the algorithm I saw when I saw the title of leetcode 169 (major element). This article explains the principle and advantages of Moore voting algorithm from leetcode 169 (major element), and explains the improvement and promotion […]