routewatch/internal/database
sneak 3c46087976 Add live routing table with CIDR mask length tracking
- Added new live_routes table with mask_length column for tracking CIDR prefix lengths
- Updated PrefixHandler to maintain live routing table with additions and deletions
- Added route expiration functionality (5 minute timeout) to in-memory routing table
- Added prefix distribution stats showing count of prefixes by mask length
- Added IPv4/IPv6 prefix distribution cards to status page
- Updated database interface with UpsertLiveRoute, DeleteLiveRoute, and GetPrefixDistribution
- Set all handler queue depths to 50000 for consistency
- Doubled DBHandler batch size to 32000 for better throughput
- Fixed withdrawal handling to delete routes when origin ASN is available
2025-07-28 01:51:42 +02:00
..
database.go Add live routing table with CIDR mask length tracking 2025-07-28 01:51:42 +02:00
interface.go Add live routing table with CIDR mask length tracking 2025-07-28 01:51:42 +02:00
models.go Add live routing table with CIDR mask length tracking 2025-07-28 01:51:42 +02:00
schema.sql Add live routing table with CIDR mask length tracking 2025-07-28 01:51:42 +02:00
slowquery.go Add custom logger with source location tracking and remove verbose database logs 2025-07-28 01:14:51 +02:00
utils.go Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00