Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Fetching data from servers take > 10s #31

Open
JosiasAurel opened this issue Nov 16, 2021 · 1 comment
Open

Fetching data from servers take > 10s #31

JosiasAurel opened this issue Nov 16, 2021 · 1 comment
Labels
bug Something isn't working enhancement New feature or request follow

Comments

@JosiasAurel
Copy link
Owner

Fetching data currently takes > 10s mainly because of the way all data I resolved even repeatedly.

--- from tweets
I am deploying the servers on lambda and I have max 10s to prepare all the data and serve on the client.

With my data prep algorithm, it has to resolve IDs from folders (even after it has resolved all of the IDs when doing the general fetching)...
,,
This way it firsts take ~5s to resolve all bookmarks and folders and even so, it goes through each folders no matter how deep and resolve each of them one by one which takes time and resources... this easily exceeds 10s which results in bad UX and lambda timeouts.

This cause unrelated CORS issue on

@JosiasAurel JosiasAurel added bug Something isn't working enhancement New feature or request labels Nov 16, 2021
@JosiasAurel
Copy link
Owner Author

weirdly enough it works fine now.
This needs a follow up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request follow
Projects
None yet
Development

No branches or pull requests

1 participant