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

Caching is a cop-out

B2فوق المتوسط11 سبتمبر 202615 دقيقة

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

تشغيل الحلقة

يفتح المشغّل: النص الكامل، وكل كلمة قابلة للنقر، مع الترجمة والبطاقات التعليمية.

جرّب: انقر أي كلمة

جمل حقيقية من بداية هذه الحلقة. كل كلمة معلَّمة بمستواها.

الجملة 9 من 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.

انقر كلمة لترى معناها بلغتك.

هل تعرف هذه الكلمات؟

8 كلمات أصعب من هذه الحلقة. انقر أي كلمة لترى معناها، ثم ضع علامتك.

ضع علامة على بضع كلمات، وسنخبرك بمدى ملاءمة هذه الحلقة لمستواك.

هل تناسبك هذه الحلقة؟

B2

B2 · فوق المتوسط

مريحة إن كنت تتابع نشرات الأخبار

A1 26‎%‎A2 35‎%‎B1 22‎%‎B2 15‎%‎C1 2‎%‎
  • 83% من الكلمات في مستوى B1 أو أسهل.
  • 140 كلمة في الدقيقة: سرعة طبيعية.
  • 50 كلمة أصعب (B2 فما فوق) في الحلقة كلها.

النص

بداية الحلقة. النص الكامل في المشغّل.

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

كانت هذه بداية الحلقة. بقية الحلقة (15 دقيقة) في المشغّل: كل كلمة قابلة للنقر، مع الترجمة وحفظ الكلمات والبطاقات التعليمية.

تابع في المشغّل

تم إنشاؤه تلقائيًا من الصوت وقد يحتوي على أخطاء. الصوت ملك لناشره ويُشغَّل من خلاصته. يمكن لأصحاب الحقوق طلب الإزالة — سياسة حقوق النشر والإزالة