Live data from Hacker News

Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

news.ycombinator.com

81–90 of 268 posts

Re: Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

#81
I'm trying this out now.

One question: when I ran "flyctl deploy" it said "Docker daemon available, performing local build..."

If I turn off my local Docker, would it instead just upload the Dockerfile somewhere and perform the build for me?

If so, is there a way to force it to do that? I'd much rather upload a few hundred bytes of Dockerfile than build and push 100s of MBs of compiled image from my laptop.

Re: Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

#82
post #81

I'm trying this out now. One question: when I ran "flyctl deploy" it said "Docker daemon available, performing local build..." If I turn off my local Docker, would it instead just upload the Dockerfile somewhere and perform the build for me? If so, is there a way to force it to do that? I'd much rather upload a few hundred bytes of Dockerfile than build and push 100s of MBs of compiled image from my laptop.

That's exactly what happens when you disable Docker. We default to local builds because it's a little more secure. It's usually faster (our remote builder isn't great at caching layers yet).

It would make sense to be able to force that. Right now you'd have to stop Docker.

(Also I'm a huge fan of Django)

Re: Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

#83
post #65

Very impressive work. Just curious if you are worried about the big guys (AWS, GCP, etc) coming in and offering a similar service? If so, are you hoping DX will help act as moat?

That's always a concern, but not something we focus on. DX is a big deal. That's why Heroku and CF Workers are so popular despite everything the big guys offer.

Re: Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

#85
post #81

I'm trying this out now. One question: when I ran "flyctl deploy" it said "Docker daemon available, performing local build..." If I turn off my local Docker, would it instead just upload the Dockerfile somewhere and perform the build for me? If so, is there a way to force it to do that? I'd much rather upload a few hundred bytes of Dockerfile than build and push 100s of MBs of compiled image from my laptop.

good suggestion, I made an issue :) https://github.com/superfly/flyctl/issues/80

Re: Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

#86
post #84

If one API request makes on average 5-10 round trips to the database, and the database is in Virginia, this only makes the problem (much) worse. How do you solve this problem for this use case?

We're not solving db latency yet. A good place to start is aggressively caching at the edge. We offer an in-memory redis cache for this that can replicate commands globally. Beyond that you'd need read replicas which will be possible once we launch persistent storage. That said, latency between data centers on the same continent is often less than I would have thought!

Re: Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

#88
Fascinating idea. I’d like gently to suggest that you make this your elevator pitch, since I don’t care about who you are. It’s pretty much what you said, but up at the top:

“fly.io is really a way to run Docker images on servers in different cities and a global router to connect users to the nearest available instance. We convert your Docker image into a root filesystem, boot tiny VMs using an Amazon project called Firecracker, and then proxy connections to it. As your app gets more traffic, we add VMs in the most popular locations.”

Exciting stuff! My best to you!

Re: Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

#89
Just a feedback: the landing page doesn't explain at all what's the difference with AWS, Google Cloud, Azure, etc.

I had to read these parts in the doc to get how Fly solves the problem differently:

> Think of a world where your application appears in the location where it is needed. When a user connects to a Fly application, the system determines the nearest location for the lowest latency and starts the application there.

> Compare those Fly features with a traditional non-Fly global cloud. There you create instances of your application at every location where you want low latency. Then, as demand grows, you'll end up scaling-up each location because scaling down is tricky and would involve a lot of automation. The likelihood is that you'll end up paying 24/7 for that scaled-up cloud version. Repeat that at every location and it’s a lot to pay for.

Re: Launch HN: Fly.io (YC W20) – Deploy app servers close to your users

#90

Just a feedback: the landing page doesn't explain at all what's the difference with AWS, Google Cloud, Azure, etc. I had to read these parts in the doc to get how Fly solves the problem differently: > Think of a world where your application appears in the location where it is needed. When a user connects to a Fly application, the system determines the nearest location for the lowest latency and starts the application…

Thanks for the feedback. The landing page is very much a work in progress!
Post reply on HN