Re:“Follow-The-Workload” Beats the Latency-Survivability Tra...
by ahahuaya on Tuesday December 05, 2017 @06:28PM
(#15857151)
Cockroachdb looks very exciting. I’m waiting for it’s Postgres compatibility to be far enough along that it works with Elixir/Phoenix. Is that likely to happen any time soon?
[ Parent
| on HN ]
Re:“Follow-The-Workload” Beats the Latency-Survivability Tra...
by legojoey17 on Tuesday December 05, 2017 @09:23PM
(#15858006)
If you are willing to give it a shot, there is currently a fork of postgrex from someone in the Elixir community! It handles some of rough edges of the incompatibility. You can find it at https://hexdocs.pm/postgrex_cdb/readme.html and the source code at https://github.com/jumpn/postgrex.
For any other issues you run into when using it, you may want to see the discussion about postgrex compatibility at https://github.com/cockroachdb/cockroach/issues/5582. If you run into different problems please do file the issue :).
I'm also an Elixir junkie, so I would also love to see ORM compatibility here! I definitely want to dedicated time to it if I can. (Disclaimer: I'm currently interning at Cockroach Labs.)
Re:“Follow-The-Workload” Beats the Latency-Survivability Tra...
by cpursley on Tuesday December 05, 2017 @10:28PM
(#15858225)
I'd love to see a port of https://github.com/begriffs/postgrest to Elixir. Cockroachdb + Elixir-based Postgrest implementation would be the ultimate platform for realtime distributed web scale.