MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Learn by Building Redis with Ruby

Course Summary

In this course we build a Redis clone from scratch, using Ruby. We will implement all the major features, including the data structures, transactions, persistence, and more. Along the way we'll also learn how Redis uses Unix sockets and process management


  • +

    Course Syllabus

    ● Introduction
        ◦ Introduction
        ◦ Project Setup
        ◦ Simple TCP Server
        ◦ The Server Lives!
        ◦ Recap
    ● Simple Commands and Data Structures
        ◦ Introduction
        ◦ Echo
        ◦ Skeleton Recap
        ◦ Introduction to Non-blocking IO
        ◦ IO.select
        ◦ Non-blocking Parser
        ◦ Review
        ◦ Graceful Shutdown Using a Pipe
        ◦ Naive Set and Get
        ◦ Refactoring
        ◦ Set Variants and Error Handling
        ◦ Hash Basics
        ◦ Refactoring the Dispatcher
        ◦ Incrementing Values
        ◦ Type Checking
        ◦ Summary
    ● Expiry, Sets, Transactions, and Lists
        ◦ Introduction
        ◦ Passive Expiration
        ◦ Passive Expiration for All Commands
        ◦ Active Expiration Introduction
        ◦ Using a Timer Pipe
        ◦ Sorted Sets
        ◦ Naive Sorted Sets
        ◦ Logarithmic Sorted Sets
        ◦ Transactions
        ◦ Optimistic Locking
        ◦ Lists
        ◦ Blocking Operations on Lists
        ◦ Handling Client Disconnects
        ◦ Robust Message Passing
        ◦ Refactoring
        ◦ Summary
    ● Pub/Sub and Persistence
        ◦ Introduction
        ◦ Pub/sub
        ◦ Subscribing with Patterns
        ◦ Snapshotting
        ◦ Append-only File (AOF)
        ◦ AOF: Expiring Keys
        ◦ AOF: Durability
        ◦ AOF: Rewriting
        ◦ Wrapping Up

     


Course Fee:
USD 29

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top