vexl-it / vexl

Vexl app
https://vexl.it
GNU General Public License v3.0
64 stars 12 forks source link

Abnormal number of backend calls for common contacts #277

Closed slush0 closed 1 year ago

slush0 commented 2 years ago

In application log, I see spikes of traffic to /api/v1/contacts/common. It is tens of calls in sequence (I counted up to 30 requests per second) from my phone. This is mystery to me why this is necessary and it definitely looks unhealthy.

I'm not sure which component fire such number of requests, but I suppose it is marketplace, because the wall of requests starts with calls to bitcoin chart refresh. So my guess is some ineffectivity in listing of offers, where every offer fires its own request to backend.

This is observed on Android, it is unclear if ios has the same issue. @leomira would you try to replicate?

leomira commented 1 year ago

@slush0 would you be able to check this now, so we find out if it's still relevant?

slush0 commented 1 year ago

It is very unlikely to be relevant in the vexl2. I briefly tested the scenario and I don't see any such behavior happening anymore. Let's close this.

leomira commented 1 year ago

Thx, closing!