Backend lagging?

kaysera14
HOBBYOP

a year ago

Hi! I've been recently been having lag? issues with my backend, in local works completely fine, but in the production environment whenever I try to update something it doesn't do anything, it takes some time to detect that a query is been sent... I initally changed the code, but immediately started having this issues, so I reverted changes, but it stays with the same problem. Is there some lag right now in the servers or maybe it's my fault?

5 Replies

a year ago

Can you go into more details, the term "lag" is very broad.


kaysera14
HOBBYOP

a year ago

When i send a request, the logs from the backend doesn't show anything and don't process the request, it takes multiple tries to process the query. I'm not very sure if it's lag from the servers cutting the connection or maybe something broke between the backend and the database.


a year ago

Can you share a link to where I could experience this for myself?


kaysera14
HOBBYOP

a year ago

Thank you so much brody, I've managed to fix it by myself debouncing the request, it seems it was sending the data too fast to railway servers.


a year ago

Okay so this was a bottleneck from your code, not Railway itself.


Loading...