Skip to content

Commit d3cb9b5

Browse files
authored
Adds a heading for stampede prevention so I'm able to reference this section easily
1 parent ccc8dcd commit d3cb9b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/cache.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ generate and return the value::
9090
Use cache tags to delete more than one key at the time. Read more at
9191
:doc:`/components/cache/cache_invalidation`.
9292

93+
Stampede prevention
94+
~~~~~~~~~~~~~~~~~~~
95+
9396
The Cache Contracts also comes with built in `Stampede prevention`_. This will
9497
remove CPU spikes at the moments when the cache is cold. If an example application
9598
spends 5 seconds to compute data that is cached for 1 hour and this data is accessed

0 commit comments

Comments
 (0)