Newslurp

<< Stories

Python 3.13 🆕, Docker Best Practices 🧑‍🏫, PostgreSQL to MySQL 📜

TLDR DevOps <dan@tldrnewsletter.com>

October 9, 11:06 am

TLDR DevOps
Python 3.13 introduces a new interactive interpreter, experimental free-threaded mode (PEP 703), and a Just-In-Time compiler (PEP 744). ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ 

TLDR

Together With DoiT International

TLDR DevOps 2024-10-09

🆓 O'Reilly's Cloud Native DevOps with Kubernetes (Sponsor)

Learn how to:

  • Run applications on managed cloud Kubernetes or on-prem
  • Optimize clusters for cost and performance
  • Choose the best tools for developing, testing, and deploying your applications.

Get the 2nd edition free (compliments of DoiT)

📱

News & Trends

What's New In Python 3.13 (1 minute read)

Python 3.13 introduces a new interactive interpreter, experimental free-threaded mode (PEP 703), and a Just-In-Time compiler (PEP 744). It also improves error messages with color-highlighted tracebacks and allows modifications to the locals() function. The update removes deprecated APIs and enhances type parameters with default values. For detailed information and migration guidance, refer to the official Python documentation and relevant PEPs.
Valkey 8.0 Now GA with Improved Memory Efficiency (2 minute read)

The Linux Foundation released Valkey 8.0 a couple of weeks ago. It offers up to 20% more capacity than previous and maintains compatibility with Redis. Key improvements include per-slot dictionaries, a new multi-threaded architecture, and memory optimizations, boosting performance without breaking command syntax.
🚀

Opinions & Tutorials

Docker Best Practices: Using Tags and Labels to Manage Docker Image Sprawl (4 minute read)

Relying solely on the "latest" tag is misleading, as it doesn't guarantee you're pulling the most recent version. A better approach to managing Docker image sprawl is to use semantic versioning with tags and employ labels for tracking image metadata, ensuring clarity and consistency in identifying Docker images.
Migrating in-place from PostgreSQL to MySQL (8 minute read)

In a complex migration project, Yelp successfully transitioned its Reservations service from a PostgreSQL database to a Yelp-standard MySQL database, overcoming numerous technical challenges to ensure uninterrupted service for restaurant clients while ultimately benefiting from enhanced performance and support.
This Post Is Not About Python (5 minute read)

Python is slower compared to languages like C, especially when using complex features, and struggles with efficient multi-CPU usage. Despite these limitations, Python can still be effective for many projects due to its ease of use and the speed of modern hardware. Engineers need to choose the right tool for specific needs critically and without bias, avoiding favoritism that can lead to poor decision-making and project failures.
🧑‍💻

Resources & Tools

promql-anomaly-detection (GitHub Repo)

Framework for anomaly detection in time series data using Prometheus/PromQL.
Visual Subnet Calculator - Split/Join (Website)

Effortlessly create and customize network layouts by splitting and joining subnets, adding notes and colors, and collaborating with others through a shareable link.
🎁

Miscellaneous

Unprotected container registries (4 minute read)

Unprotected container registries pose a significant risk to cybersecurity, with over 10,000 still unsecured, exposing sensitive data to potential attackers. To combat this issue, organizations must enforce strict security measures, including authentication and regular audits, while the community should prioritize awareness and best practices in securing these vital resources.
AWS LetsEncrypt Lambda – or Why I Wrote a Custom TLS Provider for AWS Using OpenTofu and Go (12 minute read)

This post discusses the limitations of using AWS Certificate Manager for certificates outside of AWS services and suggests LetsEncrypt as an alternative. It introduces a Lambda function that automates the issuance and renewal of LetsEncrypt certificates, which can be used with AWS services and stored in AWS Secrets Manager for other environments like EC2 instances.

Quick Links

The coldest Monday with a $1 million cloud bill: Terraform to the rescue (2 minute read)

A compromised service key led to a cryptomining attack at a startup that resulted in over $1 million in unexpected cloud costs.
eBPF - Cilium on FHIR® - A Star Wars Story (5 minute read)

Anakin Skywalker, now a new employee of the Galactic Empire, faces a critical moment after being severely injured on Mustafar, as he navigates galactic health systems powered by advanced FHIR technology for his emergent medical needs.
Pulumi ESC and External Secrets Operator: The Perfect Solution for Today's Cloud-Native Secret Management (9 minute read)

Pulumi ESC and External Secrets Operator enhance cloud-native secret management by securely managing and synchronizing sensitive data across Kubernetes clusters.

Love TLDR? Tell your friends and get rewards!

Share your referral link below with friends to get free TLDR swag!
Track your referrals here.

Want to advertise in TLDR? 📰

If your company is interested in reaching an audience of devops professionals and decision makers, you may want to advertise with us.

If you have any comments or feedback, just respond to this email!

Thanks for reading,
Kunal Desai & Martin Hauskrecht


If you don't want to receive future editions of TLDR DevOps, please unsubscribe from TLDR DevOps or manage all of your TLDR newsletter subscriptions.