elt547

elt547

So is anyone using neo4j in a production phoenix application?

I’ve just come to the realization that my project could greatly benefit from a graph database. It still seems pretty immature in the elixir world. Is it really that bad? How feasible would a mix of, say, postgres and neo4j be? Would it be easier to just go totally neo4j?

I’d love to hop on a call and pick your brain if you’ve got experience with this.

Most Liked

LostKobrakai

LostKobrakai

Recursive CTEs can also be used quite well for that: Waiting for PostgreSQL 14 – SEARCH and CYCLE clauses – select * from depesz;

AstonJ

AstonJ

I was also going to recommend the book-exploring-graphs-with-elixir :smiley:

There’s also Apache AGE which people using Postgres might be opting for:

Apache AGE is a PostgreSQL extension that provides graph database functionality. The goal of Apache AGE is to enable users of Postgres to use graph query modeling in unison with Postgres’ existing relational model.

Postgres seems to have it all these days, graph extensions, NoSQL, Hstore, etc

joaoevangelista

joaoevangelista

It is not common the usage with elixir, but it is not inexistente, there are drivers for neo4j. For the mix of postgres and neo4j, what would be the reason? If you need multi model database you can check out arangodb, which also have a driver and also have an HTTP API, same as neo4j

bdarla

bdarla

Exploring Graphs with Elixir (PragProg) deals with graph databases using elixir. In particular, Bolt Sips is utilised to access Neo4J. Using Bolt Sips, one may employ Cypher to query Neo4J.

olivermt

olivermt

If your graph needs are treelike/hierarchical this is a great feature PostgreSQL: Documentation: 14: F.21. ltree

Where Next?

Popular in Questions Top

jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
dokuzbir
Hello, I am trying to convert my lists to string without losing brackets.For start i have 3 map. They look like these buyer = %{ id: ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
hpopp
To simplify some tasks at work, I wrote and published this package yesterday. It’s a simple macro that enables Access behaviour on struct...
New
Codball
Mix format works fine if run from the cmd. I’ve followed this to facilitate the implementation into VSC which involves downloading an ext...
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New

We're in Beta

About us Mission Statement