Software Alternatives, Accelerators & Startups

memcached VS Hangfire

Compare memcached VS Hangfire and see what are their differences

memcached logo memcached

High-performance, distributed memory object caching system

Hangfire logo Hangfire

An easy way to perform background processing in .NET and .NET Core applications.
  • memcached Landing page
    Landing page //
    2023-07-23
  • Hangfire Landing page
    Landing page //
    2023-10-04

memcached videos

Course Preview: Using Memcached and Varnish to Speed Up Your Linux Web App

Hangfire videos

AK 47 Wasr Hangfire - shooter beware

Category Popularity

0-100% (relative to memcached and Hangfire)
Databases
100 100%
0% 0
Data Integration
0 0%
100% 100
NoSQL Databases
100 100%
0% 0
Web Service Automation
0 0%
100% 100

User comments

Share your experience with using memcached and Hangfire. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare memcached and Hangfire

memcached Reviews

Redis vs. KeyDB vs. Dragonfly vs. Skytable | Hacker News
Quick ask: I don’t see “some” of the other offering out there like MemCached… what was the criteria used to select these? I don’t see any source of how the test where run, specs of the systems, how the DB where set up, etc. Would be very valuable to have in order to attempt to re-validate these test on our own platform. I also came back and saw some of your updates...
Memcached vs Redis - More Different Than You Would Expect
So knowing how the difference between Redis and memcached in-memory usage, lets see what this means. Memcached slabs once assigned never change their size. This means it is possible to poison your memcached cluster and really waste memory. If you load your empty memcached cluster with lots of 1 MB items, then all of the slabs will be allocated to that size. Adding a 80 KB...
Redis vs. Memcached: In-Memory Data Storage Systems
Memcached itself does not support distributed mode. You can only achieve the distributed storage of Memcached on the client side through distributed algorithms such as Consistent Hash. The figure below demonstrates the distributed storage implementation schema of Memcached. Before the client side sends data to the Memcached cluster, it first calculates the target node of the...
Source: medium.com
Why Redis beats Memcached for caching
Both Memcached and Redis are mature and hugely popular open source projects. Memcached was originally developed by Brad Fitzpatrick in 2003 for the LiveJournal website. Since then, Memcached has been rewritten in C (the original implementation was in Perl) and put in the public domain, where it has become a cornerstone of modern Web applications. Current development of...

Hangfire Reviews

We have no reviews of Hangfire yet.
Be the first one to post

Social recommendations and mentions

Based on our record, memcached should be more popular than Hangfire. It has been mentiond 30 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

memcached mentions (30)

  • How to Setup a Project That Can Host Up to 1000 Users for Free
    One of the most effective ways to improve the application’s performance is caching regularly accessed data. There are two leading key-value stores: Memcached and Redis. I prefer using Memcached Cloud add-on for caching because it was originally intended for it and is easier to set up, and using Redis only for background jobs. - Source: dev.to / about 11 hours ago
  • Consistent Hashing: An Overview and Implementation in Golang
    Distributed caching Consistent hashing is a popular technique for distributed caching systems like Memcached and Dynamo. In these systems, the caches are distributed across many servers. When a cache miss occurs, consistent hashing is used to determine which server contains the required data. This allows the overall cache to scale to handle more requests. - Source: dev.to / 29 days ago
  • How to choose the right type of database
    Memcached: A simple, open-source, distributed memory object caching system primarily used for caching strings. Best suited for lightweight, non-persistent caching needs. - Source: dev.to / 3 months ago
  • A Developer's Journal: Simplifying the Twelve-Factor App
    Stores session state in a session store like Memcached or Redis. - Source: dev.to / 6 months ago
  • Django Caching 101: Understanding the Basics and Beyond
    Django supports using Memcached as a cache backend. Memcached is a high-performance, distributed memory caching system that can be used to store cached data across multiple servers. - Source: dev.to / 11 months ago
View more

Hangfire mentions (5)

  • Do I need message queues for sending emails/texts via services like SendGrid, AWS SES, Twilio etc.? How do you decide if you need message queues or not? What questions do you ask yourself?
    Hangfire (https://hangfire.io) includes default exception handling and is very extensible, I think it's a good mid-level choice and a good alternative to other queue mechanism, if you can't afford to host a separated queue service or can't manage a separated service; also scales pretty well (you can have multiple servers handling the same background job queue, or different queues). It runs on Sql Server and MySql... Source: almost 2 years ago
  • jsonb in postgres and should I use it or not?
    I used to just use hangfire.io in .net and worked wonderfully for any long running tasks or schedules. Had a great queuing system, UI to know if they failed , etc. That's how I'd send emails, pdf's, and other things along that nature. Then if it were more just a db related operation, just setup a schedule in mssql job service. Source: about 2 years ago
  • How can In make a function run at a certain date in the future?
    You can use hangfire for cronjob, to run at a time in future, you can use Hangfire.Schedule(jobid, datetime). Source: about 2 years ago
  • How to handle processing of an entity through different states?
    So another option is to use something like https://hangfire.io to pull the jobs and process them? Source: about 2 years ago
  • How to update database in a Parallel.For loop?
    I've got a fairly large process I need to handle in background on my .net core web app so I've exported it to a background task using Hangfire. Source: almost 3 years ago

What are some alternatives?

When comparing memcached and Hangfire, you can also consider the following products

Redis - Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.

Sidekiq - Sidekiq is a simple, efficient framework for background job processing in Ruby

MongoDB - MongoDB (from "humongous") is a scalable, high-performance NoSQL database.

Resque - Resque is a Redis-backed Ruby library for creating background jobs, placing them on multiple queues, and processing them later.

Aerospike - Aerospike is a high-performing NoSQL database supporting high transaction volumes with low latency.

RabbitMQ - RabbitMQ is an open source message broker software.