Skysoft13

Skysoft13

Which NoSql db is best to use with GraphQL and Elixir?

I want to use GraphQL with elixir and I am not sure which NoSQL DB is best for me to use in this project like MongoDB OR Cassandra?

Most Liked

hauleth

hauleth

When starting project? I would never use NoSQL right now, because in most cases it makes no sense and limits your design choices. You can fit document DB (like MongoDB) by using JSON(B), you can have KV store by having table in form of {key, value}, you can have graph DB by using some CTEs and 2 tables. Additionally Postgres + extensions provide you with more functionalities:

  • message queue via LISTEN/NOTIFY
  • TSDB via Timescale or other plugins
  • partial support for columnar DB, but there are also other projects that use the Postgres wire protocol for columnar DBs (ClickHouse)
  • full-text search via tsvectors
  • GIS via PostGIS

So almost everything I need I have built-in or within my grasp. So I can reduce amount of the moving parts and add more dependencies only when I will know for sure that I will need them. Until then I can have everything in single place.

andreaseriksson

andreaseriksson

I have been an SQL guy for over 15 years. But not only that, I have yet to find a situation where Postgres have fallen short. Also, if you are fairly new to the Phoenix eco system, all guides pretty much assumes that you are using postgres.

hauleth

hauleth

Why you want to use NoSQL DB at all? Is there any technical reason? Assuming by your question - no, then use PostgreSQL.

Skysoft13

Skysoft13

I love nosql, I do not love sql, do you have any idea about my question

andreaseriksson

andreaseriksson

I cant tell you what to use, except Postgres, but make sure that whatever you use, there is a fairly maintained ecto adapter.

Where Next?

Popular in Questions Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
Kagamiiiii
Student & New to elixir. Nice language. I want to convert a english character, e.g. “a”, which is stored in a variable, to it’s asci...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
makeitrein
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project. Baby step #1 is extracting the number ...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
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
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New

Other popular topics Top

peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
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
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New

We're in Beta

About us Mission Statement