A database is the backbone of any application, and for developers working with varied and sizable data sets, selecting an appropriate data store is a critical development consideration. Redis, an in-memory, key-value data store offers simplified, rapid data access, valuable in a range of situations where instant access is necessary, for example with data caching.
Learning Redis is an example-based introduction which demonstrates how to work with the data store by creating a playable word game, written in NodeJs. Fundamental topics of Redis are covered along the way.
Whether you’re writing a game or any other application, you need a place to store data. Learning Redis will demonstrate why you should implement Redis.
Throughout the course, we will put to use the important concepts of Redis such as keys, values, sets, and hashes, which will help us build a solid application that works on some of the most important app requirements such as information storage, validation, pub/sub, notifications, and sorting.
By the end of the course, you will understand how to make use of all of Redis’ features so you can design applications with rapid, efficiently managed data access.
About The Author
Scott Ganyo is a prolific software developer with 20 years of hands-on expertise in development, architecture, research, and leadership. His strikingly broad and successful technical background includes founding a large web service software company and two consulting companies, product and project leadership in enterprise and consulting environments, research and development for some of America’s most prestigious firms, 24x7 operations planning and management, and open source software development and leadership. A Renaissance Man, Scott is also an accomplished actor, writer, singer, improviser, and award-winning producer.
Scott is currently employed with Apigee Corporation and contributes to several open source projects including Apache Usergrid and Apigee 127 utilizing Java, NodeJs, Ruby, and Redis.
Each player must maintain a Tray of tiles. How can we model this in Redis.
We must validate a turn against the dictionary, the player's tray, and the previous play.
A game is a series of turns by players that we need to manage.
We need to understand how a sorted set works to implement a leaderboard.
We need to detect the end of game and mark it as complete.
We need to calculate and store the final game results.
We want to have a leaderboard to see the top 10 scores of all time.
We need to design an event that informs our users about the game state.
We need to integrate our pub/sub design into our codebase.
We need to subscribe to the events we created.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.