Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Cassandra
Cassandra

2.2K
1.8K
+ 1
444
SQLite
SQLite

3.7K
3K
+ 1
505
Add tool

Cassandra vs SQLite: What are the differences?

Developers describe Cassandra as "A partitioned row store. Rows are organized into tables with a required primary key". 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. On the other hand, SQLite is detailed as "A software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine". 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.

Cassandra and SQLite can be categorized as "Databases" tools.

"Distributed", "High performance" and "High availability" are the key factors why developers consider Cassandra; whereas "Lightweight", "Portable" and "Simple" are the primary reasons why SQLite is favored.

Cassandra is an open source tool with 5.27K GitHub stars and 2.35K GitHub forks. Here's a link to Cassandra's open source repository on GitHub.

Intuit, Coderus, and Infoshare are some of the popular companies that use SQLite, whereas Cassandra is used by Uber Technologies, Facebook, and Spotify. SQLite has a broader approval, being mentioned in 314 company stacks & 477 developers stacks; compared to Cassandra, which is listed in 342 company stacks and 239 developer stacks.

- No public GitHub repository available -

What is Cassandra?

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.

What is 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.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Cassandra?
Why do developers choose SQLite?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Cassandra?
    What companies use SQLite?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Cassandra?
    What tools integrate with SQLite?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Cassandra and SQLite?
    HBase
    Apache HBase is an open-source, distributed, versioned, column-oriented store modeled after Google' Bigtable: A Distributed Storage System for Structured Data by Chang et al. Just as Bigtable leverages the distributed data storage provided by the Google File System, HBase provides Bigtable-like capabilities on top of Apache Hadoop.
    Hadoop
    The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.
    Redis
    Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
    Couchbase
    Developed as an alternative to traditionally inflexible SQL databases, the Couchbase NoSQL database is built on an open source foundation and architected to help developers solve real-world problems and meet high scalability demands.
    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.
    See all alternatives
    Decisions about Cassandra and SQLite
    Daniel Quinn
    Daniel Quinn
    Senior Developer at Workfinder · | 2 upvotes · 72.7K views
    atThe Paperless ProjectThe Paperless Project
    SQLite
    SQLite
    PostgreSQL
    PostgreSQL

    SQLite is a tricky beast. It's great if you're working single-threaded, but a Terrible Idea if you've got more than one concurrent connection. You use it because it's easy to setup, light, and portable (it's just a file).

    In Paperless, we've built a self-hosted web application, so it makes sense to standardise on something small & light, and as we don't have to worry about multiple connections (it's just you using the app), it's a perfect fit.

    For users wanting to scale Paperless up to a multi-user environment though, we do provide the hooks to switch to PostgreSQL .

    See more
    Interest over time
    Reviews of Cassandra and SQLite
    No reviews found
    How developers use Cassandra and SQLite
    Avatar of Soundcloud
    Soundcloud uses CassandraCassandra

    Stitch is a wrapper around a Cassandra database. It has a web application that provides read-access to the counts through an HTTP API. The counts are written to Cassandra in two distinct ways, and it's possible to use either or both of them:

    • Real-time: For real-time updates, Stitch has a processor application that handles a stream of events coming from a broker and increments the appropriate counts in Cassandra.

    • Batch: The batch part is a MapReduce job running on Hadoop that reads event logs, calculates the overall totals, and bulk loads this into Cassandra.

    Avatar of Romans Malinovskis
    Romans Malinovskis uses SQLiteSQLite

    We build queries in PHP with DSQL that work with SQLite. We also have SQLite data controller, so that you can build SQLite-based models.

    Avatar of Coolfront Technologies
    Coolfront Technologies uses SQLiteSQLite

    Used during the "build process" of Coolfront Mobile's Flat rate search engine database. Flat rate data that resides in Salesforce is transformed using SQLite into a format that is usable for our mobile Flat rate search engine (AKA: Charlie).

    Avatar of Sripathi Krishnan
    Sripathi Krishnan uses SQLiteSQLite

    RDBTools is a self-hosted application, and it is important that the installation process is simple. With SQLite, we create a new database file for every analysis. Once the analysis is done, the SQLite file can be thrown away easily.

    Avatar of Vital Labs, Inc.
    Vital Labs, Inc. uses CassandraCassandra

    Cassandra is our data management workhorse. It handles all our key-value services, supports time-series data storage and retrieval, securely stores all our audit trails, and backs our Datomic database.

    Avatar of Perljobs.Ru
    Perljobs.Ru uses SQLiteSQLite

    All the dynamic data (i.e.: jobs) is stored in a simple SQLite database.

    Все динамические данные (вакансии) хранятся в простой SQLite БД.

    Avatar of SocialCops
    SocialCops uses CassandraCassandra

    While we experimented with Cassandra in the past, we are no longer using it. It is, however, open for consideration in future projects.

    Avatar of ShareThis
    ShareThis uses CassandraCassandra

    We are using Cassandra in a few of our apps. One of them is as a count service application to track the number of shares, clicks.. etc

    Avatar of A. M. Douglas
    A. M. Douglas uses SQLiteSQLite

    There's really no call for something heavier for this site. SQLite is simple, easy to use and quite reliable given its age.

    Avatar of Kaiko
    Kaiko uses CassandraCassandra
    How much does Cassandra cost?
    How much does SQLite cost?
    Pricing unavailable
    Pricing unavailable