AxelRHD

AxelRHD

Connect Elixir to Couchbase (Couchie outdated)

I found a topic about NOSQL-Database of 2016. Since then nothing new. We have a Couchbase with tons of reporting data exctracted out of our RDBMS-live system.

I will give Phoenix a try and build up a little reporting-system, using this data from Couchbase. Trying to use the couchie-lib I got a warning during compilation and errors trying to establish a connection. Libcouchbase is installed and it works with other languages like ruby.

Can somebody tell me how to connect to Couchbase without the REST-Api? Or which NOSQL-Databases do you use for heavy data in connection with Elixir?

Thanks!

Most Liked

gdub01

gdub01

I had tried GitHub - chitika/cberl: NIF based Erlang bindings for Couchbase · GitHub but for our needs we required N1QL to work and the n1ql queries kept crashing elixir thru the nifs. We ultimately ended up using the REST API’s. Unfortunately I haven’t been able to open source the client, but it runs well for our relatively low data requirements.

With Couchbase’s websocket connection you can get a change feed going pretty well too. But the bulk of data operations is done over REST in our case.

jihantoro

jihantoro

anybody create a new couchbase driver ?

Where Next?

Popular in Questions Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
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
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics 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
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49084 226
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
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
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

We're in Beta

About us Mission Statement