-
Notifications
You must be signed in to change notification settings - Fork 87
Add GW version of the /owners/{address}/safes/
endpoint
#529
Comments
How is this issue related to #449 |
In its conception it was not. This issue is just a reaction to the service outage. This endpoint was reported to be used directly from the core services and it is also very heavy on the resource side of things. We are just trying to mitigate the load by providing this and heavily cache it. |
If this endpoint causes issues we should remove it on the core production services (or rate limit it or prevent external traffic) as it is not used by any of our production interfaces |
I've moved this back to |
This endpoint is now used in the web UI (in the sidebar). So it'd be nice to keep it/cache it. |
Only for staging or also in production? |
In prod as well. Since v3.10.0. Is it killing the service? Should we roll it back? |
Frontend ticket: safe-global/safe-gateway-typescript-sdk#12 |
Context
The
/owners/{address}/safes/
endpoint is directly queried by the web app is an endpoint known to be problematic due to the heavy load it puts on the database.Feature
Create a cached endpoint with backend/service models decoupled from each other under
GET /v1/chains/<chain_id>/owners/<address>/safes
Open questions
What webhook payload invalidates this endpoint in case of changes?
We don't have one, we cache for 1 minute
The text was updated successfully, but these errors were encountered: