Code AnalysisIntermediate 45s
Cache-Aside flow
What happens on miss?
Starter code
async function get(key) {
let v = await cache.get(key);
if (!v) {
v = await db.get(key);
await cache.set(key, v, 60);
}
return v;
}Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.