Technology

Redis : A Comprehensive Guide

What is Redis? Redis, short for Remote Dictionary Server, stands as a robust open-source in-memory data structure store. Essentially, it's a NoSQL database designed to serve as a highly performant and versatile key-value store. Redis has earned its reputation for its fast speed and efficiency, primarily due to its in-memory...

by ashav.kumar
Tag: redis
20-Sep-2023

Drupal

Best Practices to Optimize Performance in Drupal 8

Drupal, a content management system has the capability to serve large data in different formats based on business need. A business requirement could be a data exchange between two web properties or sourcing a data or consuming data from external sources. Also, Drupal is gaining confidence in today’s market and also widely being used...

by Ashutosh Tripathi
Tag: redis
08-Feb-2017

Node.js, Technology

Caching in NodeJs using Redis

Whenever we talk about nodejs development, the first thing that comes to our mind is managing concurrent requests in an efficient way. We can leverage our server performance and efficiency even more by providing a mechanism to cache it's processed data(response) which seldomly changes. Such as products list, country codes, application...

by Vibhor Kukreja
Tag: redis
30-Apr-2016

Technology

Copying Redis Database from one server to another

In my recent project, I needed to copy the redis database from one server to another. Although redis provides SAVE and BGSAVE commands, I found another cool way of doing it. Log in to the new server and execute the following command in terminal: [bash] redis-cli slaveof IP-ADDRESS-OF-OLD-SERVER 6379 [/bash] The above command...

by raj
Tag: redis
20-Feb-2013

Grails

Redis: Heavyweight Tags – an awesome use-case for caching with Redis

Redis plugin provides a beautiful way to cache the html tags. Using this plugin we can make big savings on the time taken to render the gsp tags. [java] <redis:memoize key="someKey" expire="3600" > //Some heavy weight tags rendering // Lots of db / network operations. </redis:memoize> ...

by Mohd Farid
Tag: redis
25-Sep-2012

Grails

Redis: Tag Cloud using Redis

I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags/text. The size of the tag/text is drirectly proportional to the weightage of that tag/text. A sample tag cloud could be seen on our blogs site. How to do it? [java]A very...

by Mohd Farid
Tag: redis
25-Sep-2012

Grails

Using Apache to save data in redis

In one of my projects, I was using redis database to collect some statistics and I thought of saving data into it at apache level. This would considerably enhance the speed of saving data as it would not require the interception of grails to save data. The first step for this was to install apache by firing the following command in...

by raj
Tag: redis
30-Jul-2012