In-memory cache # Memcached: in-memory cache deployment Deploy Memcached in a cloud container where available. It can reduce repeated database work when configured for your application; response time depends on the workload and resources. [Get started](https://panel.deplomo.com/signup)[View in marketplace](/marketplace) ## Memcached features on Deplomo Cloud Memcached supports multithreaded operation. Network access and available resources depend on the deployment configuration. ### Multithreaded architecture Memcached supports multithreaded operation. Throughput depends on available CPU resources, network, and workload. ### In-memory caching Memcached stores cache entries in memory using a key-value model. Response time depends on the application and deployment. ### Reducing the load of database queries Caching can reduce repeated database queries when the application is configured to use Memcached. ### Private-network access Connect backend services over a private network where configured. Verify network access and avoid exposing cache services publicly. ### Client libraries and application integrations Memcached has client libraries for several languages. WordPress plugin and framework compatibility depends on your application setup. ### Resource sizing and package limits Set Memcached memory according to your cache needs and the RAM available in your zone package. ## Frequently asked questions about Memcached Answers to common developer questions about Memcached, application connections, and deployment: What is Memcached, and how can it help with website caching? How does Memcached differ from Redis? How do you deploy Memcached on Deplomo Cloud? How is Memcached used with WordPress and online stores? How is Memcached network access configured on Deplomo Cloud? ## Memcached: an in-memory cache for web applications Memcached is an open-source, in-memory key-value cache for objects and query results. Applications can use it to cache selected data and reduce repeated database work; the benefit depends on cache design and hit rate. ### Memcached compared with file-based caching Memcached stores cache entries in memory and supports multithreaded operation. Performance depends on resources, cache behavior, network, and workload.
| Comparison | Memcached on Deplomo Cloud | Self-managed server setup | File-based cache |
|---|---|---|---|
| Setup and deployment | Container deployment; availability depends on service status | Setup steps depend on the server and deployment | Integration effort depends on the application |
| Read and write latency | Latency depends on the cache, network, and application | Latency depends on the operating system and workload | Disk access time depends on the storage and workload |
| Networking and access | Private-network access where configured | Firewall requirements depend on the deployment | File access controls depend on the server configuration |
| Resource management and scalability | RAM allocation within package limits | Resource changes depend on the package and service | Storage use depends on the selected caching approach |
| Behavior under load depends on workload and resources | Monitor service health and configure resources for your workload | Memory limits and application behavior affect service availability | File locking depends on the caching implementation |