CouchBase 1.8 and 2.0 Erlang SDKs? Why is Erlang Left out

我的梦境 提交于 2019-11-30 20:54:30

I have received a phone call from couchbase company in April, this year. They asked me which language I use for programming.

I think it is related to how couchbase make money. From the website's information, they provide project team members for customer's project team for fee based on days or hours.

These members (couchbase employee) should use the same language as their customers, most customers are using c#, java, python. So they just provide these language's sdk, not erlang.

For a middle-long period ( 1 or 2 years), I think it is impossible to provide erlang sdk from couchbase.

I believe the primary issue is the amount of demand for an Erlang SDK. There are far more developers for Java, C#, Ruby, and Python than Erlang.

That being said, it should be possible to use Erlang with Couchbase for some features. Couchbase supports the memcached API, so basic key/value lookups should work. You can try this library and see if that works: erlmc. Couchbase 2.0 features such as views may not be accessible. Also, Couchbase is open source, so you could try writing your own client, if you really wanted to.

cberl is a NIF based Erlang client which uses libcouchbase. I have started working on but didn't spend much time. It is not fully tested and has some broken parts, but all the basic functionality is there so it is worth a shot. Now it is listed as an experimental SDK on couchbase website so I think it will get more traction and have less bugs in short time.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!