tracking-exposed / trex

youtube & tiktok analysis + youchoose recommendation custmizer. backend, extensions, and tooling
https://docs.tracking.exposed
GNU Affero General Public License v3.0
55 stars 15 forks source link

backend stress test and execution time optimization #166

Open vecna opened 2 years ago

vecna commented 2 years ago

this issue would not be closed in a single task, as it would collect a variety of improvement and tests we should run. Infrastructure remodeling and #149 are connected.

as following up a chat with @djfm, the current server design should need three major step before addressing optimization:

When these points are ready, we might look for the breaking points of the SW, considering a bunch of easy optimization are:

... and likely more!

vecna commented 2 years ago

Tested with 5 calls in parallel to the backend, (80% correct ID and 20% with an invalid ID); the response time always remain around 0.5seconds and any activity in parallel did not show any slowdown.

vecna commented 2 years ago

TODO: