StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Databases
  4. Databases
  5. Cassandra vs Serverless

Cassandra vs Serverless

OverviewDecisionsComparisonAlternatives

Overview

Cassandra
Cassandra
Stacks3.6K
Followers3.5K
Votes507
GitHub Stars9.5K
Forks3.8K
Serverless
Serverless
Stacks2.2K
Followers1.2K
Votes28
GitHub Stars46.9K
Forks5.7K

Cassandra vs Serverless: What are the differences?

Introduction

Cassandra and Serverless are two different technologies that are widely used in the software industry. Cassandra is a distributed database management system, whereas Serverless is a cloud computing service that allows developers to build and run applications without the need to manage infrastructure. Although both serve different purposes, there are key differences between these technologies that are worth noting.

  1. Scalability: Cassandra is designed to handle massive amounts of data across multiple commodity servers. It can scale horizontally by adding more servers to the cluster, allowing it to handle increased data loads efficiently. On the other hand, Serverless is built to scale applications automatically based on the incoming workload. With Serverless, developers don't have to worry about provisioning or managing resources, as the infrastructure scales seamlessly in response to demand.

  2. Data Model: Cassandra follows a NoSQL data model, specifically a wide column store. It allows for flexible schema designs and can handle structured, semi-structured, and unstructured data. Serverless, on the other hand, does not prescribe any particular data model. It can work with a variety of data models and databases, including both SQL and NoSQL databases.

  3. Pricing Model: Cassandra is typically deployed on-premises or in a self-managed cloud environment, where users have to provision and manage the infrastructure themselves. The costs associated with Cassandra are mainly for hardware, maintenance, and support. Serverless, on the other hand, follows a pay-as-you-go pricing model. Users are billed based on the actual usage of resources, such as compute power, memory, and storage. This can be more cost-effective for applications with varying workloads.

  4. Development Approach: Cassandra requires developers to write code to interact with the database. Queries are written using Cassandra Query Language (CQL), which is similar to SQL but with some specific syntax and features. Serverless, on the other hand, abstracts away the infrastructure layer, allowing developers to focus solely on writing code for their application logic. Serverless platforms provide SDKs and APIs to interact with different services, making it easier to develop and deploy applications.

  5. Deployment Flexibility: Cassandra can be deployed on various infrastructure configurations, including on-premises data centers, private clouds, and public cloud platforms. It offers flexibility in choosing the deployment model that suits the organization's requirements. Serverless, on the other hand, is typically deployed on a cloud provider's infrastructure, and the deployment options are limited to the available regions and services provided by the cloud provider.

  6. Management Overhead: Managing a Cassandra cluster requires expertise in database administration, monitoring, and scaling. Users have to handle tasks such as data replication, backup and recovery, and performance optimization. Serverless abstracts away most of the infrastructure management tasks, relieving developers from these responsibilities. The cloud provider takes care of infrastructure provisioning, scaling, and maintenance, allowing developers to focus more on application development.

In summary, Cassandra is a distributed database system designed for scalability and flexibility in handling massive amounts of data. Serverless, on the other hand, is a cloud computing service that abstracts away infrastructure management and allows for easy development and scalability of applications.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Cassandra, Serverless

Tim
Tim

CTO at Checkly Inc.

Sep 18, 2019

Needs adviceonHerokuHerokuAWS LambdaAWS Lambda

When adding a new feature to Checkly rearchitecting some older piece, I tend to pick Heroku for rolling it out. But not always, because sometimes I pick AWS Lambda . The short story:

  • Developer Experience trumps everything.
  • AWS Lambda is cheap. Up to a limit though. This impact not only your wallet.
  • If you need geographic spread, AWS is lonely at the top.

The setup

Recently, I was doing a brainstorm at a startup here in Berlin on the future of their infrastructure. They were ready to move on from their initial, almost 100% Ec2 + Chef based setup. Everything was on the table. But we crossed out a lot quite quickly:

  • Pure, uncut, self hosted Kubernetes — way too much complexity
  • Managed Kubernetes in various flavors — still too much complexity
  • Zeit — Maybe, but no Docker support
  • Elastic Beanstalk — Maybe, bit old but does the job
  • Heroku
  • Lambda

It became clear a mix of PaaS and FaaS was the way to go. What a surprise! That is exactly what I use for Checkly! But when do you pick which model?

I chopped that question up into the following categories:

  • Developer Experience / DX 🤓
  • Ops Experience / OX 🐂 (?)
  • Cost 💵
  • Lock in 🔐

Read the full post linked below for all details

357k views357k
Comments
Vinay
Vinay

Head of Engineering

Sep 19, 2019

Needs advice

The problem I have is - we need to process & change(update/insert) 55M Data every 2 min and this updated data to be available for Rest API for Filtering / Selection. Response time for Rest API should be less than 1 sec.

The most important factors for me are processing and storing time of 2 min. There need to be 2 views of Data One is for Selection & 2. Changed data.

174k views174k
Comments

Detailed Comparison

Cassandra
Cassandra
Serverless
Serverless

Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.

Build applications comprised of microservices that run in response to events, auto-scale for you, and only charge you when they run. This lowers the total cost of maintaining your apps, enabling you to build more logic, faster. The Framework uses new event-driven compute services, like AWS Lambda, Google CloudFunctions, and more.

Statistics
GitHub Stars
9.5K
GitHub Stars
46.9K
GitHub Forks
3.8K
GitHub Forks
5.7K
Stacks
3.6K
Stacks
2.2K
Followers
3.5K
Followers
1.2K
Votes
507
Votes
28
Pros & Cons
Pros
  • 119
    Distributed
  • 98
    High performance
  • 81
    High availability
  • 74
    Easy scalability
  • 53
    Replication
Cons
  • 3
    Reliability of replication
  • 1
    Size
  • 1
    Updates
Pros
  • 14
    API integration
  • 7
    Supports cloud functions for Google, Azure, and IBM
  • 3
    Lower cost
  • 1
    Auto scale
  • 1
    3. Simplified Management for developers to focus on cod
Integrations
No integrations available
Azure Functions
Azure Functions
AWS Lambda
AWS Lambda
Amazon API Gateway
Amazon API Gateway

What are some alternatives to Cassandra, Serverless?

MongoDB

MongoDB

MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.

MySQL

MySQL

The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.

PostgreSQL

PostgreSQL

PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.

Microsoft SQL Server

Microsoft SQL Server

Microsoft® SQL Server is a database management and analysis system for e-commerce, line-of-business, and data warehousing solutions.

SQLite

SQLite

SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.

Memcached

Memcached

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

MariaDB

MariaDB

Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry. MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

AWS Lambda

AWS Lambda

AWS Lambda is a compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security.

RethinkDB

RethinkDB

RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.

ArangoDB

ArangoDB

A distributed free and open-source database with a flexible data model for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase