0% found this document useful (0 votes)
464 views

Caching Techniques

This document discusses various caching techniques: 1. Application cache can be used to cache contest registration pages to reduce load times for users. 2. Cache-aside caching involves the application directly interacting with the database for any data not in the cache. 3. With read-through/write-through caching, the application treats the cache as the main data store, reading from and writing to it.

Uploaded by

Santosh Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
464 views

Caching Techniques

This document discusses various caching techniques: 1. Application cache can be used to cache contest registration pages to reduce load times for users. 2. Cache-aside caching involves the application directly interacting with the database for any data not in the cache. 3. With read-through/write-through caching, the application treats the cache as the main data store, reading from and writing to it.

Uploaded by

Santosh Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Which type of caching can be used to cache the contest registration page in a website, to

reduce the time taken to serve the page for the users?

Application Cache

A cache is a .

Small and Fast memory

In which type of cache, application directly interacts with database for data that is not
available in the cache?

Cache-aside

In which type of cache, application treats cache as the main data store and reads data from
it and writes data to it? (I) Read Through/Write Through Cache (II) Cache-aside

Which of the following is true about a well designed cache?

Hit Rate > Miss Rate

A web page displays 10 items per page and has pagination enabled. What would be the
recommended way to enable efficient paging?

Use Spatial Cache

Line size in a cache is recommended to be a power of 2.

True

Which type of cache reference locality aims at designing cache to store the entire block
near the Recently Referenced Data? (I) Temporal Locality (II) Spatial Locality

II

Which of the following types of data exhibits Spatial Locality?

Array

Which type of cache reference locality aims at designing cache to store "Recently
Referenced Data" assuming that the same data will be requested frequently?

Only Temporal Locality


Which of the following Cache Eviction techniques consider Locality?

Least Recently Used

Which of the following is true about the cache?

Line size == Block size

When a computer processor does not gets a data item that it requires in cache, then the
problem is known as _________.

Cache Hit

Which type of cache is recommended to store user preferences for an application with
several 100's of concurrent users?

On Demand Cache

While using a Write Back cache, which of the following policies needs to be abided?

Write Allocate

Caching Technique where cache is populated the first time a certain piece of data is
requested is called _________.

Lazy Loading

Primary objective of Cache Coherence is to ensure __________.

Data Consistency across all local caches

Which of the following in a cache address, specifies the exact location in the cache line
where the requested data exists?

Block Index

For a cache look up to be a Hit, which of the following must be true?

Tag==Block Offset and Valid Bit = 0

Cache Performance or Average Memory Access time (AMAT) depends on which of the
following?

All options mentioned

Which Cache would be the best place to cache DNS data?


Proxy

You might also like