Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ailidani/paxi
/ functions
Functions
575 in github.com/ailidani/paxi
⨍
Functions
575
◇
Types & classes
177
↓ 1 callers
Function
NewStack
NewStack creates a new Stack
lib/stack.go:14
↓ 1 callers
Method
Next
Next generates the next block given some data
blockchain/block.go:32
↓ 1 callers
Method
Partition
(int, ...ID)
client.go:30
↓ 1 callers
Method
QuorumGet
QuorumGet concurrently read values from majority nodes
client.go:202
↓ 1 callers
Method
ReadFile
ReadFile reads csv log file and create operations in history
history.go:116
↓ 1 callers
Method
RemoveEdge
(from, to interface{})
lib/graph.go:63
↓ 1 callers
Function
Retry
Retry function f sleep time between attempts
util.go:32
↓ 1 callers
Method
Retry
(r Request)
node.go:18
↓ 1 callers
Function
RunClient
(t *testing.T, port string)
http_test.go:40
↓ 1 callers
Function
RunServer
(t *testing.T, port string)
http_test.go:13
↓ 1 callers
Function
Schedule
Schedule repeatedly call function with intervals
util.go:51
↓ 1 callers
Method
Scheme
()
transport.go:95
↓ 1 callers
Function
Setup
Setup setup log format and output file
log/log.go:114
↓ 1 callers
Method
Size
Size returns current ack size
quorum.go:43
↓ 1 callers
Method
Slice
()
lib/set.go:22
↓ 1 callers
Method
String
String is implemented to print the config
config.go:87
↓ 1 callers
Method
String
()
vpaxos/msg.go:74
↓ 1 callers
Method
String
()
wankeeper/msg.go:68
↓ 1 callers
Method
To
To returns all vertices that can reach to v
lib/graph.go:81
↓ 1 callers
Function
Warning
(v ...interface{})
log/log.go:152
↓ 1 callers
Method
bytes
()
blockchain/block.go:65
↓ 1 callers
Method
clear
()
checker.go:39
↓ 1 callers
Method
concurrent
(b operation)
operation.go:17
↓ 1 callers
Method
execute
()
epaxos/replica.go:356
↓ 1 callers
Method
forward
(r *paxi.Request)
wankeeper/leader.go:38
↓ 1 callers
Method
get
(key paxi.Key)
wankeeper/tokens.go:33
↓ 1 callers
Method
handle
handle receives messages from message channel and calls handle function using refection
node.go:104
↓ 1 callers
Method
handleCommit
(m Commit)
wankeeper/leader.go:147
↓ 1 callers
Method
handleMove
(v Move)
vpaxos/master.go:53
↓ 1 callers
Method
handleRequest
(m paxi.Request)
vpaxos/replica.go:63
↓ 1 callers
Method
handleRequest
(m paxi.Request)
vpaxos/paxos.go:48
↓ 1 callers
Method
hash
DHT
dynamo/replica.go:36
↓ 1 callers
Method
http
serve serves the http REST API request from clients
http.go:24
↓ 1 callers
Function
index
static paxos groups
paxos_group/replica.go:31
↓ 1 callers
Function
index
TODO replace this with a consistent hash ring
kpaxos/replica.go:32
↓ 1 callers
Method
lead
(r *paxi.Request)
wankeeper/master.go:24
↓ 1 callers
Method
match
match finds the first matching write operation to the given read operation
checker.go:44
↓ 1 callers
Method
merge
matched write inherits edges read
checker.go:55
↓ 1 callers
Method
merge
merge the seq and dep for instance
epaxos/instance.go:29
↓ 1 callers
Method
monitor
(k paxi.Key, id paxi.ID)
vpaxos/replica.go:43
↓ 1 callers
Function
newKPaxos
(key paxi.Key, node paxi.Node)
m2paxos/kpaxos.go:23
↓ 1 callers
Function
newKPaxos
(key paxi.Key, node paxi.Node)
wpaxos/kpaxos.go:29
↓ 1 callers
Function
newLeader
(r *Replica)
wankeeper/leader.go:18
↓ 1 callers
Function
newMaster
(r *Replica)
vpaxos/master.go:16
↓ 1 callers
Function
newMaster
(l *leader)
wankeeper/master.go:13
↓ 1 callers
Function
newPaxos
(node paxi.Node)
vpaxos/paxos.go:30
↓ 1 callers
Function
newTokens
(id paxi.ID)
wankeeper/tokens.go:13
↓ 1 callers
Method
readAny
(key paxi.Key)
paxos/client.go:132
↓ 1 callers
Method
readInProgress
(m paxi.Request)
paxos/replica.go:68
↓ 1 callers
Method
readLeader
(key paxi.Key)
paxos/client.go:54
↓ 1 callers
Method
readQuorum
(key paxi.Key)
paxos/client.go:69
↓ 1 callers
Method
recv
recv receives messages from socket and pass to message channel
node.go:79
↓ 1 callers
Method
reset
()
policy.go:96
↓ 1 callers
Method
search
(hash []byte)
lib/hash_ring.go:53
↓ 1 callers
Method
strongConnect
strongConnect runs Tarjan's algorithm recursivley and outputs a grouping of strongly connected vertices.
lib/graph_scc.go:35
↓ 1 callers
Method
update
(scb map[int]CommandBallot)
paxos/paxos.go:164
↓ 1 callers
Function
usage
()
cmd/cmd.go:21
↓ 1 callers
Function
worker
(tasks <-chan int)
rate_test.go:12
Method
ADD
ADD increase ack size by one
quorum.go:38
Method
Add
Add puts an operation in History
history.go:32
Method
Array
()
lib/cset.go:52
Method
BFSReverse
(v interface{})
lib/graph.go:135
Function
BenchmarkCodecGob
(b *testing.B)
codec_test.go:45
Function
BenchmarkCodecJSON
(b *testing.B)
codec_test.go:62
Method
Broadcast
(m interface{})
socket.go:158
Method
Broadcast
Broadcast overrides Socket interface in Node
paxos_group/replica.go:81
Method
Broadcast
Broadcast overrides Socket interface in Node
m2paxos/kpaxos.go:45
Method
Broadcast
Broadcast overrides Socket interface in Node
wpaxos/kpaxos.go:51
Method
Clear
()
lib/set.go:30
Method
Close
()
transport.go:90
Method
Close
()
socket.go:168
Function
ConflictBatch
ConflictBatch checks if two batchs of commands are conflict
db.go:175
Method
Consensus
Consensus collects /history/key from every node and compare their values
client.go:288
Method
Contains
(key interface{})
lib/cmap.go:30
Method
Crash
(t int)
socket.go:201
Method
Crash
(ID, int)
client.go:28
Method
Crash
Crash stops the node for t seconds then recover node crash forever if t < 0
client.go:333
Method
DFS
DFS returns depth first search vertices from a given source
lib/graph.go:111
Method
Decode
(m interface{})
codec.go:52
Method
Decode
(m interface{})
codec.go:75
Method
Dial
()
transport.go:99
Method
Dial
()
transport.go:176
Method
Dial
()
transport.go:249
Method
Drop
(id ID, t int)
socket.go:174
Method
Drop
(ID, ID, int)
client.go:29
Method
Encode
(m interface{})
codec.go:45
Method
Encode
(m interface{})
codec.go:68
Method
Execute
Execute is the state-transition function returns current state value if state unchanged or previous state value
state_machine.go:7
Method
Execute
* // Execute implements StateMachine interface func (d *database) Execute(c interface{}) interface{} { cmd, ok := c.(Command) if !ok { log.Error("
db.go:103
Method
Flaky
delays every message send to ID for d ms and last for t seconds
socket.go:34
Method
Flaky
(id ID, p float64, t int)
socket.go:192
Method
Forward
* func (n *node) Forward(id ID, m Request) { key := m.Command.Key url := config.HTTPAddrs[id] + "/" + strconv.Itoa(int(key)) log.Debugf("Node %v f
node.go:165
Method
Get
Get gets the current value and version of given key
db.go:117
Method
Get
Get gets value of given key (use REST) Default implementation of Client interface
client.go:69
Method
Get
Get implements paxi.Client interface there are three reading modes: (1) read as normal command (2) read from leader with current ballot number (3) rea
paxos/client.go:27
Method
Get
(key interface{}, version interface{})
lib/mmap.go:40
Method
Get
Get returns random element from set
lib/cset.go:24
Method
Get
(key interface{})
lib/cmap.go:18
Method
Get
Get returns the node value that given k belongs to
lib/hash_ring.go:63
Method
Get
()
log/log.go:31
← previous
next →
201–300 of 575, ranked by callers