• +1 510-870-8668, 510-298-5936, 510-796-2400
  • Login


A high-performance, distributed memory object caching system, generic in nature called Memcached is intended for use in speeding up dynamic web applications by alleviating database load.

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. The simplicity of its design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.

Miri Infotech is launching a product which will configure and publish Memcache, to produce free implementations of distributed or otherwise scalable and high availability which is embedded pre-configured tool and ready-to-launch AMI on Amazon EC2 that contains MariaDB.

Memcached basically runs on Unix-like operating systems and on Microsoft Windows. It depends on the libevent library.

A large hash table is provided by its APIs. Applications using Memcached typically layer requests and additions into RAM before falling back on a slower backing store, such as a database.

This is the general knowledge that one must have before started working on Memcache.

Let us now know what exactly its software architecture is and what its functionalities are.

Software architecture

The system uses a client-server architecture. The servers maintain a key–value associative-array; the clients populate this array and query it by key. The length of the Keys are up to 250 bytes and values can be at most 1 megabyte in size.

If we talk about the typical deployment of this architecture then it can have several servers and many clients. However, it is possible to use Memcached on a single computer, acting simultaneously as client and server. The size of its hash table is often very large. It is limited to available memory across all the servers in the cluster of servers in a data center. Where high-volume, wide-audience Web publishing requires it, this may stretch too many gigabytes.


Now talking about MariaDB, we can say that it is one of the most popular database server which is being widely used.

MariaDB turns data into structured information in a wide array of applications, ranging from banking to websites. It is an enhanced, drop-in replacement for MySQL. It is used because it is fast, scalable and robust, with a rich ecosystem of storage engines, plugins and many other tools make it very versatile for a wide variety of use cases.

MariaDB intends to maintain high compatibility with MySQL, ensuring a drop-in replacement capability with library binary equivalency and exact matching with MySQL APIs and commands.

Not only this but MariaDB provides much more than MySQL be it related to security, support etc. MariaDB development is more open and vibrant.

MariaDB combined with Memcached and Lamp provides a better and fast cached server with high level of flexibility and ease of use.

Memcached live cast:

You can subscribe Memcached to an AWS Marketplace product and launch an instance from the Memcached product's AMI using the Amazon EC2 launch wizard.

You can subscribe Memcache to an AWS Marketplace product and launch an instance from the Memcache product's AMI using the Amazon EC2 launch wizard.

To launch an instance from the AWS Marketplace using the launch wizard

1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

2. From the Amazon EC2 dashboard, choose Launch Instance.

On the Choose an Amazon Machine Image (AMI) page, choose the AWS Marketplace category on the left. Find a suitable AMI by browsing the categories, or using the search functionality. Choose Select to choose your product.

3. A dialog displays an overview of the product you've selected. You can view the pricing information, as well as any other information that the vendor has provided. When you're ready, choose Continue.

4. On the Choose an Instance Type page, select the hardware configuration and size of the instance to launch. When you're done, choose Next: Configure Instance Details.

5. On the next pages of the wizard, you can configure your instance, add storage, and add tags. For more information about the different options you can configure, see Launching an Instance. Choose Next until you reach the Configure Security Group page.

6. The wizard creates a new security group according to the vendor's specifications for the product. The security group may include rules that allow all IP addresses ( access on SSH (port 22) on Linux or RDP (port 3389) on Windows. We recommend that you adjust these rules to allow only a specific address or range of addresses to access your instance over those ports.

7.When you are ready, choose Review and Launch.

8. On the Review Instance Launch page, check the details of the AMI from which you're about to launch the instance, as well as the other configuration details you set up in the wizard. When you're ready, choose Launch to select or create a key pair, and launch your instance.

9. Depending on the product you've subscribed to, the instance may take a few minutes or more to launch. You are first subscribed to the product before your instance can launch. If there are any problems with your credit card details, you will be asked to update your account details. When the launch confirmation page displays.


Memcached (pronunciation: mem-cash-dee, mem-cashed) is a general-purpose distributed memory caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read. 

Memcached has no internal mechanism to track misses which may happen. There are some 3rd party applications such as mctop which can be used or if your operating system support Dtrace you can use dtrace script.


Memcache can be useful for other temporary values. However, when considering whether to store a value solely in the memcache and not backed by other persistent storage, be sure that your application behaves acceptably when the value is suddenly not available. 

Usage / Deployment Instruction

Step 1: Open the URL: http://<instance ip address>

<instance ip address> : IP address of the running EC2 instance.

Step 2: Fill the primary authentication form with the following details –

Username: Admin

Password: <instanceID>

Step 3: Your Memcache system has been installed successfully.

Live Demo

Our Rating

5 star
4 star
3 star
2 star
1 star

Submit Your Request

First Name:*
Last Name:*
Email Address:*
Phone Number:*