Softwr

Databases · head to head

Memcached vs Microsoft Azure

M

Memcached

Databases

Distributed memory object caching system

From
Free
Free plan
Yes
Microsoft Azure logo

Microsoft Azure

Cloud

Open and flexible cloud services

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Memcached lists in-memory key-value cache; only Microsoft Azure lists virtual Machines.
  • Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.
  • Where Microsoft Azure falls short: the 12 months free offer is not available to customers who sign up directly for pay as you go in China and India.

How do Memcached and Microsoft Azure differ?

Memcached and Microsoft Azure differ on pricing model, platforms and category (Databases against Cloud). Only the attributes on which Memcached and Microsoft Azure actually diverge.

Attributes where Memcached and Microsoft Azure differ
AttributeMemcachedMicrosoft Azure
Pricing modelOpen source, no licence fee; managed cloud billed separatelyUsage-based
PlatformsLinux, macOS, Windows, Self-hostedWeb, API, Windows, macOS, iOS, Android
CategoryDatabasesCloud
Founded20032010

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 4 appear only for Memcached and 20 only for Microsoft Azure. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Memcached

  • In-memory key-value cache
  • Multithreaded
  • Client-side sharding
  • Predictable memory use

Only in Microsoft Azure

  • Virtual Machines
  • App Service
  • SQL Database
  • Blob Storage
  • Azure Cosmos DB
  • Functions
  • Service Fabric
  • API Management

What is each one used for?

Memcached is most often brought in for caching expensive database query results to cut load; Microsoft Azure for cloud infrastructure and computing. The jobs each tool is most often brought in to do.

Memcached

  • Caching expensive database query results to cut loadnot Microsoft Azure
  • Session storage where losing sessions on restart is acceptablenot Microsoft Azure
  • Fronting an API whose responses are costly and change slowlynot Microsoft Azure

Microsoft Azure

  • Cloud infrastructure and computingnot Memcached
  • Database and storage servicesnot Memcached
  • AI and machine learning servicesnot Memcached
  • Enterprise application hostingnot Memcached

Where do Memcached and Microsoft Azure fall short?

Memcached's most cited limit: no persistence at all: restart a node and its cache is gone, which every design must assume. Microsoft Azure's: the 12 months free offer is not available to customers who sign up directly for pay as you go in China and India. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Memcached

  • No persistence at all: restart a node and its cache is gone, which every design must assume
  • No replication or failover, so losing a node loses that share of the cache
  • Only simple key-value, with none of the lists, sorted sets or streams Redis offers
  • Values are capped at 1MB by default, which surprises teams caching large documents

Microsoft Azure

  • The 12 months of free services is available only to new customers who have not previously had an Azure account or received 12 months of free services
  • The 12 months free offer is not available to customers who sign up directly for pay as you go in China and India
  • Customers who try Azure free must move to pay as you go within 30 days to keep receiving the 12 months of free services
  • Free services are capped at specified monthly amounts, and only some of them are always free

How much do Memcached and Microsoft Azure cost?

Memcached is free to use; Microsoft Azure is free to use. Plan by plan below, from each vendor's own pricing page.

Memcached

Free
  • MemcachedFree
    • Full functionality
    • Self-hosted
    • No usage limits

Microsoft Azure

Free
  • Free AccountFree
    • $200 credit for 30 days
    • Popular services 12 months free
    • 40+ services always free

Which should you pick?

Choose Memcached if

  • You need in-memory key-value cache.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want multithreaded.

Choose Microsoft Azure if

  • You need virtual machines.
  • You want to start without paying.
  • You work on Web, API, Windows, macOS, iOS, Android.
  • You also want app service.

Questions people ask

Is Memcached or Microsoft Azure better?
It depends on the job. Memcached fits caching expensive database query results to cut load; Microsoft Azure fits cloud infrastructure and computing. Memcached starts at Free and Microsoft Azure at Free.
Which is cheaper, Memcached or Microsoft Azure?
Memcached starts at Free and Microsoft Azure at Free.
Does Memcached or Microsoft Azure run on more platforms?
Memcached runs on Linux, macOS, Windows, Self-hosted. Microsoft Azure runs on Web, API, Windows, macOS, iOS, Android.
Can I use Memcached for free?
Both have a free tier, so you can try either at no cost before committing.
What is Memcached best used for?
Memcached is most often used for caching expensive database query results to cut load, session storage where losing sessions on restart is acceptable, fronting an api whose responses are costly and change slowly. Of those, caching expensive database query results to cut load and session storage where losing sessions on restart is acceptable are not what Microsoft Azure is typically brought in for.
What can Memcached do that Microsoft Azure cannot?
Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use. Microsoft Azure covers Virtual Machines, App Service, SQL Database, Blob Storage.

Answered from the vendors’ own pages

Memcached: Is Memcached free?

Yes, open source with no licence fee.

Microsoft Azure: How much does Microsoft Azure cost?

Azure uses consumption-based pricing where you pay only for resources used and scale as you grow, with no fixed monthly fee. Prices are listed in USD globally, and pricing varies by service, region, and usage patterns.

Source
Memcached: Memcached or Redis?

Memcached is a pure cache: simpler, multithreaded and very predictable. Redis adds persistence, replication and rich data structures, which is why it is the default choice unless you specifically want a cache and nothing more.

Microsoft Azure: How can I save money on Azure services?

Azure offers savings up to 65% on select compute services through Azure Savings Plans with one- or three-year commitments. Using Azure Hybrid Benefit with existing Windows Server and SQL Server licenses plus reservations can save up to 85% compared to standard rates.

Source
Memcached: Does Memcached persist data?

No. Everything is in memory and lost on restart, by design.

Microsoft Azure: Does Azure offer a free tier?

Azure provides free tier services for new users and perpetually free options, including free Spot Virtual Machines, dev/test pricing for development workloads, and access to the Azure Pricing Calculator to estimate monthly costs before deployment.

Source
Share

Related pages

Other head to heads