Archive

The Dulin Report

Browsable archive from the WordPress export.

Results (56)

On Amazon Prime Video’s move to a monolith May 14, 2023 One size does not fit all: neither cloud nor on-prem Apr 10, 2023 Comparing AWS SQS, SNS, and Kinesis: A Technical Breakdown for Enterprise Developers Feb 11, 2023 Stop Shakespearizing Sep 16, 2022 Using GNU Make with JavaScript and Node.js to build AWS Lambda functions Sep 4, 2022 Monolithic repository vs a monolith Aug 23, 2022 Keep your caching simple and inexpensive Jun 12, 2022 Java is no longer relevant May 29, 2022 There is no such thing as one grand unified full-stack programming language May 27, 2022 Best practices for building a microservice architecture Apr 25, 2022 TypeScript is a productivity problem in and of itself Apr 20, 2022 In most cases, there is no need for NoSQL Apr 18, 2022 Node.js and Lambda deployment size restrictions Mar 1, 2021 Should we abolish Section 230 ? Feb 1, 2021 TDWI 2019: Architecting Modern Big Data API Ecosystems May 30, 2019 Microsoft acquires Citus Data Jan 26, 2019 Which AWS messaging and queuing service to use? Jan 25, 2019 Using Markov Chain Generator to create Donald Trump's state of union speech Jan 20, 2019 Let’s talk cloud neutrality Sep 17, 2018 A conservative version of Facebook? Aug 30, 2018 TypeScript starts where JavaScript leaves off Aug 2, 2017 Design patterns in TypeScript: Chain of Responsibility Jul 22, 2017 I built an ultimate development environment for iPad Pro. Here is how. Jul 21, 2017 Rather than innovating Walmart bullies their tech vendors to leave AWS Jun 27, 2017 Emails, politics, and common sense Jan 14, 2017 Don't trust your cloud service until you've read the terms Sep 27, 2016 I am addicted to Medium, and I am tempted to move my entire blog to it Sep 9, 2016 What I learned from using Amazon Alexa for a month Sep 7, 2016 Amazon Alexa is eating the retailers alive Jun 22, 2016 In search for the mythical neutrality among top-tier public cloud providers Jun 18, 2016 What can we learn from the last week's salesforce.com outage ? May 15, 2016 Why it makes perfect sense for Dropbox to leave AWS May 7, 2016 Managed IT is not the future of the cloud Apr 9, 2016 JavaScript as the language of the cloud Feb 20, 2016 Our civilization has a single point of failure Dec 16, 2015 Operations costs are the Achille's heel of NoSQL Nov 23, 2015 IT departments must transform in the face of the cloud revolution Nov 9, 2015 Setting Up Cross-Region Replication of AWS RDS for PostgreSQL Sep 12, 2015 Top Ten Differences Between ActiveMQ and Amazon SQS Sep 5, 2015 Ten Questions to Consider Before Choosing Cassandra Aug 8, 2015 The Three Myths About JavaScript Simplicity Jul 10, 2015 Big Data is not all about Hadoop May 30, 2015 Smart IT Departments Own Their Business API and Take Ownership of Data Governance May 13, 2015 Guaranteeing Delivery of Messages with AWS SQS May 9, 2015 We Need a Cloud Version of Cassandra May 7, 2015 Building a Supercomputer in AWS: Is it even worth it ? Apr 13, 2015 Ordered Sets and Logs in Cassandra vs SQL Apr 8, 2015 Exploration of the Software Engineering as a Profession Apr 8, 2015 Finding Unused Elastic Load Balancers Mar 24, 2015 Where AWS Elastic BeanStalk Could be Better Mar 3, 2015 Trying to Replace Cassandra with DynamoDB ? Not so fast Feb 2, 2015 Why I am Tempted to Replace Cassandra With DynamoDB Nov 13, 2014 How We Overcomplicated Web Design Oct 8, 2014 Infrastructure in the cloud vs on-premise Aug 25, 2014 Cassandra: a key puzzle piece in a design for failure Aug 18, 2014 Cassandra: Lessons Learned Jun 6, 2014

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.