Hacker News new | ask | show | jobs
by t_christensen 1603 days ago
I deployed a little side-project (https://thecitymapquiz.com) to fly.io yesterday. The deployment went really smooth, but friends testing it out complained their connection (websockets in Phoenix LiveView) dropped. It might be because its running on the cheapest VMs, I don't know yet. That said, it was really satisfying seeing the application running in Seattle, Hong Kong, and Amsterdam within minutes after launch.
2 comments

This is probably a websockets bug that crops up during deploys – the connection breaks and reconnects keep getting sent to the now-gone VM for >60s. We're furiously rebuilding our service discovery plumbing because it's slow to propagate. I'm hoping we have the websockets issue fixed this week.
Sounds good. But I probably should implement something to store the state between websocket connections anyways. Loosing all progress when a connection drops is probably not optimal :-)
A bit off topic, but your game's brilliant fun. Just did the worldwide one, got a semi-respectable 23/34. Funny how easy it is to identify North American cities vs European ones. Will definitely share with some friends, great work!
Thank you. I think 23 is pretty good - I have looked a lot on these maps during development and I only managed 24 after I deployed the site yesterday. I'm not really satisfied with the site yet, but I through it was time to find out if any other than me found it interesting - now there is at least one other than me :)