Friday, 13 May 2016

Data Structure & Algorithms


Data Structures are the programmatic way of storing data so that data can be used efficiently. Almost every enterprise application uses various types of data structures in one or other way.

Monday, 9 May 2016

Memcached Tutorial

Memcached is an open source, high-performance, distributed memory object caching system.

Memcached is an open source, high-performance, distributed memory caching system intended to speed up dynamic web applications by reducing the database load.

It is a key-value dictionary of strings, objects, etc, stored in the memory, resulting from database calls, API calls, or page rendering.

Memcached was developed by Brad Fitzpatrick for LiveJournal in 2003.

It is open source.

Memcached server is a big hash table.
(Hash Table is a data structure which store data in associative manner. In hash table, data is stored in array format where each data values has its own unique index value.)

It significantly reduces the database load.

It is perfectly efficient for websites with high database load.

It is a client-server application over TCP and/or UDP.

Memcached is not −
A persistent data store
(Persistent storage is any data storage device that retains data after power to that device is shut off. It is also sometimes referred to as non-volatile storage. )

A database

Application-specific

A large object cache

Fault-tolerant or

Highly available