added simple admission control to area_map. #42
Conversation
…set the percentage of map requests to generate maps for.
|
just realized that I do not need to generate 2 empty maps. will update. even shorter time to generate a blank map. See updated log below 2026-05-08 17:14:07,140 INFO APP - dispatching path /fetchVOACAPArea.pl |
|
admit 100 percent of offered traffic $ ./voacapload.sh 100 |
|
Thanks for putting this together. But let's take a different approach. I'd like to avoid needing to trigger the shell script. The latest "main" has nginx.conf rate limiting. At the moment it's 10. It should probably be as high as 50 but let's deal with that later. I like your "black map" idea. Let's serve a black back when the rate limit is exceeded. I recommend the following:
|
|
The path forward as I see it.
|
|
step 1 complete - see https://github.com/kr8x/hcmapfetch |
|
step 2 complete |
|
step 3 complete - that's a lot of data dave@victus:hcmapfetch/429$ ls -l |

script voacapload.sh can set the percentage of map requests to generate maps for REL, TOA or MUF.
100 is no restriction.
Default is no restriction.
0 is allow none.
Requests that do not pass admission control just return a blank map for reduced processor load.