Caching is a cop-out
The Backend Engineering Show with Hussein Nasser

Caching is a cop-out

B2Upper-intermediateSeptember 11, 202615 min

In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out

Play episode

Opens the player: the full transcript, every word clickable, with translation and flashcards.

Try it: tap any word

Real sentences from the start of this episode. Every word is marked with its level.

Sentence 9 of 12 · 0:34

to skip that long running operation and save on resources and memory.

.

But I want to argue that this is a very, very, very, very bad practice.

Tap a word to see its meaning in your language.

Do you know these words?

8 harder words from this episode. Tap one to see what it means, then mark it.

Mark a few words and we'll tell you how this episode fits your level.

Is this episode right for you?

B2

B2 · Upper-intermediate

Comfortable if you already follow TV news

A1 26%A2 35%B1 22%B2 15%C1 2%
  • 83% of the words are B1 or easier.
  • 140 words a minute: a natural pace.
  • 50 harder words (B2 and up) in the whole episode.

Transcript

The opening of the episode. The whole transcript is in the player.

0:00

Caching is the process of storing the results of a complex operation that takes a finite amount of time that we perceive as human as a long time to compute. It computes a lot of, it takes a lot of resources,

0:15

CPU, RAM, and time, and storing the results in memory, in another data store, to skip that long running operation and save on resources and memory.

0:34

You might be tempted to cache any operation that may seem to be slow. But I want to argue that this is a very, very, very, very bad practice. and we started to see it in the last decade or so and always backfire because it gives you a cup out to not look at the operation that you're doing

That was the opening. The rest of the episode (15 min) is in the player: every word clickable, with translation, saved words and flashcards.

Continue in the player

Automatically generated from the audio. May contain errors. Audio belongs to its publisher and is played from their feed. Rights holders can request removal — copyright & takedown policy