I’m in the process of evaluating fly using SQLite for a new project. I just deployed my app (NodeJS using Remix) on 2 machines located in CDG using LiteFS and the response times are quite slow.
My endpoint is simple: it does an SQL request and returns the result as JSON.
I usually get a response time of around ~500ms which seems high.
I took a screenshot of a response. The server is answering quite quickly, but on the network tab it’s still slow
6ms is what I was expecting from the sqlite query itself, so I don’t think liteFS is the issue. What happens when you remove the db query and have your api just return an empty json.
I tried to deploy the same app without using Litefs, I get the same result. The server answer quickly, but I still have up to ~500ms in the network tab.
The server responded in 32ms, but I go a ~500ms network call
Maybe next try cloning a machine into LHR or AMS, stopping the others, and then repeating the experiment (again without LiteFS—as the primary_region will be offline).