The goal of this project is to develop the official European solution for the interoperability between national backend servers of decentralised contact tracing applications to combat COVID-19.
Apache License 2.0
59
stars
25
forks
source link
fix: Memory Optimization and ThreadPool for Scheduled Jobs #264
Memory Optimization: Deleting Diagnosis keys always resulted in loading alle keys to be deleted into heap. This can cause a OutOfMemoryException.
To avoid this the deleting of DiagnosisKeys and DiagnosisKeyBatches has been changed to direct querys.
Thread Pool Scheduled Jobs: Springs default ThreadPool-Size for scheduled jobs is 1. As long as EFGS has some background jobs which are executed regulary we increased the ThreadPool-Size for better load balancing.
Memory Optimization: Deleting Diagnosis keys always resulted in loading alle keys to be deleted into heap. This can cause a OutOfMemoryException. To avoid this the deleting of DiagnosisKeys and DiagnosisKeyBatches has been changed to direct querys.
Thread Pool Scheduled Jobs: Springs default ThreadPool-Size for scheduled jobs is 1. As long as EFGS has some background jobs which are executed regulary we increased the ThreadPool-Size for better load balancing.
This could have a positive effect for #262