Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Saved by In-Memory NoSQL

PyCon US via YouTube

Overview

Explore the concept of black box debugging in Python through this insightful PyCon US talk. Learn how to implement low footprint, encoded debug logs in production code to increase bug detection without impacting performance. Discover the unexpected benefits of using In-Memory NoSQL databases for persistent logging. Examine the black box architecture, state machine implementation, and encoded logging techniques. Gain practical insights into logging strategies, database write optimizations, and the overall architecture of this innovative debugging approach. Understand how this method can help diagnose production issues without requiring additional logs or bug recurrence, potentially saving time and resources in troubleshooting complex Python applications.

Syllabus

Intro
Airplane Black Boxes are
Black Box Architecture
The State Machine - Miniature Version
Example
The encoded Logging - Create a mapping Table
The log files will look like
Black Box Debugging - Things we need at our end
Some Logging Strategies
To be able to behave like Black Box
The Architecture
Second Try - SQL Database Write
After Third Try - NoSQL In-Memory Database Write
NoSQL In-Memory Database write - Further Optimization

Taught by

PyCon US

Reviews

Start your review of Saved by In-Memory NoSQL

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.