Steadybit logoReliability Hub
GitHubGitHub iconStart Free Trial
Steadybit logoReliability Hub

Force Cache Expiration

AttackAttack
New
Sets TTL on string keys matching a pattern to force them to expire
Targets:
Redis Databases
Install now

Force Cache Expiration

Sets TTL on string keys matching a pattern to force them to expire
AttackAttack
Install now

Force Cache Expiration

AttackAttack
New
Sets TTL on string keys matching a pattern to force them to expire
Install now

Force Cache Expiration

Sets TTL on string keys matching a pattern to force them to expire
AttackAttack
Install now
Go back to list

Introduction

With this action, Steadybit can set a TTL on string keys matching a pattern in a Redis database to force them to expire, simulating sudden cache invalidation.

Use Cases

  • Simulate sudden cache invalidation to test cache rebuild performance.
  • Verify session expiration handling in your application.

Parameters

ParameterDescriptionDefault
DurationHow long the attack should last.60s
PatternKey pattern (e.g., 'session:', 'cache:'). Only string keys affected.steadybit-test:*
TTLTime-to-live in seconds before keys expire.5
Max KeysMaximum keys to affect (0 = unlimited).100
Restore On StopRestore expired keys with original values and TTLs.false

More Redis Database Actions

See all
Delete Keys
New
Deletes keys matching a pattern to simulate data loss scenarios
AttackAttack
Redis Databases
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Statistics
-Stars
Tags
Redis
Data Store
Cache
Homepage
hub.steadybit.com/extension/com.steadybit.extension_redis
License
MIT
MaintainerSteadybit
Install now
Steadybit logoReliability Hub
Start Free Trial
© 2026 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon