storj / edge

Storj edge services (including multi-tenant, S3-compatible server to interact with the Storj network)
GNU Affero General Public License v3.0
48 stars 18 forks source link

Reduce the number of calls to the satellite in the gateway (compatibility checks) #420

Open amwolff opened 3 months ago

amwolff commented 3 months ago

Goal

Reduce the number of calls to the satellite in the gateway even at the expense of compatibility to make sure that we maintain one gateway call per one satellite call to reduce the latency and the load on the metabase.

Acceptance Criteria

Go through each gateway method and try removing extraneous calls if our test suites allow it.

halkyon commented 2 months ago
// TODO this should be removed and implemented on satellite side

These comments in the code are probably the first targets to fix.