Skip to main content

Redis database support enabled on our Josidel Hosting 

Databases lie at the heart of web development. For this reason, they need to evolve in order to meet the needs of any website or application.

In recent years, multi-purpose solutions, such as Redis, have emerged to offer a brand new, complex perspective on database management.

By combining in-memory design with optimized data structures and various modules, Redis gives site owners much more flexibility when it comes to managing their content.

Redis – some history

Redis, which stands for REmote DIctionary Server, started as a VMware-sponsored project back in March 2010.

In June 2015, Redis Labs began sponsoring its development.

According to DB-Engines.com’s monthly charts, Redis is one of the most popular key-value stores on the web.

Also, it occupies the 4th position on the NoSQL database users’ satisfaction chart and ranks among the Top 50 Developer Tools & Services.

The key advantages of the Redis database storage system

Redis represents a real innovation in the world of structured storage systems. Here are a few innovative characteristics that have helped it outjump all other popular key-value stores:

Simplified app development

Redis allows data to be processed at the database level rather than at the application level.

Its unique architecture allows for faster execution times and increased CPU, I/O and network utilization levels.

In contrast to other key-value stores, Redis allows applications to carry out complex tasks such as computing set intersections or range analyses using simple commands.

Boosted app performance

Based on the C language, Redis is optimized for execution with O (1) complexity.

In contrast to standard storage systems, which write every change to disk, Redis normally holds the whole dataset in memory.

Its in-memory nature allows it to providethe highest throughput (millions of operations per second) at the lowest possible latency level (< 1ms), which translates into more efficient hardware utilization.

Redis allows access to discrete elements within objects, thus eliminating processing overheads.

Setup costs, on the other hand, can be reduced by means of connection pooling.

An easy-to-parse networking protocol allowing for accelerated command execution further contributes toward achieving an enhanced performance.

Fit for various data processing scenarios

Thanks to the available add-ons and extensions, Redis can serve multiple data processing purposes – from querying secondary indexes to serving machine learning models.

Developers can select from a variety of Redis Modules instead of having to maintain and operate specialty databases for specific processing needs.

Data persistence

Redis usually keeps the entire dataset in memory. For persistence to be achieved, the dataset needs to be transferred from memory to disk from time to time.

Depending on the particular case, this can be done in two different ways:

through snapshotting whereby the dataset is asynchronously dumped on disk every once in a while and stored into a dump.rdb file;by means of an append-only file (also known as a journal) – written while in-memory dataset modification commands are being processed, it can be re-written in the background in order to avoid indefinite growth;

Since Redis writes data to a file system at 2-second intervals, only a few seconds of data will be forfeited in the event of a complete system failure.

Replication

Redis relies on master-slave replication in order to ensure maximum read scalability and data redundancy.

Master-slave replication enables data from a master Redis server to be copied to any number of slave Redis servers, which in turn can become ‘masters’ to other ‘slaves’.

This allows for the implementation of a single-rooted replication tree.

Thanks to the Publish/Subscribe feature, a client of a slave may subscribe to a channel at any particular point and receive a full feed of messages published to the master.

Data structure types

In contrast to other structured storage systems, Redis supports abstract data types.

Here is a list of the abstract data types supported by Redis:

Lists of strings;Sets of strings (collections of non-repeating unsorted elements);Sorted sets of strings (collections of non-repeating elements ordered by a floating-point number called score);Hash tables where keys and values are strings;HyperLogLogs, which are used for approximated set cardinality size estimation;Geospatial data;

Redis supports high-level, atomic and server-side operations whose availability depends on the particular data type.

Redis – practical uses

Redis can be employed for many practical purposes. Here is a list of the most common uses of Redis:

Real-time analyticsUser session storeReal-time data ingestHigh-speed transactionsJobs & queue managementTime series dataComplex statistical analysisNotificationsDistributed lockContent cachingGeospatial dataStreaming dataMachine learning

Supported languages

Lots of languages have libraries for communicating with Redis, including ActionScript, C, C++, C#, Java, JavaScript (Node.js), Perl, PHP, Python, Ruby, Scala, etc.

How to make use of Redis on our web hosting platform?

You can find Redis in the Advanced section of the Web Hosting Control Panel:

To enable Redis for a given project, you will need to create an instance first. 

In the Redis section, click on the ‘Create a new instance’ button in the top-right corner and then hit the ‘Add’ button in the popup window that comes up:

Once the instance has been created, you will see it listed in the table below:

You will see the socket path and will have an option to add memory, or restart the instance, etc. 

***

Redis is included by default with the Corporate and Enterprise web hosting plans and is available as an upgrade with the Starter, Business and custom-made packages. 

Also, Redis comes with all semi-dedicated and dedicated servers as well as with the whole range of OpenVZ VPSpackages. 

Comments

Popular posts from this blog

Windows 10 now on 600 million machines.

Microsoft CEO Satya Nadella told shareholders that Windows 10 has now passed 600 million monthly active users, picking up 100 million since May of this year. This number counts all Windows 10 devices used over a 28-day period. While most of these will be PCs, there are other things in the mix there: a few million Xbox Ones, a few million Windows 10 Mobile phones, and special hardware like the HoloLens and Surface Hub. The exact mix between these categories isn't known, because Microsoft doesn't say. The company's original ambition (and sales pitch to developers) was to have one billion systems running Windows 10 within about three years of the operating system's launch. In July last year, the company acknowledged that it won't hit that target—the original plan called for  50 million or more phone sales a year , which the retreat from the phone market has made impossible. But at the current rate it should still be on track for somewhere in excess of 700 million use...

WZoneLite – A Pretty Cool WooCommerce Amazon Affiliate Plugin .

Everyone wants to make a million dollars by being a blogger. The promise of riches and internet fame is a big draw to doing it for a lot of people, and I’m sorry to say that the reality of being a blogger (even a professional blogger!) is not quite…as financially lucrative as all that. But that’s not to say that it  can’t be –one of the best ways to start your empire is with an Amazon affiliate plugin. For me, the Amazon Associates program has been one of the biggest earners for me over the years. Not only are there CPM ads like Google Adsense (you know, the normal banner ads we all love to hate), but any time someone clicks a link from your site, you get a percentage of  anything  they buy while the token from your site lasts in their browser. If they buy a song, you get a few cents. If they buy a new MacBook Pro and iPhone? You get…a lot more cents. With that in mind, WZoneLite is a  pretty cool WooCommerce Amazon affiliate plugin that syncs everything together s...

Josidel Online Stores

 Josidel Online Stores is an e-commerce website that offers a wide range of products to customers worldwide. From trendy fashion items to cutting-edge electronics, the store provides an easy and convenient shopping experience for everyone. One of the things that set Josidel Online Stores apart is the variety of products available on the platform. Customers can find everything from stylish clothing and accessories to gadgets and home appliances. With a focus on quality and affordability, the store offers products that are both stylish and practical. Another key feature of Josidel Online Stores is its user-friendly interface. The website is easy to navigate, with products sorted into various categories and subcategories. Customers can easily find what they're looking for, with a simple search bar and filtering options available. The store also provides detailed product descriptions and high-quality images to help customers make informed purchase decisions. Josidel Online Stores pride...