BahriyaBAHRIYAby Mamluk
Use CasesPricingLocationsBlogSecurityAboutContact
Request access

Memcached

  • Common Memcached use cases
  • Connecting to Memcached
  • Memcached
  • Sizing and eviction
Getting Started→
  • Core Concepts
  • Deploy Your First Container
  • Platform Limits
  • What is Bahriya?
Quickstarts→
  • Deploy a Go app on Bahriya
  • Deploy a Next.js app on Bahriya
  • Deploy a Node.js app on Bahriya
  • Deploy a static site on Bahriya
  • Deploy any Docker image on Bahriya
  • Deploy Django on Bahriya
  • Deploy FastAPI on Bahriya
  • Deploy Laravel on Bahriya
  • Deploy Rails on Bahriya
  • Deploy your framework on Bahriya
Containers→
  • Basic Authentication
  • Choosing container storage
  • Containers
  • Cron Jobs
  • Environment Variables
  • Ephemeral Storage
  • Health Checks and Bootstrap Time
  • HTTP Containers
  • Init Jobs
  • Path Rules
  • Persistent Storage
  • Prometheus Metrics
  • Rate Limiting and IP Rules
  • Resources and Autoscaling
  • Worker Containers
Networking→
  • Network Policies
  • DNS Failover
  • DNS Modes
  • External Networking
  • Hostnames and DNS
  • Setting Up a Custom Domain
Caching→
  • Cache-Control and TTL
  • Proxy cache vs Memcached
  • Proxy Caching
Projects→
  • Project Attachments
  • Project Quotas
  • Projects
Vault→
  • What is the Vault?
  • TLS Bundles
  • X.509 Certificates
  • GPG Keypairs
  • SSH Keypairs
  • Encryption Keys
  • Registries
  • Secrets
Configs→
  • Env Files
  • JSON Configs
  • YAML Configs
  • Plain Configs
Organisations→
  • Activity Log
  • Organisations
  • Personal Access Tokens
  • Roles and Permissions
  • Sharing Individual Resources
  • Team Management and Invitations
  • Transferring Ownership
Regions→
  • Choosing Regions
  • Data Residency
  • Multi-Region Deployments
  • Regions
Billing→
  • Billing Details
  • CPU Classes
  • How Billing Works
  • Top-ups and Invoicing
Reis CLI→
  • Installing Reis
  • Reis CLI
  • Deploy JSON Configs with Reis (YAML Mode)
  • Deploy JSON Configs with Reis (Flag Mode)
  • Deploy Plain Configs with Reis (Flag Mode)
  • Deploy Plain Configs with Reis (YAML Mode)
  • Deploy Env Files with Reis (Flag Mode)
  • Deploy Env Files with Reis (YAML Mode)
  • Authentication
  • Commands Reference
  • Deploy a cron job with flags
  • Deploy a cron job with YAML
  • Deploy a worker with flags
  • Deploy a worker with YAML
  • Deploy an HTTP container with flags
  • Deploy an HTTP container with YAML
  • Deploy Encryption Keys with Reis (Flag Mode)
  • Deploy Encryption Keys with Reis (YAML Mode)
  • Deploy GPG Keypairs with Reis (Flag Mode)
  • Deploy GPG Keypairs with Reis (YAML Mode)
  • Deploy Memcached with flags
  • Deploy Memcached with YAML
  • Deploy Network Policies with Reis (YAML Mode)
  • Deploy SSH Keypairs with Reis (Flag Mode)
  • Deploy SSH Keypairs with Reis (YAML Mode)
  • Deploy TLS Bundles with Reis (Flag Mode)
  • Deploy TLS Bundles with Reis (YAML Mode)
  • Deploy Valkey with flags
  • Deploy Valkey with YAML
  • Deploy X.509 Certificates with Reis (Flag Mode)
  • Deploy X.509 Certificates with Reis (YAML Mode)
  • Deploy YAML Configs with Reis (Flag Mode)
  • Deploy YAML Configs with Reis (YAML Mode)
  • Flag mode
  • Manage Billing Details with Reis (Flag Mode)
  • Manage Billing Details with Reis (YAML Mode)
  • Manage HTTP container path rules with Reis (Flag Mode)
  • Manage HTTP container path rules with Reis (YAML Mode)
  • Manage Network Policies with Reis (Flag Mode)
  • Manage Roles and Sharing with Reis (Flag Mode)
  • Manage Roles with Reis (YAML Mode)
  • Using Reis in CI/CD Pipelines
  • YAML mode
