After a deeper investigation, the performance bottleneck experienced in our cloud deployment (much much slower than laptop) was successfully diagnosed and fixed.
Most of the time was being spent in SSL initializations, which is something we can avoid by doing this operation once and cloning the initialized context / http client across threads.
After a deeper investigation, the performance bottleneck experienced in our cloud deployment (much much slower than laptop) was successfully diagnosed and fixed. Most of the time was being spent in SSL initializations, which is something we can avoid by doing this operation once and cloning the initialized context / http client across threads.