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

Memcached

7.6K
5.5K
+ 1
473
ScyllaDB

131
182
+ 1
8
Add tool

Memcached vs Scylla: What are the differences?

# Key Differences between Memcached and Scylla

Memcached and Scylla are both popular choices for caching and data storage in modern applications, but they differ in several key aspects. 

1. **Data Model**: Memcached is a simple key-value store, while Scylla is a distributed NoSQL database that supports a wide range of data models including wide columns, JSON, and more. This difference in data model capabilities gives Scylla more flexibility in handling various types of data compared to Memcached.

2. **Consistency**: Memcached provides eventual consistency, meaning that there can be a delay in data synchronization across nodes. On the other hand, Scylla offers strong consistency with support for tunable consistency levels, ensuring data accuracy and integrity in distributed environments.

3. **Scaling**: Memcached is designed to be a caching layer and may not scale as efficiently for large datasets or high-throughput applications. In contrast, Scylla is built for horizontal scalability, allowing it to handle massive amounts of data and traffic with ease.

4. **Data Persistence**: Memcached is an in-memory store with no built-in persistence, meaning that data can be lost if a node fails. In comparison, Scylla offers durable data storage by persisting data to disk, ensuring data integrity even in the event of hardware failures.

5. **Deployment Complexity**: Setting up and maintaining a Memcached cluster is relatively straightforward, making it easier to deploy for smaller projects or temporary caching needs. On the other hand, deploying Scylla requires more operational overhead due to its distributed nature and configuration options.

6. **Query Language**: Memcached does not provide a query language, as it simply stores and retrieves key-value pairs. In contrast, Scylla supports CQL (Cassandra Query Language), a powerful SQL-like language for interacting with the database, offering more advanced querying capabilities.

In Summary, Memcached and Scylla differ in terms of data model, consistency, scaling capabilities, data persistence, deployment complexity, and query language support.
Advice on Memcached and ScyllaDB
Vinay Mehta
Needs advice
on
CassandraCassandra
and
ScyllaDBScyllaDB

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.

See more
Replies (4)
Recommends
on
ScyllaDBScyllaDB

Scylla can handle 1M/s events with a simple data model quite easily. The api to query is CQL, we have REST api but that's for control/monitoring

See more
Alex Peake
Recommends
on
CassandraCassandra

Cassandra is quite capable of the task, in a highly available way, given appropriate scaling of the system. Remember that updates are only inserts, and that efficient retrieval is only by key (which can be a complex key). Talking of keys, make sure that the keys are well distributed.

See more
Recommends
on
ScyllaDBScyllaDB

By 55M do you mean 55 million entity changes per 2 minutes? It is relatively high, means almost 460k per second. If I had to choose between Scylla or Cassandra, I would opt for Scylla as it is promising better performance for simple operations. However, maybe it would be worth to consider yet another alternative technology. Take into consideration required consistency, reliability and high availability and you may realize that there are more suitable once. Rest API should not be the main driver, because you can always develop the API yourself, if not supported by given technology.

See more
Pankaj Soni
Chief Technical Officer at Software Joint · | 2 upvotes · 146.4K views
Recommends
on
CassandraCassandra

i love syclla for pet projects however it's license which is based on server model is an issue. thus i recommend cassandra

See more
Decisions about Memcached and ScyllaDB
Tom Klein

The Gentlent Tech Team made lots of updates within the past year. The biggest one being our database:

We decided to migrate our #PostgreSQL -based database systems to a custom implementation of #Cassandra . This allows us to integrate our product data perfectly in a system that just makes sense. High availability and scalability are supported out of the box.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Memcached
Pros of ScyllaDB
  • 139
    Fast object cache
  • 129
    High-performance
  • 91
    Stable
  • 65
    Mature
  • 33
    Distributed caching system
  • 11
    Improved response time and throughput
  • 3
    Great for caching HTML
  • 2
    Putta
  • 2
    Replication
  • 1
    Fewer nodes
  • 1
    Distributed
  • 1
    Scale up
  • 1
    High availability
  • 1
    Written in C++
  • 1
    High performance

Sign up to add or upvote prosMake informed product decisions

Cons of Memcached
Cons of ScyllaDB
  • 2
    Only caches simple types
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is 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.

    What is ScyllaDB?

    ScyllaDB is the database for data-intensive apps that require high performance and low latency. It enables teams to harness the ever-increasing computing power of modern infrastructures – eliminating barriers to scale as data grows.

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

    What companies use Memcached?
    What companies use ScyllaDB?
    See which teams inside your own company are using Memcached or ScyllaDB.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with Memcached?
    What tools integrate with ScyllaDB?

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

    Blog Posts

    Dec 22 2020 at 9:26PM

    Pinterest

    Amazon EC2C langMemcached+4
    10
    2612
    Jun 6 2019 at 5:11PM

    AppSignal

    RedisRubyKafka+9
    15
    1634
    GitHubDockerReact+17
    40
    36153
    GitHubPythonNode.js+47
    54
    72278
    JavaScriptGitHubNode.js+26
    20
    4938
    JavaScriptGitHubPython+42
    53
    21798
    What are some alternatives to Memcached and ScyllaDB?
    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.
    Ehcache
    Ehcache is an open source, standards-based cache for boosting performance, offloading your database, and simplifying scalability. It's the most widely-used Java-based cache because it's robust, proven, and full-featured. Ehcache scales from in-process, with one or more nodes, all the way to mixed in-process/out-of-process configurations with terabyte-sized caches.
    Varnish
    Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.
    Hazelcast
    With its various distributed data structures, distributed caching capabilities, elastic nature, memcache support, integration with Spring and Hibernate and more importantly with so many happy users, Hazelcast is feature-rich, enterprise-ready and developer-friendly in-memory data grid solution.
    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.
    See all alternatives