I’m noticing differences in read speeds on LiteFS queries between my local environment and the one deployed to Fly. The same query takes locally around 120 ms, whereas on Fly it takes roughly 350-400 ms. This is a huge difference and it makes my app sluggish. This is timed with console.time and console.timeEnd in JS.
LiteFS is referred to as “in core”, and that it should be “lightning fast”. I feel like something is off here. Is something off with the volume mount? Note: I’m using LiteFS Cloud on top of this. My machine config looks like:
They mainly are for things that can afford to be sluggish, in a sense:
I stubbornly use one in ORD for latency-sensitive tasks, and the subjective variation really is big—ranging into borderline unusable on weekdays now, right before the end of Chicago business hours, .
Memory is ever another one of the plausible culprits, though, e.g., Node GC nuances.