Does Replit DB Allow for Concurrent Updates?

Asking because I have an application that relies on Replit DB to store user profiles. It seems to occasionally fail to update important information under certain circumstances. It’s not clear to me because no errors are produced, but one thing I noticed is that it happened a lot more often when several users were using the application at the same time. This lead me to believe there could be a problem with the database itself, potentially due to a race condition. I really don’t think that it is due to a logical error in my code.

So if the answer to the question above is no, I would think that I have to implement some kind of queueing system for updating the DB, or fully migrate to Postgres (although it’s slower to access data). Does anyone have an answer, pointer, or has experienced any similar issues?

Thank you for your time

1 Like