Level up your SRE Game — Best of this Week — 18th June 2023
“The future belongs to those who believe in the beauty of their dreams.” — Eleanor Roosevelt
I compile Site Reliability Engineering/DevOps-related articles every week and help you keep up your learning game.
This week we covered:
- Want to improve your Python application’s performance with caching?
- Discover a beautiful collection of crowd-sourced open-source APIs for building amazing applications!
- Real Multithreading Is Coming to Python!
- DNS and DevOps — All You Need to Know!
I also write about the tools and tips related to Software Development and SRE regularly on my Linkedin profile. You can check out my profile here: https://www.linkedin.com/in/vikasyadav94/
Want to improve your Python application’s performance with caching?
cachetools library has the solutions you need. Read on to learn more.
Cachetools library provides various features:
- Various Caching Strategies: It offers multiple cache strategies like LRU, LFU, RR, and TTL to optimize performance based on specific needs.
- Cache Size Limits: The library enables setting cache size limits, either by a number of entries or a custom function, preventing indefinite memory consumption.
- Thread-Safety: It provides thread-safe caching, ensuring safe usage across multiple threads without data inconsistencies.
- Decorator-Based Usage: cachetools supports Python decorators, facilitating easy caching of function or method results.
- Extensibility: The library offers extensibility with the option to customize existing caching strategies or create new ones.
Checkout the library and let me know your experience!!
Hashtags: #python #opensource #github
Discover a beautiful collection of crowd-sourced open-source APIs for building amazing applications!
From animals and anime to machine learning and transportation, this collective list includes everything you need to get started.
Use these APIs to build interesting ideas.
Bookmark the link. I’m sure it will come in handy for you later!
Hashtags: #opensource #github #api
Real Multithreading Is Coming to Python!
Did you know that despite being 32 years old, Python still lacks proper parallelism and concurrency?
But that’s going to change soon! The “Per-Interpreter GIL” (Global Interpreter Lock) is set to bring true concurrency to the language. While the release is still months away, you can take an early peek at how to write truly concurrent Python code using sub-interpreters API.
Check out this insightful blog post for a closer look.
Hashtags: #python #multithreading
DNS and DevOps — All You Need to Know!
This is all you’ll ever need to know about how DNS works!!
Given that there are so many terminologies involved — understanding DNS can get complicated.
Here’s the best article that I’ve ever seen for understanding DNS.
It covers:
- How Domain Names work
- A Packet-level Analysis of DNS requests and responses,
- Vulnerabilities and security in DNS,
- How to Build your own DNS server in Linux.
Hope this helps people who are preparing for interviews or those who just want to understand the basics well!
Hashtags: #interview #dns #devops #linux #networking