Caching of data

Caching of data can be used to speed up access to data, instead of getting data from database tables data will be coming from cache. Data stored in cache is often stored in memory this speeds up retrieval operations. If underlying data had been changed then cache records need to be invalidated, otherwise incorrect data will be retrieved.

Cache can internal or external. Internal cache is often has limited amount of memory allocated to it. External cache can be much larger in size.

Redis is an example of external cache that can be used.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator