Commit graph

26 commits

Author SHA1 Message Date
53c88d2262
postgres optimization 2025-07-15 09:06:40 -05:00
0298c8ec91
Revert all packet processing optimizations to fix buffer overflow
- Restored original PacketConsumer implementation from before optimizations
- Reverted to fixed batch size of 50 packets (original value)
- Removed SystemMonitor and InsertOptimizer from application startup
- Restored original config with buffer size 1000 and batch timeout 1000ms
- Removed all dynamic batch sizing and optimization logic

The recent performance optimizations were causing packet buffer overflows
because the dynamic batch sizing was actually slowing down processing.
Reverting to the simpler, working implementation that processes packets
consistently without buffer overflows.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 08:44:26 -05:00
f1d16d656b
Fix packet buffer overflow by reverting dynamic batch sizing
- Increased packet buffer size from 1,000 to 10,000 to handle traffic spikes
- Removed InsertOptimizer dynamic batch sizing that was slowing processing
- Reverted to fixed batch size of 200 for consistent performance
- Simplified insert options to use static configuration
- Added telemetry metrics for buffer overflow and utilization monitoring
- Fixed unused variable warning in packet_consumer.ex

The root cause was the recent performance optimizations that introduced
dynamic batch sizing, which actually degraded performance and caused
the producer buffer to overflow when the consumer couldn't keep up.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 08:25:02 -05:00
389ce8edeb
cleanup worker tweaks 2025-07-14 12:31:47 -05:00
f26c367b6c
allow reduced historical packet age 2025-07-14 12:14:12 -05:00
9053f0840a
add more i18n testing and fix error page and dashboard 2025-07-08 12:16:00 -05:00
6749f41137
built in error tracking 2025-07-07 11:06:22 -05:00
cba86fb082
more languages 2025-07-06 10:08:58 -05:00
fc449ed5f9
en español 2025-07-05 15:51:39 -05:00
f1bc428086
deploy fix 2025-07-05 12:51:28 -05:00
53b82c70d4
deploy fix 2025-07-05 09:29:11 -05:00
7ef3f59026
parsing improvements 2025-06-28 15:53:27 -05:00
0beb278371
add packet batcher 2025-06-24 15:06:09 -05:00
ce7c50caa1
refactor to use external parser 2025-06-24 14:22:09 -05:00
5b50d98036
handle raw feed and fix errors 2025-06-24 11:15:34 -05:00
a48b2edcb3
add device identifier 2025-06-23 14:19:04 -05:00
369ce05f1a
typescript 2025-06-18 12:26:13 -05:00
2f20a19c6a
run migrations on start 2025-06-15 21:54:06 -05:00
7a57739ed7
tweaks 2025-06-15 21:14:10 -05:00
47437424d9 try docker build 2025-01-27 13:59:42 -06:00
ff9eb9c614 update everything 2025-01-22 12:12:39 -06:00
04e09e03af update more 2024-01-14 17:45:31 -06:00
da296d852d auto style things 2023-12-17 12:11:57 -06:00
3188f429bf fix env checker 2023-01-29 13:04:29 -06:00
182f3e9cb2 add aprs-is stuff 2023-01-26 13:38:37 -06:00
d40567dfeb initial 2023-01-26 13:20:23 -06:00