CTO News Hubb
Advertisement
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact
No Result
View All Result
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact
No Result
View All Result
CTO News Hubb
No Result
View All Result
Home CTO News

Build Your Own Redis with C/C++ C/C++

March 18, 2023
in CTO News


Introduction

  • Why build Redis? The knowledge required is broader and deeper
    than usual application-level development. It’s a good way to level up
    your skills (mainly network programming and data structures).
  • Why from scratch? A quote from Richard Feynman: “What I
    cannot create, I do not understand”. Human understandings are filled
    with holes aka “things I don’t know I don’t know”. Building from scratch
    is a way to ensure your understanding is complete.
  • Why C? C is widely used in system programming and
    infrastructure software. Learn how C is used in real projects, with
    straightforward C code. No prior C/C++ experience is required.
  • Why a book? The Redis project is a complex software system
    built with lots of effort, which can be harder to grasp for beginners.
    The book breaks down the core concepts into easy-to-digest steps.

Table of Contents

Part 1. Getting Started

  1. Introduction
  2. Introduction to Sockets
  3. Hello Server/Client
  4. Protocol Parsing
  5. The Event Loop and Nonblocking
    IO
  6. The Event Loop
    Implementation
  7. Basic Server: get, set, del

Part 2. Essential Topics

  1. Data Structure: Hashtables
  2. Data Serialization
  3. The AVL Tree: Implementation and
    Testing
  4. The AVL Tree and the Sorted Set
  5. The Event Loop and Timers
  6. The Heap Data Structure and the TTL
  7. The Thread Pool and Asynchronous
    Tasks

(The book is complete at this point.)

Part 3. Extended Contents

(Possible ideas for a future edition, subject to change.)

  1. The Quadtree and Geospatial Data
  2. Querying and Updating JSON Data
  3. The Inverted Index and Full-text Search

Appendixes

Source code: https://build-your-own.org/redis/src.tgz.

The book is available for purchase.

See also:

codecrafters.io
offers “Build Your Own X” courses in many programming languages.

Including Redis, Git, SQLite, Docker, and more.

Check it out



Source link

Previous Post

Sovereign clouds are becoming a big deal again

Next Post

What are the Job Roles And Career Opportunities In IoT?

Next Post

What are the Job Roles And Career Opportunities In IoT?

Researchers use functional near-infrared spectroscopy to monitor participant responses -- ScienceDaily

Trending News

Are your hiring practices restricting the attraction of female tech talent?

March 8, 2023

Who Will Blockchain Put out of Business?

December 26, 2022

The Hard Truth About Performance — A Guide for CTOs

December 31, 2022

© 2022 CTO News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • CTO News
  • IT
  • Technology
  • AI
  • QC
  • Robotics
  • Blockchain
  • Contact

Newsletter Sign Up

No Result
View All Result
  • Home
  • CTO News
  • IT
  • Technology
  • Tech Topics
    • AI
    • QC
    • Robotics
    • Blockchain
  • Contact

© 2021 JNews – Premium WordPress news & magazine theme by Jegtheme.

SUBSCRIBE TO OUR WEEKLY NEWSLETTERS