Introduction

About the book #

This book records the whole process of implementing a in-memory data store with Java, called JavaStore. it will support Redis commands. JavaStore is not meant to be a production service, but a learning tool.

The source code is at Github.

At first, a very simple version will be implemented with following feature:

  • only support part of Redis data structures, as these are supported by Java
    • String
    • List
    • Hash
    • Set
    • Sorted Set
  • use single thread to read/write.
  • no log, no replication, no disk backup.

then try to improve it.

Update History #

  • Part one
    • Chapter 1
      • Command Reader (Updated 2023-01-27)