# Couchbase 3.0.x support for akka-persistence-couchbase or for alpakka

**URL:** <https://discuss.akka.io/t/couchbase-3-0-x-support-for-akka-persistence-couchbase-or-for-alpakka/6458>\
**Category:** Persistence / Event Sourcing\
**Tags:** alpakka\
**Created:** [May 8, 2020, 9:58pm UTC](https://discuss.akka.io/t/couchbase-3-0-x-support-for-akka-persistence-couchbase-or-for-alpakka/6458 "2020-05-08T21:58:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vg02111989](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/vg02111989/32/1892_2.png) [@vg02111989](https://discuss.akka.io/u/vg02111989)\
**Post date:** [May 8, 2020, 9:58pm UTC](https://discuss.akka.io/t/couchbase-3-0-x-support-for-akka-persistence-couchbase-or-for-alpakka/6458/1 "2020-05-08T21:58:28Z")

</div>

Hi,

Latest akka-persistence-couchbase plugin for journalling events uses alpakka which internally uses couchbase-client-2.7.13 which seems quite older version.  
Can it be possible to update it with the latest couchbase 3.0.x release as it contains major changes with respect to performance, scalability etc which are some of the issues I am facing while using current akka-persistence-couchbase version.

Kindly have a look at the couchbase docs for details explanation :  
[https://developer.couchbase.com/documentation/server/3.x/admin/Whats-new-3.0.html](https://developer.couchbase.com/documentation/server/3.x/admin/Whats-new-3.0.html)

It seems quite big change in terms of performance as I had verified the same by creating some sample applications.

---

<div class="post-metadata">

**Author:** ![patriknw](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/patriknw/32/89_2.png) [@patriknw](https://discuss.akka.io/u/patriknw)\
**Post date:** [May 9, 2020, 10:19am UTC](https://discuss.akka.io/t/couchbase-3-0-x-support-for-akka-persistence-couchbase-or-for-alpakka/6458/2 "2020-05-09T10:19:32Z")

</div>

It’s currently not on our immediate roadmap but you are welcome to contribute with a pull request, or if you are a Lightbend customer we could consider adjusting priorities.

---

<div class="post-metadata">

**Author:** ![vg02111989](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/vg02111989/32/1892_2.png) [@vg02111989](https://discuss.akka.io/u/vg02111989)\
**Post date:** [May 15, 2020, 6:11am UTC](https://discuss.akka.io/t/couchbase-3-0-x-support-for-akka-persistence-couchbase-or-for-alpakka/6458/3 "2020-05-15T06:11:49Z")

</div>

Thanks @patriknw

I had started updating the plugin code base to improve performance so I can contribute with the PR, the performance with this plugin is very bad in comparison with other plugin like the one with cassandra, for eg. Time taken to insert some 2000 entities into cassandra will take around 90 secs but in couchbase took more than 6 mins, same with retrieval also as there lot of N1ql queries used with hardcoded indexes.

---

<div class="post-metadata">

**Author:** ![patriknw](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/patriknw/32/89_2.png) [@patriknw](https://discuss.akka.io/u/patriknw)\
**Post date:** [May 15, 2020, 6:34am UTC](https://discuss.akka.io/t/couchbase-3-0-x-support-for-akka-persistence-couchbase-or-for-alpakka/6458/4 "2020-05-15T06:34:17Z")

</div>

Thanks for contributing!
