Files
the-other-dude/poller
Jason Staack 8d3952e92d feat(18-02): implement ProfileCache with JSONB compilation and sysObjectID matching
- compileProfileData parses JSONB profile_data into typed CompiledProfile structs
- ProfileCache.Get provides O(1) lookup by profile UUID
- MatchSysObjectID uses longest-prefix-first matching with generic-snmp fallback
- StartRefresh runs background goroutine with configurable interval (default 5min)
- Load atomically replaces in-memory cache under write lock
- counter.go created as blocking prerequisite (Rule 3 deviation from 18-01)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 19:21:39 -05:00
..