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 Memcached

Amazon S3 vs Memcached

OverviewDecisionsComparisonAlternatives

Overview

Amazon S3
Amazon S3
Stacks55.1K
Followers40.2K
Votes2.0K
Memcached
Memcached
Stacks7.9K
Followers5.7K
Votes473
GitHub Stars14.0K
Forks3.3K

Amazon S3 vs Memcached: What are the differences?

Amazon S3 and Memcached are both popular tools used in web development, but they have key differences that set them apart. Here are the main differences between Amazon S3 and Memcached:
  1. Scalability: Amazon S3 is a highly scalable storage service that allows for infinite storage capacity. It can handle large amounts of data and is designed to handle high traffic loads. On the other hand, Memcached is an in-memory caching system that is primarily used for speeding up database-driven websites. While it can also handle a significant amount of data, its scalability is limited by the available memory on the server it is running on.

  2. Data Persistence: Amazon S3 is a fully durable storage service, meaning that once data is written to S3, it is highly resilient and durable even in the event of hardware failures. It provides automatic backup and replication mechanisms to ensure data durability. In contrast, Memcached is an in-memory caching system and does not provide built-in mechanisms for data persistence. If the server running Memcached were to fail, the cached data would be lost.

  3. Data Access: Amazon S3 provides RESTful APIs to access and manipulate data stored in it. This makes it easy to integrate with various applications and services. Also, S3 can be accessed from anywhere with an internet connection. On the other hand, Memcached does not provide a RESTful interface. Instead, it provides a simple key-value interface based on the Memcached protocol. It is typically accessed locally or within a network, making it more suited for caching data within a single application or server.

  4. Data Retrieval Speed: Amazon S3 is optimized for storing and retrieving large files and can handle a high throughput of data requests. However, it may have higher latency compared to Memcached when it comes to retrieving small, frequently accessed data, as S3 has to perform disk operations to retrieve the data. In contrast, Memcached is an in-memory cache and can provide very low latency for retrieving frequently accessed data, making it ideal for improving website performance.

  5. Cost Model: Amazon S3 follows a pay-as-you-go pricing model, where users are charged for the amount of data stored and the bandwidth used for data transfers. This allows for flexibility and cost control based on actual usage. On the other hand, Memcached is an open-source software and does not have any direct costs associated with it. However, the cost of deploying and maintaining the servers running Memcached needs to be considered.

  6. Use Cases: Amazon S3 is commonly used for storing and serving static files, hosting websites, backup and restore, and large-scale data analytics. It is preferred for scenarios that require durability, availability, scalability, and high throughput. Memcached, on the other hand, is primarily used for caching frequently accessed data to improve website performance. It is suited for scenarios where low-latency data access is critical, such as session management, database query caching, and dynamic content generation.

In summary, Amazon S3 is a highly scalable and durable storage service optimized for large-scale data storage and retrieval, while Memcached is an in-memory caching system focused on improving website performance by caching frequently accessed data. The choice between the two depends on the specific use case and requirements of the application or website.

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, Memcached

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
Memcached
Memcached

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

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.

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.
-
Statistics
GitHub Stars
-
GitHub Stars
14.0K
GitHub Forks
-
GitHub Forks
3.3K
Stacks
55.1K
Stacks
7.9K
Followers
40.2K
Followers
5.7K
Votes
2.0K
Votes
473
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
  • 139
    Fast object cache
  • 129
    High-performance
  • 91
    Stable
  • 65
    Mature
  • 33
    Distributed caching system
Cons
  • 2
    Only caches simple types

What are some alternatives to Amazon S3, Memcached?

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.

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.

InfluxDB

InfluxDB

InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running. InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out.

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