1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-10-28 10:51:44 +01:00
juanfont.headscale/hscontrol
Kristoffer Dalby 9d236571f4 state/nodestore: in memory representation of nodes
Initial work on a nodestore which stores all of the nodes
and their relations in memory with relationship for peers
precalculated.

It is a copy-on-write structure, replacing the "snapshot"
when a change to the structure occurs. It is optimised for reads,
and while batches are not fast, they are grouped together
to do less of the expensive peer calculation if there are many
changes rapidly.

Writes will block until commited, while reads are never
blocked.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-09-09 09:40:00 +02:00
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
capver mapper: produce map before poll (#2628) 2025-07-28 11:15:53 +02:00
db state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
derp derp: allow override to ip for debug 2025-09-09 09:40:00 +02:00
dns integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00
mapper state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
policy state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
routes Fix typos 2025-07-21 12:06:07 +02:00
state state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
templates integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00
types state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
util state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
app.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
auth.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
debug.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
grpcv1.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
handlers.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
metrics.go integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00
noise.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
oidc.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
platform_config.go Return better web errors to the user (#2398) 2025-02-01 15:25:18 +01:00
poll.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
suite_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
tailsql.go integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00