REDIS

html5 and css3

Redis

Redis is an opensource data structure store, it is distributed under BSD license. Redis stands for Remote DIctionary Server Redis is extremely fast Inmemory data store. It does not support SQL and that makes it much faster. Redis store the data in Key value pair. Accessing the data based on key. Data can be any binary data. Redis support different data structure like abstract data structures, such as strings, lists, maps, sets, sorted sets, hyperloglogs, bitmaps, streams and spatial indexes. Along with inmemory data structure, it also support storing the data on disk for persistency, with little compromise on speed. Almost all languages provide the interface towards redis for storing and accessing data

Supporting the php based web pages is easy and efficient. It also provides the smooth integration with the backend databases like MySQL and Postgrasql, not only this its ability to work with database engine makes it more useful.

How It Works

  • Redis stores data primarily in memory, which enables it to deliver extremely fast read and write operations.
  • Redis stores data primarily in memory, which enables it to deliver extremely fast read and write operations.
  • Eliminate manual database management
  • Redis allows you to store and retrieve strings as values. You can perform operations like get, set, increment, and decrement on strings.
  • Lists in Redis are ordered collections of strings. You can add elements to the head or tail of a list, retrieve elements by index, and perform operations like pop, push, and trim.
  • Sets are unordered collections of unique strings. Redis provides operations to add, remove, and check membership in sets.
  • Sorted sets are similar to sets, but each element has an associated score. The elements are ordered based on their scores, allowing you to perform range queries and retrieve elements by rank.
  • Redis provides options for persistence, allowing you to save data to disk and recover it in case of system failures or restarts.
  • Redis supports publish/subscribe messaging, allowing you to create message channels and send messages to multiple subscribers.
  • Redis is commonly used as a distributed caching system.
  • Redis guarantees atomicity for many of its operations. This means that operations on individual data structures are performed as a single, indivisible step.
  • Redis is designed to be single-threaded, allowing it to achieve high performance and low latency.
  • Redis supports Lua scripting, allowing you to define and execute custom scripts on the server. Lua scripts can perform complex operations and transactions, combining multiple Redis commands into a single atomic operation.
  • Redis provides clustering functionality, allowing you to distribute data across multiple Redis instances to achieve high availability and scalability.

Why RADIS?

The database is free and open source with a commercial license available (RADIS is now owned by Oracle after they bought Sun). Common applications for RADIS include php and java based web applications that require a DB storage backend, e.g. Dokuwiki, Joomla, xwiki etc

RADIS has one major advantage, since it is free, it is usually available on shared hosting packages and can be easily set up in a Linux, Unix or Windows environment. If a web application requires more than database, requires load balancing or sharding

Redis is widely used in various use cases, including caching, real-time analytics, session management,