Skip to content

week 07

David Humphrey edited this page Nov 1, 2020 · 1 revision

Week 7

Videos

  1. A Tour of the Telescope Project
  2. Fixing a bug in Telescope

Readings

  • Telescope uses Redis for its caching layer and feed queue. Redis is an open source (BSD 3-Clause), cross-platform, high performance, in-memory, key/value data structure database server. It is written in C, as well as Tcl and Lua (~175K lines of code). It was started in 2009 by Salvatore Sanfilippo (antirez), and is among the most popular NoSQL databases in the world, and the most popular key/value store. It is used by everyone, including Twitter, Instagram, GitHub, StackOverflow, Pinterest, Snapchat, Shopify, Airbnb, Uber, Tumblr, Slack, Medium, Imgur, Kickstarter, etc. Some common use cases for Redis include:

    • User Session Cache (e.g., reduce DB lookups for user info, shopping cart data)
    • Full Page Cache (e.g., by URL or route)
    • Queues (e.g., Message Queue, Worker Queue)
    • Counting (e.g., metrics, analytics)
    • Pub/Sub (e.g., chat systems, notifications)
  • Sanfilippo has written an excellent post on how he writes Source Code Comments in Redis. Please read this and consider how you think about and use code comments, and what you could learn from a master like him.

TODO

  • Watch the Video lectures
  • Do the Readings
  • Complete Lab 6
  • Begin working on Release 0.3
Clone this wiki locally