3 ms·
WE LOVE ELIXIR. I don't even write Elixir and I love it, because we built a system that makes it super easy to take a Dockerfile of some random thing, and depl
by tptacek 6y ago
WE LOVE ELIXIR.
I don't even write Elixir and I love it, because we built a system that makes it super easy to take a Dockerfile of some random thing, and deploy 20 instances of it spread evenly around some bunch of regions that can talk privately to each other by default.
That's a fun thing to be able to do in any language, but to exploit it in a Go program, I'd have to actually think, pull something like Serf in, whatever.
But Phoenix LiveView apps literally ship with a dashboard where you can see all your instances running, and then first-class features for them to chat between themselves.
LiveView is cool all on its own, but Elixir+Phoenix+LiveView is such a sweet application of a hosting environment like ours. Expect us to be weirdly chatty about Elixir in the coming months.
- therein 6y agoLooking forward to it.
- cpursley 6y agoI'm looking forward to this. Is it going to be possible to run local Postgres (or one of the distributed dbs that are PG compatable) read instances alongside the Elixir instances?
- mrkurt 6y agoYes. Our beta postgres service lets you add read only replicas in any region you want. "Deploy any full stack app globally" has been a big goal for us over the last year. We're getting close.
- cpursley 6y agoCool, and that means the local instance of Elixir (for example) would connect directly to that read replica? If so, that's amazing. Also, is this possible with Hasura (local colocated read)?
- mrkurt 6y agoYep! Our internal service discovery lets you connect to instances in the same region. If you're running in "SJC" you could use "sjc.my-postgres-cluster.internal", for example.
- iudqnolq 6y agoI can't find anything about postgres pricing. Also, the section on extensions in your doc is blank. Since postgres is just a fly app, would it make sense for a user to just fork it and add extensions they needed? That would be awesome if feasible.