Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ailidani/paxi
/ types & classes
Types & classes
177 in github.com/ailidani/paxi
⨍
Functions
575
◇
Types & classes
177
↓ 23 callers
TypeAlias
ID
ID represents a generic identifier in format of Zone.Node
id.go:11
↓ 7 callers
TypeAlias
Key
Key type of the key-value database TODO key should be general too
db.go:12
↓ 5 callers
TypeAlias
Value
Value type of key-value database
db.go:15
↓ 2 callers
TypeAlias
IDs
id.go:57
↓ 2 callers
TypeAlias
byTime
sort operations by invocation time
operation.go:30
↓ 1 callers
TypeAlias
Ballot
Ballot is ballot number type combines 32 bits of natual number and 32 bits of node id into uint64
ballot.go:12
↓ 1 callers
TypeAlias
severity
log/log.go:15
Struct
A
codec_test.go:9
Struct
Accept
paxos_group/msg.go:27
Struct
Accept
epaxos/msg.go:44
Struct
Accept
Accept phase 2a
m2paxos/msg.go:45
Struct
Accept
chain/msg.go:15
Struct
Accept
Accept phase 2a
kpaxos/msg.go:45
Struct
Accept
Accept phase 2a
wpaxos/msg.go:45
Struct
AcceptReply
epaxos/msg.go:52
Struct
Accepted
paxos_group/msg.go:32
Struct
Accepted
Accepted phase 2b
m2paxos/msg.go:55
Struct
Accepted
Accepted phase 2b
kpaxos/msg.go:55
Struct
Accepted
Accepted phase 2b
wpaxos/msg.go:55
Struct
Ack
chain/msg.go:26
Struct
Ack
Ack from follower to leader
wankeeper/msg.go:61
Interface
AdminClient
AdminClient interface provides fault injection opeartion
client.go:26
Struct
B
codec_test.go:15
Struct
Bconfig
Bconfig holds all benchmark configuration
benchmark.go:21
Struct
Benchmark
Benchmark is benchmarking tool that generates workload and collects operation history and latency
benchmark.go:74
Struct
Block
Block contains some amount of data in blockchain
blockchain/block.go:21
Struct
CAccept
sdpaxos/msg.go:19
Struct
CAck
sdpaxos/msg.go:30
Struct
CCommit
sdpaxos/msg.go:40
Struct
CMap
CMap is concurrent map with generic key and value as interface{}
lib/cmap.go:6
Struct
CSet
CSet is concurrent set with generic data as interface{}
lib/cset.go:6
Interface
Client
Client interface provides get and put for key value store
client.go:20
Struct
Client
Client overwrites read operation for Paxos
paxos/client.go:11
Struct
Client
chain/client.go:9
Interface
Codec
Codec interface provide methods for serialization and deserialization combines json and gob encoder decoder interface
codec.go:13
Struct
Command
Command of key-value database
db.go:18
Struct
CommandBallot
CommandBallot conbines each command with its ballot number
paxos/msg.go:28
Struct
Commit
paxos_group/msg.go:37
Struct
Commit
epaxos/msg.go:58
Struct
Commit
Commit phase 3
m2paxos/msg.go:65
Struct
Commit
Commit phase 3
wankeeper/msg.go:73
Struct
Commit
Commit phase 3
kpaxos/msg.go:65
Struct
Commit
Commit phase 3
wpaxos/msg.go:65
Struct
Config
Config contains every system configuration
config.go:14
Interface
DB
DB is general interface implemented by client to call client library
benchmark.go:13
Interface
Database
Database defines a database interface TODO replace with more general StateMachine interface
db.go:53
Struct
FakeDB
benchmark_test.go:10
Struct
Get
Get message
abd/msg.go:17
Struct
GetReply
GetReply message returns value and version
abd/msg.go:24
Struct
Graph
lib/graph.go:5
Struct
HTTPClient
HTTPClient inplements Client interface with REST API
client.go:34
Struct
HashRing
HashRing implements a hash ring like Chord using md5
lib/hash_ring.go:10
Struct
History
History client operation history mapped by key
history.go:17
Struct
Info
Info is reply message for both query and Move message Info announce new ballot number
vpaxos/msg.go:94
Struct
LeaderChange
LeaderChange switch leader
m2paxos/msg.go:75
Struct
LeaderChange
LeaderChange switch leader
kpaxos/msg.go:75
Struct
LeaderChange
LeaderChange switch leader
wpaxos/msg.go:75
Struct
Limiter
Limiter limits operation rate when used with Wait function
rate.go:9
Struct
MMap
lib/mmap.go:5
Struct
MSG
socket_test.go:16
Struct
Miner
Miner is the maintainer of blockchain
blockchain/miner.go:12
Struct
Move
Move message suggest master to move an object
vpaxos/msg.go:105
Struct
NewBallot
************************** * Intra-Cluster Messages * **************************/ NewBallot message starts a new leader election
wankeeper/msg.go:26
Struct
NewLeader
NewLeader message actives leader
wankeeper/msg.go:41
Interface
Node
Node is the primary access point for every replica it includes networking, state machine and RESTful API server
node.go:13
Struct
OAccept
sdpaxos/msg.go:51
Struct
OAck
sdpaxos/msg.go:63
Struct
OCommit
sdpaxos/msg.go:75
Struct
P1a
P1a prepare message
paxos/msg.go:19
Struct
P1a
********************** * Paxos Messages * **********************/
vpaxos/msg.go:25
Struct
P1a
P1a prepare message
hpaxos/msg.go:19
Struct
P1b
P1b promise message
paxos/msg.go:38
Struct
P1b
vpaxos/msg.go:34
Struct
P1b
P1b promise message
hpaxos/msg.go:29
Struct
P2a
P2a accept message
paxos/msg.go:49
Struct
P2a
P2a accept message
vpaxos/msg.go:46
Struct
P2a
P2a accept message
hpaxos/msg.go:41
Struct
P2b
P2b accepted message
paxos/msg.go:60
Struct
P2b
P2b accepted message
vpaxos/msg.go:57
Struct
P2b
P2b accepted message
hpaxos/msg.go:52
Struct
P3
P3 commit message
paxos/msg.go:71
Struct
P3
P3 commit message
vpaxos/msg.go:68
Struct
P3
P3 commit message
hpaxos/msg.go:63
Struct
Paxos
Paxos instance
paxos/paxos.go:21
Struct
Paxos
Paxos instance
hpaxos/paxos.go:22
Interface
Policy
Policy defines a trigger for data access patterns, that can be used in data migration protocols
policy.go:11
Struct
PreAccept
epaxos/msg.go:18
Struct
PreAcceptReply
epaxos/msg.go:31
Struct
Prepare
paxos_group/msg.go:17
Struct
Prepare
************************** * Inter-Replica Messages * **************************/ Prepare phase 1a
m2paxos/msg.go:25
Struct
Prepare
************************** * Inter-Replica Messages * **************************/ Prepare phase 1a
kpaxos/msg.go:25
Struct
Prepare
************************** * Inter-Replica Messages * **************************/ Prepare phase 1a
wpaxos/msg.go:25
Struct
Promise
paxos_group/msg.go:22
Struct
Promise
Promise phase 1b
m2paxos/msg.go:35
Struct
Promise
Promise phase 1b
kpaxos/msg.go:35
Struct
Promise
Promise phase 1b
wpaxos/msg.go:35
Struct
Proposal
Proposal from leader to followers
wankeeper/msg.go:50
Struct
Query
*********************** * Master Messages * ***********************/ Query message request the current info on key from master
vpaxos/msg.go:83
Struct
Queue
lib/queue.go:3
Struct
Quorum
Quorum records each acknowledgement and check for different types of quorum satisfied
quorum.go:4
next →
1–100 of 177, ranked by callers