- Add database indexes for common query patterns (path, callsign, device, weather) - Implement packet batching in LiveView to reduce client updates - Create PreparedQueries module for frequently executed database queries - Add KNN (K-nearest neighbors) spatial queries using PostGIS - Implement configurable debouncing for map bounds and hover events - Integrate with existing Redis cache for device lookups - Optimize cleanup worker with batch processing (already implemented) These optimizations significantly improve query performance and reduce database load, especially for high-traffic scenarios. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| clustering.ex | ||
| prepared_queries.ex | ||
| query_builder.ex | ||