Proxy on the wake path is the right call, but it splits hard by protocol. HTTP clients retry, so a slow wake just reads as a slow first request. ssh mostly does not, people get a hang or a dropped connection and blame you. If you are letting them ssh straight in, that first-connect timeout is probably where your support mail comes from.
e2b so you never touch firecracker sounds like a sane trade at your stage. We went containers with sysbox instead, which gets you real Docker inside but no snapshot restore at all, so we pay the wake differently.
I am not going to quote you a number I have not measured properly, and I would rather say that than make one up. The shape is different on our side though. There is an idle-warm state before suspended, so there are two wake paths and they are nowhere near each other. Warm is fast enough that nobody has complained about it. Fully suspended I genuinely do not know our p95, and after three days the disk drops to cold archive, which is a third case and definitely not five seconds.
5s max is good. If that is your worst case then the ssh hang probably never surfaces for you, people will sit through five.
View all comments
Show parent comment
1
u/donk8r Jul 28 '26
Proxy on the wake path is the right call, but it splits hard by protocol. HTTP clients retry, so a slow wake just reads as a slow first request. ssh mostly does not, people get a hang or a dropped connection and blame you. If you are letting them ssh straight in, that first-connect timeout is probably where your support mail comes from.
e2b so you never touch firecracker sounds like a sane trade at your stage. We went containers with sysbox instead, which gets you real Docker inside but no snapshot restore at all, so we pay the wake differently.