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. Infrastructure as a Service
  4. Cloud Storage
  5. Amazon S3 vs RocksDB

Amazon S3 vs RocksDB

OverviewDecisionsComparisonAlternatives

Overview

Amazon S3
Amazon S3
Stacks55.1K
Followers40.2K
Votes2.0K
RocksDB
RocksDB
Stacks141
Followers290
Votes11
GitHub Stars30.9K
Forks6.6K

Amazon S3 vs RocksDB: What are the differences?

Key Differences between Amazon S3 and RocksDB

Amazon S3 and RocksDB are both important tools in the world of data storage and management. However, they have some key differences that set them apart.

1. Scalability:

  • Amazon S3: Amazon S3 is designed to handle massive scalability. It can store and retrieve any amount of data from anywhere on the web. It is built to accommodate growing data volumes and can handle a tremendous number of requests per second.
  • RocksDB: While RocksDB is also scalable, it is better suited for smaller-scale applications. It is optimized for fast storage and retrieval on local disks or flash-based storage systems.

2. Data Durability:

  • Amazon S3: Amazon S3 provides high durability for data. It automatically replicates data across multiple devices and facilities within a region, ensuring that data is highly available and durable.
  • RocksDB: RocksDB, on the other hand, does not provide built-in data replication or durability features. It relies on the underlying storage system for durability.

3. Data Model:

  • Amazon S3: Amazon S3 is an object storage service, where each object is identified by a unique key within a bucket. It does not support complex data structures or indexing.
  • RocksDB: RocksDB is an embedded key-value store that supports a wide range of data models. It allows developers to create and manage complex data structures, supports atomic updates, and provides various types of indexes.

4. Performance:

  • Amazon S3: While Amazon S3 is highly scalable, its performance can be affected by factors such as network latency, request size, and the number of requests per second. It is optimized for high throughput rather than low latency.
  • RocksDB: RocksDB is designed for low-latency storage and retrieval. It is optimized for fast random reads and writes, making it well-suited for applications that require high-performance data access.

5. Cost:

  • Amazon S3: Amazon S3 pricing is based on the amount of data stored, the number of requests made, and the data transfer out of the service. It can be relatively expensive for storing large amounts of data.
  • RocksDB: RocksDB is an open-source project and can be used without any additional cost. However, the cost of underlying hardware and storage devices needs to be considered.

6. Use Cases:

  • Amazon S3: Amazon S3 is commonly used for storing and distributing static web content, backup and restore, data archiving, big data analytics, and as a content delivery network (CDN) cache.
  • RocksDB: RocksDB is often used as an embedded database within applications, providing fast and efficient storage for data caching, session management, and data indexing.

In Summary, Amazon S3 is a highly scalable object storage service, optimized for durability and availability, while RocksDB is an embedded key-value store, optimized for low-latency storage and retrieval, and flexibility in data modeling.

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 Amazon S3, RocksDB

Mohammad
Mohammad

Aug 30, 2020

Needs adviceonBackblaze B2 Cloud StorageBackblaze B2 Cloud StoragePHPPHPLaravelLaravel

Hello! I have a mobile app with nearly 100k MAU, and I want to add a cloud file storage service to my app.

My app will allow users to store their image, video, and audio files and retrieve them to their device when necessary.

I have already decided to use PHP & Laravel as my backend, and I use Contabo VPS. Now, I need an object storage service for my app, and my options are:

  • Amazon S3 : It sounds to me like the best option but the most expensive. Closest to my users (MENA Region) for other services, I will have to go to Europe. Not sure how important this is?

  • DigitalOcean Spaces : Seems like my best option for price/service, but I am still not sure

  • Wasabi: the best price (6 USD/MONTH/TB) and free bandwidth, but I am not sure if it fits my needs as I want to allow my users to preview audio and video files. They don't recommend their service for streaming videos.

  • Backblaze B2 Cloud Storage: Good price but not sure about them.

  • There is also the self-hosted s3 compatible option, but I am not sure about that.

