Softwr

Databases · head to head

Memcached vs OpenCart

M

Memcached

Databases

Distributed memory object caching system

From
Free
Free plan
Yes
OpenCart logo

OpenCart

E-Commerce

Self-hosted open source shopping cart written in PHP, released under the MIT licence

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Memcached lists in-memory key-value cache; only OpenCart lists MIT licensed source.
  • Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.

How do Memcached and OpenCart differ?

Memcached and OpenCart differ on pricing model, platforms and category (Databases against E-Commerce). Only the attributes on which Memcached and OpenCart actually diverge.

Attributes where Memcached and OpenCart differ
AttributeMemcachedOpenCart
Pricing modelOpen source, no licence fee; managed cloud billed separatelyOpen-source
PlatformsLinux, macOS, Windows, Self-hostedWeb
CategoryDatabasesE-Commerce
Founded20032009

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 8 only for OpenCart. 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 OpenCart

  • MIT licensed source
  • Self-hosted PHP and MySQL
  • No transaction fees
  • Multi-store
  • Extension marketplace
  • Multi-currency and multi-language
  • OCMod modification system
  • Full data access

What is each one used for?

Memcached is most often brought in for caching expensive database query results to cut load. The jobs each tool is most often brought in to do.

Memcached

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

OpenCart

  • A merchant with volume high enough that a percentage transaction fee costs more than a developernot Memcached
  • An agency building client stores where the client must own the code and the data outrightnot Memcached
  • A store with unusual catalogue or pricing logic that a hosted platform will not permitnot Memcached
  • Selling in a market where the local payment gateway is not supported by the mainstream SaaS platformsnot Memcached

Where do Memcached and OpenCart fall short?

Memcached's most cited limit: no persistence at all: restart a node and its cache is gone, which every design must assume. 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

OpenCart

  • Extensions modify core behaviour through an XML patching system, so two modules that patch the same file conflict in ways that surface as broken checkout rather than as an installation error, and resolving that requires a developer reading both patches
  • Major version upgrades have broken third party extension compatibility, so moving between them means re-purchasing or re-commissioning modules and effectively rebuilding parts of the store rather than clicking update
  • Hosting, patching, backups and PCI scope are all your responsibility, so a security update you postpone is a breach you own, and there is no vendor obligation to notify or protect you
  • Extension quality on the marketplace is uneven and modules are sold as one-off purchases with no guaranteed maintenance, so a module central to your store can simply stop being updated and leave you holding the code
  • The core project is maintained by a very small team relative to the platforms it competes with, so security fixes, compatibility with new PHP versions and feature work all arrive at a pace you cannot influence or pay to accelerate

How much do Memcached and OpenCart cost?

Memcached is free to use; OpenCart 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

OpenCart

Free
  • Open SourceFree
    • Core ecommerce features
    • Free support
    • Extensions available

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 OpenCart if

  • You need mit licensed source.
  • You want to start without paying.
  • You also want self-hosted php and mysql.

Questions people ask

Is Memcached or OpenCart better?
It depends on the job. Memcached fits caching expensive database query results to cut load; OpenCart fits a merchant with volume high enough that a percentage transaction fee costs more than a developer. Memcached starts at Free and OpenCart at Free.
Which is cheaper, Memcached or OpenCart?
Memcached starts at Free and OpenCart at Free.
Does Memcached or OpenCart run on more platforms?
Memcached runs on Linux, macOS, Windows, Self-hosted. OpenCart runs on Web.
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 OpenCart is typically brought in for.
What can Memcached do that OpenCart cannot?
Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use. OpenCart covers MIT licensed source, Self-hosted PHP and MySQL, No transaction fees, Multi-store.

Answered from the vendors’ own pages

Memcached: Is Memcached free?

Yes, open source with no licence fee.

OpenCart: Is OpenCart really free?

The software is MIT licensed with no paid edition. The costs are hosting, extensions, and a developer, and for a low volume store those can exceed a SaaS subscription.

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.

OpenCart: Does it charge transaction fees?

No. There is no platform cut and no surcharge for using your own payment gateway, which is the main financial argument for self-hosting at volume.

Memcached: Does Memcached persist data?

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

OpenCart: How hard is customisation?

Theme changes are ordinary PHP templates and are approachable. Changing behaviour means the OCMod patching system, which conflicts between extensions and needs a developer.

OpenCart: What is the biggest hidden cost?

Upgrades. Version transitions have broken extension compatibility before, so budget for a partial rebuild rather than assuming updates are routine maintenance.

Share

Related pages

Other head to heads