Arkitektura & Design Patterns

Caching strategies (cache-aside, write-through)

Në shqip: Strategjitë e cache-it

ShpjegimiSQ

Cache-aside: aplikacioni kërkon në cache, po s'gjendet lexon databazën dhe e ruan. Write-through: çdo shkrim shkon njëkohësisht në cache dhe databazë. Write-behind: shkruan në cache dhe databaza përditësohet më vonë (shpejt, por me rrezik).

EnglishEN

Cache-aside: the app checks the cache, on a miss reads the database and stores it. Write-through: every write goes to cache and database at once. Write-behind: write to the cache and update the database later (fast, but risky).

Si ta mendosh

Si mënyra të ndryshme për të mbajtur shënime pranë dhe në arkiv.

Lexoje në anglisht

Like different ways of keeping notes at hand and in the archive.

Terma të lidhur