CouchDB 3.2 Improves Replication Scheduler
Written by Kay Ewbank   
Thursday, 21 October 2021

CouchDB has been upgraded with improvements including a more sophisticated replication scheduler and more work to the sharding support.

Apache CouchDB is an open source NoSQL document database that stores data in a schema-free JSON format. CouchDB uses its own replication protocol to keep JSON documents synchronized. CouchDB was originally developed by Damien Katz, and was then adopted as a successful Apache project. CouchDB comes with a developer-friendly query language, and optionally MapReduce for simple, efficient, and comprehensive data retrieval. 

couchdb

The sharding improvements mean that the couch_server module is now sharded. Until now the couch_server module ran in a single Erlang process that, on busy nodes, could become a bottleneck. This contrasted with other modules that were already using a high-concurrency process architecture. The latest release adds a couch_server_N module per CPU core, and the developers say this should remove the bottleneck.

The other main improvement is to the replication scheduler. This manages which replications run at any one time, and is important when there are more total replications than are configured to run concurrently. In earlier releases, the replication scheduler would work through all the replications in turn giving each equal time. CouchDB 3.2.0 introduces a fair-share option that allows you to use multiple _replicator databases each with a different relative priority, so your important replications get more time.

Diagnostics have been improved with with inclusion of a WeatherReport module. WeatherReport is an OTP application and set of tools that diagnoses common problems that could affect a CouchDB version 3 node or cluster.

Other improvements include support for Erlang versions 23 and 24, and for SpiderMonkey versions 78 and 86.

A prometheus endpoint has also been included to provide an endpoint for stats and metrics.

CouchDB 3.2 is available now.

 couchdb

More Information

CouchDB Download

Related Articles

CouchDB Adds Live Shard Splitting

CouchDB Adds Clustering Support

Apache CouchDB 1.6.0 Released

Faster Apache CouchDB

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Angular 13 Includes Ivy Improvements
11/11/2021

Angular 13 is now available, with improvements including expansion of the Ivy-based features and optimizations. Ivy is the code name for Angular's next-generation compilation and rendering pipeline.



JetBrains Announces Kotlin Goodies
17/11/2021

JetBrains has announced several new tools and projects designed to add to and improve the Kotlin ecosystem. The announcements were made at JetBrain's Kotlin 2021 Premier event, and include a new faste [ ... ]


More News

square

 



 

Comments




or email your comment to: comments@i-programmer.info