CouchDB on Suse VM in Azure For Less Than $100/month (Part 4 of 5)

This is the fourth part of the series and covers a few performance tweaks to improve data ingestion. Introduction Goals Cheap, Fast, Reliable Eventual Consistency Installation Create VM Installs SSH Security Capture VM Client Code Create Databases Create Benchmark/Testing Code Create Views Start Replication Cron Jobs Performance Tweaks stale=update_after CouchDB local.ini mods Mapping Data Aggregate Heat Map Live Map   4. Performance Tweaks In addition to using cron jobs to maintaining database performance, a few changes […]

CouchDB on Suse VM in Azure For Less Than $100/month (Part 5 of 5)

In this final post of the series, the design views in CouchDB will be used to populate heat maps and show near real-time device location. The code for the maps is hosted at GitHub ( The mapping code uses the following libraries: heatmap.js v2.0.0 by Patrick Wied (, LeafletJS ( SimpleHeat ( jQuery This post will not discuss the code used to produce the heat maps but will show how the pages render in the browser. Introduction […]

Quick Tip: CouchDB-Lucene Function for Indexing Arrays and Attachments

CouchDB-Lucene is a powerful search engine that can index CouchDB documents and attachments. The example below indexes a database that contains documents from an imaginary items catalog. Each item in the catalog has parts that make up the item. Each part has a part name and part number. Each item document can also have attachments such as MS-Word documents that contain instructions or user manuals or engineering diagrams. For example, an item might be a cell phone which contains […]

CouchDB User Manager App

Using Futon to manage CouchDB users is fairly straightforward. There’s a few caveats when adding a new user or adding roles to a user or changing a user’s password.  So, I set out to create a CouchApp to help manage users through a basic interface.  The source is available on GitHub.