Black Box Debugging - A hitchhiker's guide to debugging python production code with ease
CodeSportsAi |
2
Description:
If you’ve ever heard about or experienced a production python bug that can’t be fixed because we’re not able to reproduce the same, sometimes even after adding additional logs, then this session is for you and you’ll be pleasantly surprised with this
Black box debugging is a generic technique where we add low footprint and encoded debug logs in the production code which drastically increases the chances of detecting the cause of a bug without requiring a recurrence with additional logs (read Debug Logs).
Traditionally, we tend to include a limited amount of logs in the production code because writing onto the disk is a costly affair and can potentially impact the performances, but at the same time if something goes wrong, then we need the logs to debug the system.
With black box debugging you can have all the logs in the production code without impacting the performance of the code…!!!
Black box debugging can be done using any In-Memory SQL and/or NoSQL databases and in this talk we’ll see the examples using In-Memory NoSQL redis database.
Prerequisites:
This talk is for all Python programmers irrespective of their expertise level
Video URL:
https://www.youtube.com/watch?v=5pn6wfB1KpQ
Speaker Info:
Daksh Gupta (a.k.a Deepak K Gupta) is a software product development consultant with 23 years of experience in software development in the areas of Application Programming, Cloud Computing, Big Data Management & Machine Learning.
Daksh has used python to create multiple production level software in the areas of cloud computing and machine learning. During the course of his career he has worked with startups, mid-sized as well as multinational organizations in multiple Dev Advocate roles.
Daksh is an avid public speaker and has spoken in multiple public platforms and conferences including 4 times in PyCon US (2019, 2020, 2022, 2024)
Daksh also writes blogs in medium and creates vlogs on YouTube. More details about him can be found @ https://www.codesports.ai/
Speaker Links:
- PyCon US 2024 - https://us.pycon.org/2024/schedule/presentation/35/ (Not yet uploaded to YouTube - Should be available in a week or so)
- PyCon US 2022 - https://www.youtube.com/watch?v=akfsWPsvmrM
- PyCon US 2020 - https://www.youtube.com/watch?v=NjMTf2UWPsw
- PyCon US 2019 - https://www.youtube.com/watch?v=bCDcI8SdjD8
GitHub https://github.com/CognitiveProgrammer/
YouTube https://www.youtube.com/@Cognitive-Programmer
Medium https://medium.com/@CognitiveProgrammer
Website https://cognitiveprogrammer.tech/