dfpc-coe / CloudTAK

Full Featured in-browser TAK Client powered by AWS
GNU Affero General Public License v3.0
13 stars 1 forks source link

Increase Throughput #273

Closed ingalls closed 2 months ago

ingalls commented 2 months ago

Context

I'd originally set the MessageGroupId in the FiFo queue to be the Sink ID with the understanding that I wanted CoTs to be processed in order as the "latest" CoT needs to be the last processed out of a list. We've seen significant bottlenecks for large CoT submissions to the sink API which were alleviated significantly in a prior PR which introduces parallelism within the FiFo batch of 10 messages.

This should further reduce queue congesion by instead limiting processing by Sink ID and then secondarily by CoT UID. Thereforce each CoT UID has to be processed in order but CoTs within a given sink can be processed in parallel.