Gerhard Lazu
๐ค SpeakerAppearances Over Time
Podcast Appearances
Fly just.
We can see how we do the flyctl deploy.
We disable HA because we want only one instance per region.
We have 15 regions in total.
We specify the CPUs, the memory, all the good stuff, including environment variables.
Oh, that's another thing.
We need to adjust the varnish size
based on the memory the instance has, right?
We need to say like, hey, varnish, you get 70%.
And that's the other thing that this does.
Same thing for the file size.
You can't take up the entire disk.
We tell you based on the disk that we provision, how much space you should use from the disk that gets created.
There's a scaling there, so that's another good one.
I'm going through pull requests.
Is there anything else?
Oh man, this was a pain.
So recreating, like writing tests for this, everything is tested in the sense that which requests would go or which, basically which files would get cached in the file store and which files would be cached in the memory store.
So how do you write the tests?
Some varnish logging is included.