2 ms·
This is such a weird post. They build a distributed counter that is consistent across a cluster using the Elixir message passing thing, but there's this whole
by nl 4y ago
This is such a weird post.
They build a distributed counter that is consistent across a cluster using the Elixir message passing thing, but there's this whole thing about using the Fly Distributed SQLite thing as well.
But if they wanted to build a distributed counter they could choose to use Postgres at the first step and then it will just work.
- Joel_Mckay 4y agoFor elixir+phoenix a cockroachDB store abstraction is natively supported. I like the design in many ways, but still need to find something noncritical to test the solution on before clearing it for production. =)
- qaq 4y agocockroachDB uses Postgres wire protocol and SQL
- Joel_Mckay 4y agoCross compatibility is a huge plus from my perspective. However, there are some designs one should avoid... like auto increment indices etc. =)