Commit graph

8 commits

Author SHA1 Message Date
5fc3b2883b
"discovery: mDNS/DNS-SD peer discovery; dynamic upstream management"
Allows ncro instances to discover each other dynamically without static
configuration and enables a peer-to-peer style (hello funny cube) mesh
where nodes share cached builds locally instead of all hitting upstream
caches.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7d723876c6816cb6aaaf3fe14cb24a426a6a6964
2026-04-05 22:48:20 +03:00
2aaf84e425
prober: fix unstable sort when latency within 10% and priorities equal
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I49fed694108cfb91ffe3ffad5c02c3a96a6a6964
2026-04-05 22:48:14 +03:00
f89a3e61cd
prober: fix data race in TestPersistenceCallbackFired
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0eea8c573529836da790cf1dba4ecb016a6a6964
2026-04-05 22:48:08 +03:00
d599ef02a7
prober: persist health across restarts via callback; seed from DB on startup
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ica467d6db76c495a6ccadbad89276b536a6a6964
2026-04-05 22:48:07 +03:00
91ffc0eadd
tests: add edge cases for server, router, cache, and prober priority
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I05b19092cee63f8efca7cb62655880286a6a6964
2026-03-15 11:01:41 +03:00
8da709dc98
prober: add Priority field; honour it in latency-sorted order
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iba0ff781c4ce863379378b4ca6039dc96a6a6964
2026-03-15 11:01:39 +03:00
663f9995b2
cache: add SQLite route persistence; initial TTL and LRU eviction implementation
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0370d6c114d5490634905c1a831a31526a6a6964
2026-03-15 11:01:26 +03:00
356aa999af
initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iec17afe27e51e55d53e09479fcdfd4456a6a6964
2026-03-15 11:01:11 +03:00