raft
aptos-core
raft | aptos-core | |
---|---|---|
4 | 19 | |
532 | 5,784 | |
6.2% | 0.9% | |
8.8 | 10.0 | |
17 days ago | 6 days ago | |
Go | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
raft
-
On Implementation of Distributed Protocols
etcd Raft — a library for maintaining replicated state machines (written in Go);
- Leader election library
-
Implementing a distributed key-value store on top of implementing Raft in Go
Have you seen this implementation? https://github.com/etcd-io/raft. I’ve used this as a starting point for our consensus with various services.
-
"In HPA, multiple pods may perform duplicate operations and cause data inconsistency?"
This is usual in parallel and distributed systems. For k8s, I recommend you either use Apache Zookeeper to coordinate “logical locks” for operations across pods or use the RAFT consensus protocol for scenarios where you need coordination amongst pods. For context, k8s itself uses the RAFT consensus protocol for etcd; see https://github.com/etcd-io/raft
aptos-core
-
On Implementation of Distributed Protocols
AptosBFT — a consensus component supporting state machine replication in the Aptos blockchain (written in Rust);
- Критерии жизнеспособности ноды
-
Aptos Rust SDK
aptos-sdk = { git = "https://github.com/aptos-labs/aptos-core", branch = "devnet" }
- Транзакции с использованием Typescript SDK
- Aptos Python SDK
- Обзор Aptos SDK
- Aptos Typescript SDK
- Руководство для интеграции систем
-
Руководство по созданию расширения кошелька
// import transaction build from aptos sdk: https://github.com/aptos-labs/aptos-core/tree/main/ecosystem/typescript/sdk import { BCS, TxnBuilderTypes } from 'aptos'; // Establish connection to the wallet const result = await (window as any).aptos.connect() // Check connection status of wallet const status = await (window as any).aptos.isConnected() // Gets the address of the account signed into the wallet const accountAddress = await (window as any).aptos.account() // Create a transaction const transaction = { arguments: [address, '717'], function: '0x1::coin::transfer', type: 'entry_function_payload', type_arguments: ['0x1::aptos_coin::AptosCoin'], }; // Send transaction to the extension to be signed and submitted to chain const response = await (window as any).aptos.signAndSubmitTransaction(transaction) // Send transaction to the extension to be signed and returns const signedTransaction = await (window as any).aptos.signTransaction(transaction) // Disconnect dApp from the wallet await (window as any).aptos.disconnect(transaction)
- Руководство по взаимодействию с блокчейном Aptos
What are some alternatives?
rqlite - The lightweight, distributed relational database built on SQLite.
move
etcd - Distributed reliable key-value store for the most critical data of a distributed system
aptos-ait2 - AIT2 genesis blob and waypoint
Atomix - A Kubernetes toolkit for building distributed applications using cloud native principles
bcs - Rust implementation of the Binary Canonical Serialization (BCS) format
dragonboat - A feature complete and high performance multi-group Raft library in Go.
SpacetimeDB - Multiplayer at the speed of light
etcd - Distributed reliable key-value store for the most critical data of a distributed system [Moved to: https://github.com/etcd-io/etcd]
ed25519 - Minimal ed25519 Haskell package, binding to the ref10 SUPERCOP implementation.
rawkv - Cloud-native distributed key-value database.
clockchain - A tool for benchmarking smart contract execution times across blockchains.