Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ring ¶
type Ring struct {
Servers []ServerTick
KeyPos []float64
KeyOwner []int
}
Ring is the placed arrangement: server ticks (sorted), key positions, and each key's owning server id.
type ServerTick ¶
ServerTick is one virtual node on the ring: its position and which real server.
Click to show internal directories.
Click to hide internal directories.