Download

We are sponsored by audible! http://www.audibletrial.com/programmingthrowdown

We are on Patreon! https://www.patreon.com/programmingthrowdown

T-Shirts! http://www.cafepress.com/programmingthrowdown/13590693

Join us on Discord! https://discord.gg/r4V2zpC

Object Caching Systems

Many people have heard the names "redis" or "memcached" but fewer people know what these tools are good for or why we need them so badly. In this show, Patrick and I explain why caching is so important and how these systems work under the hood.

Intro topic:
Public database & cache services (Planetscale & Upstash)

News/Links:

  • Log4J Vulnerability
    • https://jfrog.com/blog/log4shell-0-day-vulnerability-all-you-need-to-know/
    • https://www.microsoft.com/security/blog/2021/12/11/guidance-for-preventing-detecting-and-hunting-for-cve-2021-44228-log4j-2-exploitation/
  • Scan of the Month: Gameboys
    • https://scanofthemonth.com/game-boy-original/
  • Hyrum’s Law
    • https://www.hyrumslaw.com/
  • Make the Internet Yours Again With an Instant Mesh Network
    • https://changelog.complete.org/archives/10319-make-the-internet-yours-again-with-an-instant-mesh-network

Book of the Show

  • Jason: AI 2041
    • https://amzn.to/3fOqnWQ
  • Patrick: Dawnshard - Brandon Sanderson
    • https://amzn.to/3tFmuMi

Audible Plug http://www.audibletrial.com/programmingthrowdown

Patreon Plug https://www.patreon.com/programmingthrowdown?ty=h

Tool of the Show

  • Jason
    • Swagger: https://swagger.io/
  • Patrick
    • ripgrep https://github.com/BurntSushi/ripgrep

Topic: Object Caching Systems

  • The need
    • Latency
    • In memory
    • Caching
  • Disadvantages compared to DB
    • Size limits (memory)
    • Limited query support
    • Limited persistence options
    • Stale caches
  • How it works
    • Key-value stores
    • Special operations for multi-get /multi-step
    • Expiry timers on each key
    • Hashing
  • Examples
    • Redis
    • Memcached
    • DynamoDB
    • Google datastore
    • Firebase database

00:00:15 Introduction

00:00:54 New Year’s Resolutions

00:03:59 Saving money on cloud servers

00:17:20 Scan of the Month

00:20:14 Hyrum’s Law

00:25:30 Make the Internet Yours Again with an Instant Mesh Network

00:31:45 Book of the Show

00:31:56 AI 2041

00:35:25 Don Shard

00:37:35 Tool of the Show

00:38:17 Swagger

00:59:10 ripgrep

0:45:31 Object Caching Systems

01:10:22 High Frequency Trading

01:14:07 Farewells

If you’ve enjoyed this episode, you can listen to more on Programming Throwdown’s website: https://www.programmingthrowdown.com/

Reach out to us via email: programmingthrowdown@gmail.com
You can also follow Programming Throwdown on
Facebook | Apple Podcasts | Spotify | Player.FM
Join the discussion on our DiscordYou can also help support Programming Throwdown through our Patreon

★ Support this podcast on Patreon ★

Products Discussed In This Episode