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
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
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