Terraform→
  • Installing the Terraform Provider
  • Terraform Provider
  • Complete Terraform Example
  • Deploy a Cron Job with Terraform
  • Deploy a Project with Terraform
  • Deploy a Worker Container with Terraform
  • Deploy an HTTP Container with Terraform
  • Deploy Encryption Keys with Terraform
  • Deploy Env Files with Terraform
  • Deploy GPG Keypairs with Terraform
  • Deploy JSON Configs with Terraform
  • Deploy Memcached with Terraform
  • Deploy Network Policies with Terraform
  • Deploy Plain Configs with Terraform
  • Deploy Registry Credentials with Terraform
  • Deploy Secrets with Terraform
  • Deploy SSH Keypairs with Terraform
  • Deploy TLS Bundles with Terraform
  • Deploy Valkey with Terraform
  • Deploy X.509 Certificates with Terraform
  • Deploy YAML Configs with Terraform
  • Manage Billing Details with Terraform
  • Manage Custom Roles with Terraform
  • Manage HTTP container path rules with Terraform
  • Share Individual Resources with Terraform
Security→
  • Data Protection and Residency
  • Private Networking
  • Secrets and Vault Best Practices
  • Securing Your Container
  • Security
  • TLS and Certificates
Troubleshooting→
  • 502, 503 and 504 Errors From Your Container
  • Common Issues
  • Container Out of Memory
  • Container Won't Start or Keeps Crash-Looping
  • Custom Domain Not Resolving
  • Deployment Stuck in "Provisioning"
  • Health Check Failures
  • Image Cannot Be Pulled
  • TLS and Certificate Errors
Comparisons→
  • Choosing a container platform
  • Bahriya vs Amazon ECS
  • Bahriya vs Fly.io
  • Bahriya vs Google Cloud Run
  • Bahriya vs Heroku
  • Bahriya vs Railway
  • Bahriya vs Render
Migrating to Bahriya→
  • Migrate from Docker Compose to Bahriya
  • Migrate from Fly.io to Bahriya
  • Migrate from Heroku to Bahriya
  • Migrate from Railway to Bahriya
  • Migrate from Render to Bahriya
  • Migrating to Bahriya
Knowledgebase/Memcached

Memcached

The managed Memcached service — connecting your app, sizing, eviction, and common caching patterns.

4 articles

  • Common Memcached use cases

    Memcached is an application-controlled key-value cache: your code decides what to store, under which key, and for how long. That makes it a good fit for a handful of recurring patterns. This article walks through the most common ones and closes with a note on when Memcached is the right tool versus the proxy cache.

    3 min
  • Connecting to Memcached

    Once you have a managed Memcached instance running, your containers connect to it directly over the internal project network. There is no public endpoint and no authentication step — access is restricted to containers in the same project. This article shows how to wire up a client library in several languages.

    3 min
  • Memcached

    Bahriya lets you deploy managed Memcached instances alongside your containers. Memcached is a high-performance, in-memory key-value cache commonly used to speed up applications by reducing database load.

    3 min
  • Sizing and eviction

    Memcached is an in-memory cache with a fixed memory budget. Understanding how that budget is used, what happens when it fills up, and how to tell when you need more, is the key to running it well. The short version: pick a memory size, let Memcached evict old entries automatically when it runs out, and resize when your hit rate drops.

    3 min

Product

  • HTTP Containers
  • Worker Containers
  • Cron Jobs
  • Memcached
  • Volume Storage
  • Network Policies
  • Vault
  • Configs
  • Pricing
  • Locations
  • Use Cases

Resources

  • Reis CLI
  • Terraform Provider
  • API Reference
  • Knowledgebase
  • Blog

Company

  • About
  • Careers
  • Investors
  • Contact

Trust

  • Security
  • Vendor policy

Legal

  • Terms
  • Privacy

Mamluk© Mamluk 2026. All rights reserved.