Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admin.hub.nuxt.com has a timeout occurred when cache is large #398

Open
oritwoen opened this issue Dec 16, 2024 · 4 comments
Open

admin.hub.nuxt.com has a timeout occurred when cache is large #398

oritwoen opened this issue Dec 16, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@oritwoen
Copy link
Contributor

Describe the bug
In the hub panel, you can't access the cache and a timeout occurs. This only happens with large databases for CACHE. When I clear the entire KV from the cache or have little of it, everything works correctly.

Zrzut ekranu z 2024-12-16 23-46-39
Zrzut ekranu z 2024-12-16 23-46-05

@atinux
Copy link
Contributor

atinux commented Dec 17, 2024

180k records, I see, very interesting amount, will have a look to improve!

@oritwoen
Copy link
Contributor Author

Yes, I connected Nuxt Hub to a client's website that is several years old, has tens of thousands of entries and relations. For now, it is based on WordPress's wp-json with a cache for each tag, category and entry.

The traffic there is at the level of 40-100k visits per day. And NuxtHub works great, but the only such a nuisance is that timeouts are in the panel for the cache.

Although recently I am leaning towards connecting db0 from unjs and connecting to the database directly to connect to mysql directly, bypassing wp-json and not doing so much caching because with such traffic it gets very expensive.

It would be the best if hyperdrive supported mysql (I'm waiting xD) and then everything would be simpler.

I wrote a bit, but this is the context. If you want more information, logs or statistics from such high traffic, let me know, I will send it.

@luminous8
Copy link

I'm having the same issue while having way lower values (except storage)
Capture d’écran 2025-01-09 à 11 06 57

Copy link
Contributor

atinux commented Jan 9, 2025

I will have a look at it very soon, sorry for the delay

@atinux atinux self-assigned this Jan 20, 2025
@atinux atinux added the bug Something isn't working label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants