Select Page

YaitRedis: Yet another introduction to Redis

If you are interested in NoSQL, in-memory storage, caches and data structures that can be used for distributed computing, keep reading because we will talk about Redis.

Today we bring you a talk in which we are going to talk about the Redis server and how it works under Java with the Jedis libraries.

Redis is an in-memory NoSQL database engine, Memcached on steroids based on key value data storage. It also has different types of data and operations, from atomic nature, combined with a impressive execution speed. In fact, reading and writing is perhaps one of the fastest on the market right now. Not only is it in memory, it secondarily persists your data. And it holds even more surprises: block lists, pub/sub message channels, Lua scripting, etc. Of course Redis is open-source (BSD).

All operations and all transactions, at least in data processing, are atomic (that is, there is a single-thread), and this atomicity is very useful not only for data processing but also to guarantee logs, distributed computing, etc. . This feature of Redis, as we will see later in the talk, is very powerful.

In Redis there are different data structures that can be stored. The value can be either another string or a data list or a map, but there is only one data type which is String in UFT-8 or bytes, that is, the map will be of strings, the list will be of strings, if it is a single value is a string... Redis has scripting capability in the LUA programming language., which is also very fast and the execution of each script is also atomic. The data can also have optional expiration times and Redis can also function as a cache.

Redis is a very popular database server. It is among the most valued NoSQL engines on the market, it is used by giants like Twitter and offered as a service by Microsoft, Alibaba, Amazon, etc.

Therefore, if you want to learn more about the concepts of this new server, along with the example Java code, we leave you the video of this 101PanelTechDays. If you are working with another language, remember that the examples are very simple and there are more than 20 drivers/libraries in different languages. In the talk, we will explore use cases and distributed utilities that can be done with Redis, applicable to other Panel or customer projects.

The presentation and the source code are (and will continue to be) available on GitHub as an open project, as well as more resources in case you want to continue delving into the subject, at this link:

https://github.com/oscar-besga-panel/YaitRedisAndJedis.

Panel Sistemas

Panel Sistemas

For any additional information, contact us via e-mail at this address.

Leave us your comment

0 comments

Send a comment

Your email address will not be published. Required fields are marked with *

Share This