Archive

The Dulin Report

Browsable archive from the WordPress export.

Results (38)

The future is bright Mar 30, 2025 Are developer jobs truly in decline? Jun 29, 2024 On Amazon Prime Video’s move to a monolith May 14, 2023 Some thoughts on the latest LastPass fiasco Mar 5, 2023 Working from home works as well as any distributed team Nov 25, 2022 Things to be Thankful for Nov 24, 2022 All developers should know UNIX Jun 30, 2022 Java is no longer relevant May 29, 2022 Automation and coding tools for pet projects on the Apple hardware May 28, 2022 Peloton could monetize these ideas if they only listen May 15, 2022 Tools of the craft Dec 18, 2021 Should we abolish Section 230 ? Feb 1, 2021 The passwords are no longer a necessity. Let’s find a good alternative. Mar 2, 2020 Configuring Peloton Apple Health integration Feb 16, 2019 Returning security back to the user Feb 2, 2019 Adobe Creative Cloud is an example of iPad replacing a laptop Jan 3, 2019 Apple Watch Series 3 is a gem worth waiting for May 28, 2018 I downloaded my Facebook data. Nothing there surprised me. Apr 14, 2018 Facebook is the new Microsoft Apr 14, 2018 Quick guide to Internet privacy for families Apr 7, 2018 Nobody wants your app Aug 2, 2017 I built an ultimate development environment for iPad Pro. Here is how. Jul 21, 2017 TDWI 2017, Chicago, IL: Architecting Modern Big Data API Ecosystems May 30, 2017 I tried an Apple Watch for two days and I hated it Mar 30, 2017 Windows 10: a confession from an iOS traitor Jan 4, 2017 Apple’s recent announcements have been underwhelming Oct 29, 2016 Don't trust your cloud service until you've read the terms Sep 27, 2016 What I learned from using Amazon Alexa for a month Sep 7, 2016 Why I switched to Android and Google Project Fi and why should you Aug 28, 2016 In Support Of Gary Johnson Jun 13, 2016 Files and folders: apps vs documents May 26, 2016 Operations costs are the Achille's heel of NoSQL Nov 23, 2015 We Live in a Mobile Device Notification Hell Aug 22, 2015 Big Data Should Be Used To Make Ads More Relevant Jul 29, 2015 Attracting STEM Graduates to Traditional Enterprise IT Jul 4, 2015 Why I am not Getting an Apple Watch For Now: Or Ever Apr 26, 2015 Apple is (or was) the Biggest User of Apache Cassandra Apr 23, 2015 Microsoft and Apple Have Everything to Lose if Chromebooks Succeed Mar 31, 2015

Operations costs are the Achille's heel of NoSQL

November 23, 2015

This article was originally published on my Cloud Power blog at Computerworld on October 27th, 2015

NoSQL databases scale by adding more commodity servers. With more commodity servers come increased costs and complexities. Some NoSQL systems are better at this than others and need less.

Consider the size of the Apple Cassandra installation that is reported at 75000 nodes and over 10 petabytes of data. The complexity of the operations, monitoring, upgrades and other maintenance tasks must be overwhelming. Apple bought FoundationDB to cut their own costs while improving performance. Julie Bort writes:
While both Cassandra/DataStax and FoundationDB are noSQL databases, FoundationDB had some unique technology. It works super-fast but needs far less hardware than Cassandra, making it even cheaper to use, even as it scales. (In geek speak, it’s an “in-memory” database that runs on flash storage.)

Goldmacher says it needs somewhere between 5% to 10% less hardware than Cassandra.

At Apple’s scale 10% of 75000 is 7500 nodes and it is not something to ignore. The most popular post on my blog is my article on how I’d like to replace Cassandra with DynamoDB in the AWS environment. The long term costs of operating Cassandra are on the minds of Cassandra adopters.

MongoDB is under pressure from customers to reduce operations costs as well. Viber migrated their MongoDB cluster to Couchbase cutting the number of AWS EC2 instances in half. At Viber’s scale that is not a small number.

Companies interested in adopting NoSQL should consider their options carefully. The vast majority of database use cases do not need massive horizontal scalability. Most applications could be better off with traditional SQL databases. In the cloud, there are NoSQL alternatives that cost less and are easier to maintain. Let’s review just a few examples.

AWS RDS for PostgreSQL


PostgreSQL has been offering NoSQL capabilities like MongoDB since version 9.3. That includes ACID, hierarchical document data and ability to index JSON documents. AWS RDS service of PostgreSQL offers high availability, redundancy, and fail-over. Being a managed service it requires very little attention. Many tasks such as backups and fail-over are fully automated. Rich management API and monitoring tools provide for customization of scaling behavior.

Redis


As John Martin of Computerworld wrote, “When it comes to storage, cache is king”. Azure, AWS and Google offer managed cache services. AWS Elasticache in particular offers a choice of Memcached and Redis. Redis is an interesting alternative to NoSQL since its low level data model is similar to that of Cassandra for some of the use cases. Redis database has to fit entirely in-memory but it can be persisted to disk and recovered upon reboot. Redis can be configured in clusters for high availability and performance. On master failure one of the slaves becomes the new master.

AWS DynamoDB and Google BigTable


AWS DynamoDB and Google BigTable offer a similar data model to Cassandra as well as infinite scalability. Neither service requires any administration or devops. One has to be on the look-out for burst performance, however. Burst capacity is one area where a custom configured NoSQL database can shine.

Object storage


An object storage tool like AWS S3 is a long term infinitely large key/value store. As a corner stone of AWS, S3 can integrate with CloudFront, RedShift and many other AWS services. It scales horizontally without any questions asked and can store JSON and binary documents as well as logs. S3 is also ridiculously cheap and can be used to store terabytes of data.

Final thoughts


Companies should keep in mind the costs associated with NoSQL technology. It is important to consider not only the technical merits but also the costs. Development teams that choose the right tool for the right job will always win.