Stable release of Flynn – open-source container deployment
flynn.io
flynn.io
It may not be "production ready" for everyone, though please try it out and let us know how it goes.
If you're in SF, please come to our meetup in Tuesday and we can talk in person: https://www.eventbrite.com/e/flynn-stable-sf-meetup-tickets-...
Edited to add: It looks like there is already a buildpack for ASP.NET 5 (uses Mono) that's worth a try: https://github.com/heroku/dotnet-buildpack
1) Why did you remove etcd? 2) Why use the hashicorp raft implementation[1] over the coreos raft implementation[2]?
[1] https://github.com/hashicorp/raft [2] https://github.com/coreos/etcd/tree/master/raft
Minimum high availability setup would be three nodes with 1GB of memory each, more memory if you're using a heavier application framework like Rails.
When you run a scale command Flynn creates new application containers that are balanced across the cluster, so if you scaled to six instances with three hosts in the cluster, you'd end up with two instances on each of the three hosts.
I do have a question re: Flynn's router. The router README [1] states that it uses a random load balancing algorithm. I worry that at scale it would exhibit issues similar to what Heroku's "routing mesh" has (had?) as explained in [2], namely that some nodes would sit idle while others simultaneously let requests build up in their queue, hurting overall latency and reducing the marginal value of each additional node.
Any chance of something like HAProxy's leastconn algorithm landing in Flynn's router to mitigate this type of worry?
[1] https://github.com/flynn/flynn/tree/master/router
[2] http://genius.com/James-somers-herokus-ugly-secret-annotated
We are absolutely open to implementing other balancing algorithms, including least connections. The one caveat is that at any time multiple routers will be in operation and we're not going to do extensive coordination between them, so the balancing will never be perfect.
A bit more info on the app I'm thinking of testing with Flynn: each instance has a single dedicated resource (actually a psuedo terminal sitting on top of a command line tool). Any given instance is incapable of handling requests concurrently, they queue up at the instance. So the app's concurrency model relies on smart load balancing at the router itself. I've got HAProxy playing this role, but have done a bit of a hack job juggling the containers which implement the various microservices.
I'll give Flynn a go to see if the simplicity it gives me in managing my deployment is worth the routing tradeoff for now, but I would definitely love to see Flynn's router adapted as you describe.
Could you elaborate what differentiates Flynn from something like Tutum?
2) Has the code been security-audited?
3) Can I use this as a combination of Puppet/Chef + Swarm?
Lastly, who is this tool for? The guy running his 1 VPS or the startup running their 50 AWS medium instances?
No, it is much higher level. You could think of it as open source Heroku, apps are deployed using buildpacks and a PostgreSQL cluster is included.
> 2) Has the code been security-audited?
Not yet. We've been focusing on stability, work on internal security will be starting soon. You can expose ports 80/443 to the Internet, but shouldn't run untrusted code on it. See here for more details: https://flynn.io/docs/security
> 3) Can I use this as a combination of Puppet/Chef + Swarm?
For most use cases it would replace those tools.
> Lastly, who is this tool for? The guy running his 1 VPS or the startup running their 50 AWS medium instances?
All of the above, though we recommend at least three instances for high availability and haven't tested large clusters yet.
https://discovery.flynn.io/clusters/53e8402e-030f-4861-95ba-...
Does this mean one has to jump through hoops to install flynn on a set of devices that are networked to each other, but cut off from the Internet?