• Overview
    Key features
    • Observability
    • Auto-scaling
    • Multiframework
    • Security
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Languages
    • PHP
    • Python
    • Node.js
    • Ruby
    • Java
    • Go
  • Industries
    • Consumer Goods
    • Media/Entertainment
    • Higher Education
    • Government
    • Ecommerce
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Login
  • Watch a demo
  • Free trial
Meet Upsun. The new, self-service, fully managed PaaS, powered by Platform.sh.Try it now
Blog
Thumbnail

Redis, now for long-term keys and values

mysql
25 January, 2017
Larry Garfield
Larry Garfield
Director of Developer Experience

Redis is a popular key-value database, well-regarded for its speed and simplicity. Platform.sh has offered a Redis service for quite some time, which is configured not to store data but to keep it only in memory. That makes it an excellent choice for a cache server, and we recommend that configuration for most projects.

Of course, Redis can do far more than caching. And we’re therefore happy to report we now offer a persistent configuration of Redis, too.

Available only for Redis 3, the new service is called  redis-persistent . (It seemed self-descriptive.) The only difference from the  redis  service is that it is configured to store data permanently rather than toss data out when it runs out of memory (as a cache configuration would do). That also means data stored in Redis is replicated when an environment is branched, just like for MySQL, Elasticsearch, or MongoDB.

The configuration for  redis-persistent  is essentially the same as any other service we offer. Simply add the following to your  services.yaml  file:

redisdata:
    type: "redis-persistent:3.0"
    disk: 2048

That will give you a new service named  redisdata  that will permanently store up to 2 GB of data. (Make sure your plan size has the space available). You can then expose that service to your applications in your  relationships  block and access it exactly as you would an ephemeral  redis  instance. Have a look at the updated documentation for more details and examples.

What can you do with a super-fast persistent key-value store? Anything you want. Let us know what you did with it.

Get the latest Platform.sh news and resources
Subscribe

Related Content

Security vulnerability uncovered and patched in the golang.org/x/crypto /ssh package

Security vulnerability uncovered and patched in the golang.org/x/crypto /ssh package

Company
AboutSecurity and complianceTrust CenterCareersPressContact us
Thank you for subscribing!
  •  
Field required
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceAcceptable Use PolicyManage your cookie preferencesReport a security issue
© 2024 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