~/talk

Cache Is the King! Create Cache in AWS Lambdas

Talkat DevOpsDays Tel Aviv 2024 · 2024-10-30..10-31· [serverless, python]
slides:none on file

Shows how adding an in-memory cache to AWS Lambdas in Python can cut latency and cost for short, frequent API work by using decorators rather than Redis/ElastiCache for rapid, small-data caching. Demonstrates the lru_cache decorator, explains that the cache lasts while Lambda is warm (typically useful for ~10–15 minutes), gives code for clearing and using a uuid as key to prevent cross-tenant leakage, and warns about memory limits so keep entries small.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.