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

Amazon S3

53K
39.7K
+ 1
2K
Redis

59.2K
45.5K
+ 1
3.9K
Add tool

Amazon S3 vs Redis: What are the differences?

Introduction

Amazon S3 and Redis are both widely used technologies for different purposes. Amazon S3 is primarily a cloud-based storage service, while Redis is an in-memory data structure store. Here are the key differences between the two:

  1. Data Storage: One of the primary differences between Amazon S3 and Redis is the way they store data. Amazon S3 is designed for long-term storage of large amounts of data, making it suitable for static file storage and backups. On the other hand, Redis is an in-memory data store, which means it primarily stores data in RAM, allowing for fast and efficient access.

  2. Data Retrieval: When it comes to retrieving data, Redis has an advantage over Amazon S3. Redis stores data in RAM, which enables extremely low-latency access to the data. On the other hand, Amazon S3 requires retrieving data from disk, which can introduce some latency, especially when dealing with large amounts of data.

  3. Data Structure Support: Redis offers a wide variety of data structures that can be stored and manipulated, such as strings, lists, sets, and sorted sets. This makes it suitable for building complex data models and performing operations directly on the data. Amazon S3, on the other hand, primarily focuses on storing and retrieving files, so it does not provide native support for data manipulation.

  4. Scalability: Both Amazon S3 and Redis are designed to be highly scalable, but they achieve scalability in different ways. Amazon S3 is a distributed storage system that automatically handles the storage and replication of data across multiple servers. Redis, on the other hand, can be scaled horizontally by adding multiple instances and using techniques like sharding to distribute the data across those instances.

  5. Ease of Use: When it comes to ease of use, Amazon S3 has a higher level of abstraction, making it generally easier to use for storage purposes. It provides a simple interface for uploading and downloading files, and also integrates well with other AWS services. Redis, on the other hand, requires more knowledge and expertise to set up and use effectively, especially when it comes to managing data models and performing complex operations.

  6. Data Persistence: Redis provides options for data persistence, allowing you to save the data to disk and recover it in case of server reboots or failures. Amazon S3 also provides durability and high availability for data, but it does not offer the same level of persistence as Redis. In Amazon S3, the data is stored redundantly across multiple servers, ensuring durability, but there is no built-in mechanism for persistent storage within a single instance.

In summary, Amazon S3 is a cloud storage service designed for long-term storage of large volumes of data, while Redis is an in-memory data structure store optimized for fast data access and manipulation. They differ in terms of data storage, retrieval, supported data structures, scalability, ease of use, and data persistence.

Advice on Amazon S3 and Redis

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.

See more
Replies (2)
Michira Griffins
Software Developer at Codeshares Ltd · | 1 upvotes · 120K views

If pricing is the issue i'd suggest you use digital ocean, but if its not use amazon was digital oceans API is s3 compatible

See more
Recommends
on
Cloudways Cloudways

Hello Mohammad, I am using : Cloudways >> AWS >> Bahrain for last 2 years. This is best I consider out of my 10 year research on Laravel hosting.

See more
Decisions about Amazon S3 and Redis

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.

See more
Gabriel Pa

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.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Amazon S3
Pros of Redis
  • 590
    Reliable
  • 492
    Scalable
  • 456
    Cheap
  • 329
    Simple & easy
  • 83
    Many sdks
  • 30
    Logical
  • 13
    Easy Setup
  • 11
    REST API
  • 11
    1000+ POPs
  • 6
    Secure
  • 4
    Plug and play
  • 4
    Easy
  • 3
    Web UI for uploading files
  • 2
    Faster on response
  • 2
    Flexible
  • 2
    GDPR ready
  • 1
    Easy to use
  • 1
    Plug-gable
  • 1
    Easy integration with CloudFront
  • 886
    Performance
  • 542
    Super fast
  • 513
    Ease of use
  • 444
    In-memory cache
  • 324
    Advanced key-value cache
  • 194
    Open source
  • 182
    Easy to deploy
  • 164
    Stable
  • 155
    Free
  • 121
    Fast
  • 42
    High-Performance
  • 40
    High Availability
  • 35
    Data Structures
  • 32
    Very Scalable
  • 24
    Replication
  • 22
    Great community
  • 22
    Pub/Sub
  • 19
    "NoSQL" key-value data store
  • 16
    Hashes
  • 13
    Sets
  • 11
    Sorted Sets
  • 10
    NoSQL
  • 10
    Lists
  • 9
    Async replication
  • 9
    BSD licensed
  • 8
    Bitmaps
  • 8
    Integrates super easy with Sidekiq for Rails background
  • 7
    Keys with a limited time-to-live
  • 7
    Open Source
  • 6
    Lua scripting
  • 6
    Strings
  • 5
    Awesomeness for Free
  • 5
    Hyperloglogs
  • 4
    Transactions
  • 4
    Outstanding performance
  • 4
    Runs server side LUA
  • 4
    LRU eviction of keys
  • 4
    Feature Rich
  • 4
    Written in ANSI C
  • 4
    Networked
  • 3
    Data structure server
  • 3
    Performance & ease of use
  • 2
    Dont save data if no subscribers are found
  • 2
    Automatic failover
  • 2
    Easy to use
  • 2
    Temporarily kept on disk
  • 2
    Scalable
  • 2
    Existing Laravel Integration
  • 2
    Channels concept
  • 2
    Object [key/value] size each 500 MB
  • 2
    Simple

Sign up to add or upvote prosMake informed product decisions

Cons of Amazon S3
Cons of Redis
  • 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
  • 15
    Cannot query objects directly
  • 3
    No secondary indexes for non-numeric data types
  • 1
    No WAL

Sign up to add or upvote consMake informed product decisions

What is Amazon S3?

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

What is Redis?

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.

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

Jobs that mention Amazon S3 and Redis as a desired skillset
LaunchDarkly
Oakland, California, United States
What companies use Amazon S3?
What companies use Redis?
Manage your open source components, licenses, and vulnerabilities
Learn More

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

What tools integrate with Amazon S3?
What tools integrate with Redis?

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

What are some alternatives to Amazon S3 and Redis?
Amazon Glacier
In order to keep costs low, Amazon Glacier is optimized for data that is infrequently accessed and for which retrieval times of several hours are suitable. With Amazon Glacier, customers can reliably store large or small amounts of data for as little as $0.01 per gigabyte per month, a significant savings compared to on-premises solutions.
Amazon EBS
Amazon EBS volumes are network-attached, and persist independently from the life of an instance. Amazon EBS provides highly available, highly reliable, predictable storage volumes that can be attached to a running Amazon EC2 instance and exposed as a device within the instance. Amazon EBS is particularly suited for applications that require a database, file system, or access to raw block level storage.
Amazon EC2
It is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.
Google Drive
Keep photos, stories, designs, drawings, recordings, videos, and more. Your first 15 GB of storage are free with a Google Account. Your files in Drive can be reached from any smartphone, tablet, or computer.
Microsoft Azure
Azure is an open and flexible cloud platform that enables you to quickly build, deploy and manage applications across a global network of Microsoft-managed datacenters. You can build applications using any language, tool or framework. And you can integrate your public cloud applications with your existing IT environment.
See all alternatives