After experimenting with the limits of Azure VMs and CouchDB based on my articles, I determined that the best practice should be to create disks to attach to the VM. The CouchDB data files should be stored on the attached disks. A terabyte of storage costs just over $50/month. (http://azure.microsoft.com/en-us/pricing/details/storage/) Attaching a new storage disk can be done in the Azure portal by navigating to the All Settings link for a VM, clicking on the […]
CouchDB on Suse VM in Azure For Less Than $100/month (Part 1 of 5)
The following outlines a series of posts designed to walk readers through building and benchmarking a reasonably cheap, fast and reliable location tracking app using CouchDB on an OpenSUSE VM in the Azure cloud. This first installment will introduce the project. 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 […]
CouchDB on Suse VM in Azure For Less Than $100/month (Part 2 of 5)
Part two of this series covers the creation of Azure VMs and the installation of CouchDB. 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 2. Installation Create VM – This process will create two virutal machines. The screenshots and future examples will refer […]
CouchDB on Suse VM in Azure For Less Than $100/month (Part 3 of 5)
This is the third part of the series and covers creating CouchDB databases for tracking data and for the benchmark app. 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 3. Client Code This project will allow a user with a web browser […]
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 […]