Hi everyone. Phenomenal job with the app, it’s really looking like it could replace reddit with no trouble.
I’m getting timeout issues though, every time I upvote something. I’m sure it’s nothing but I wanted to give you the heads-up.
One more suggestion is to make it easier to find communities on here! Then it’ll be perfect.
Thanks again :)
That’s pretty common. Database reads are much lighter operations than writes, and you can cache responses to heavily alleviate the strain of those requests.
There’s no real way to get around database writes though. Each one of those has to go through the DB eventually. You can do things to mitigate it like putting the messages in a queue to be bul-inserted in batches, but it’s much harder to optimize write performance than it is to optimize reads.
Oh absolutely. I would expect the response to take longer. But what I’m saying is that even once the operation is complete, the server will not return a response to you. You can simply refresh to see that your request did go through, but you will still be waiting for a response.