routewatch/internal/database
sneak 7d814c9d2d Optimize SQLite and PrefixHandler for better performance
- Increase PrefixHandler queue size to 500k and batch size to 25k
- Set SQLite PRAGMA synchronous=OFF for faster writes (trades durability)
- Increase SQLite cache to 1GB and mmap to 512MB
- Increase WAL checkpoint interval to 10000 pages
- Set page size to 8KB for better performance
- Increase busy timeout to 30 seconds
- Keep single connection to avoid SQLite locking issues
2025-07-28 02:40:17 +02:00
..
database.go Optimize SQLite and PrefixHandler for better performance 2025-07-28 02:40:17 +02:00
interface.go Simplify peerings table to store AS numbers directly 2025-07-28 02:36:15 +02:00
models.go Add live routing table with CIDR mask length tracking 2025-07-28 01:51:42 +02:00
schema.sql Simplify peerings table to store AS numbers directly 2025-07-28 02:36:15 +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