Any thoughts will be helpful. Also, if you think I should post in a different sub, please tell me.

180k views180k
Comments
Dalton
Dalton

Oct 23, 2020

Decided

Minio is a free and open source object storage system. It can be self-hosted and is S3 compatible. During the early stage it would save cost and allow us to move to a different object storage when we scale up. It is also fast and easy to set up. This is very useful during development since it can be run on localhost.

143k views143k
Comments
Gabriel
Gabriel

CEO at NaoLogic Inc

Dec 24, 2019

Decided

We offer our customer HIPAA compliant storage. After analyzing the market, we decided to go with Google Storage. The Nodejs API is ok, still not ES6 and can be very confusing to use. For each new customer, we created a different bucket so they can have individual data and not have to worry about data loss. After 1000+ customers we started seeing many problems with the creation of new buckets, with saving or retrieving a new file. Many false positive: the Promise returned ok, but in reality, it failed.

That's why we switched to S3 that just works.

330k views330k
Comments

Detailed Comparison

Amazon S3
Amazon S3
RocksDB
RocksDB

Amazon Simple Storage Service provides a fully redundant data storage infrastructure for storing and retrieving any amount of data, at any time, from anywhere on the web

RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads. RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores, to efficiently use fast storage, to support IO-bound, in-memory and write-once workloads, and to be flexible to allow for innovation.

Write, read, and delete objects containing from 1 byte to 5 terabytes of data each. The number of objects you can store is unlimited.;Each object is stored in a bucket and retrieved via a unique, developer-assigned key.;A bucket can be stored in one of several Regions. You can choose a Region to optimize for latency, minimize costs, or address regulatory requirements. Amazon S3 is currently available in the US Standard, US West (Oregon), US West (Northern California), EU (Ireland), Asia Pacific (Singapore), Asia Pacific (Tokyo), Asia Pacific (Sydney), South America (Sao Paulo), and GovCloud (US) Regions. The US Standard Region automatically routes requests to facilities in Northern Virginia or the Pacific Northwest using network maps.;Objects stored in a Region never leave the Region unless you transfer them out. For example, objects stored in the EU (Ireland) Region never leave the EU.;Authentication mechanisms are provided to ensure that data is kept secure from unauthorized access. Objects can be made private or public, and rights can be granted to specific users.;Options for secure data upload/download and encryption of data at rest are provided for additional data protection.;Uses standards-based REST and SOAP interfaces designed to work with any Internet-development toolkit.;Built to be flexible so that protocol or functional layers can easily be added. The default download protocol is HTTP. A BitTorrent protocol interface is provided to lower costs for high-scale distribution.;Provides functionality to simplify manageability of data through its lifetime. Includes options for segregating data by buckets, monitoring and controlling spend, and automatically archiving data to even lower cost storage options. These options can be easily administered from the Amazon S3 Management Console.;Reliability backed with the Amazon S3 Service Level Agreement.
Designed for application servers wanting to store up to a few terabytes of data on locally attached Flash drives or in RAM;Optimized for storing small to medium size key-values on fast storage -- flash devices or in-memory;Scales linearly with number of CPUs so that it works well on ARM processors
Statistics
GitHub Stars
-
GitHub Stars
30.9K
GitHub Forks
-
GitHub Forks
6.6K
Stacks
55.1K
Stacks
141
Followers
40.2K
Followers
290
Votes
2.0K
Votes
11
Pros & Cons
Pros
  • 590
    Reliable
  • 492
    Scalable
  • 456
    Cheap
  • 329
    Simple & easy
  • 83
    Many sdks
Cons
  • 7
    Permissions take some time to get right
  • 6
    Requires a credit card
  • 6
    Takes time/work to organize buckets & folders properly
  • 3
    Complex to set up
Pros
  • 5
    Very fast
  • 3
    Made by Facebook
  • 2
    Consistent performance
  • 1
    Ability to add logic to the database layer where needed

What are some alternatives to Amazon S3, RocksDB?

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.

Cassandra

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.

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.

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