Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Master Flaky Systems With Retries in Python 🐍 (avoid self-DDoS)

Автор: Hynek Schlawack

Загружено: 2024-12-09

Просмотров: 3021

Описание:

Every system fails eventually and your Python app is no different. And while failure is inevitable, downtime isn't. One of the key reliability tools in distributed systems are retries – so let's look how they can do more harm than good, and how to retry safely and easily in Python by using the stamina and httpx packages as examples. Both using a decorator and a smart loop-context manager combo!

🔗 Links

► https://stamina.hynek.me/
► https://tenacity.readthedocs.io/
► https://www.structlog.org/
► https://en.wikipedia.org/wiki/Thunder...
► https://en.wikipedia.org/wiki/Denial-...
► https://www.bbc.com/news/business-646...
► https://www.w3.org/Provider/Style/URI
► https://sre.google/books/
► https://how.complexsystems.fail
► https://en.wikipedia.org/wiki/Three_M...
► https://longform.asmartbear.com/scale...
►    • Hynek Schlawack   Solid Snakes or How to T...  

🤓 ME ELSEWHERE

🏡: https://hynek.me/
🐘: https://mastodon.social/@hynek/
🦋: https://bsky.app/profile/hynek.me
🅇:   / hynek  
🧵: https://www.threads.net/@the_hynek
✉️ Newsletter: https://buttondown.email/hynek
❤️ Support my work: https://hynek.me/say-thanks/

🙏 CREDITS

Outro Music: ‪@RPLKTR‬ / https://rplktr.com/
Other music and material licensed from Envato.

📖 Chapters

00:00 Failures are a fact of life.
01:03 Who's talking?
01:54 Why retries?
02:46 Dangers of retries.
03:23 Backoffs
04:38 Timeouts
05:00 Jitters ☕️
05:20 A brief glimpse at advanced problems (feat. elementary school math)
06:44 Python: Tenacity
08:02 Introducing stamina
08:43 stamina: decorator
10:35 stamina: loop + context manager
11:03 stamina: RetryingCaller / AsyncRetryingCaller
12:02 stamina: testing helpers
13:04 stamina: instrumentation
14:29 Summary & takeaways
15:18 Thank you & goodbye! ❤️

Master Flaky Systems With Retries in Python 🐍 (avoid self-DDoS)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

uv: Making Local Python Workflows FAST and BORING in 2025

uv: Making Local Python Workflows FAST and BORING in 2025

svcs: Robust & TESTABLE #Python Web Applications with ANY Framework!

svcs: Robust & TESTABLE #Python Web Applications with ANY Framework!

Season 2 - Episode 3: Building Brand Credibility and Authenticity

Season 2 - Episode 3: Building Brand Credibility and Authenticity

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

NOX vs TOX – What are they for & how do you choose? 🐍📦

NOX vs TOX – What are they for & how do you choose? 🐍📦

Как устроен PHP 🐘: фундаментальное знание для инженеров

Как устроен PHP 🐘: фундаментальное знание для инженеров

New Microchip Breakthrough: Beyond Silicon

New Microchip Breakthrough: Beyond Silicon

Is UV the FUTURE of Python PACKAGING? 🐍📦

Is UV the FUTURE of Python PACKAGING? 🐍📦

My 2025 uv-based Python Project Layout for Production Apps

My 2025 uv-based Python Project Layout for Production Apps

Loose Coupling & Dependency Injection the EASY Way! 🐍

Loose Coupling & Dependency Injection the EASY Way! 🐍

Modern Python logging

Modern Python logging

Why You Should Think Twice Before Using Returns in Python

Why You Should Think Twice Before Using Returns in Python

uv IS the Future of Python Packaging! 🐍📦

uv IS the Future of Python Packaging! 🐍📦

How To Build an API with Python (LLM Integration, FastAPI, Ollama & More)

How To Build an API with Python (LLM Integration, FastAPI, Ollama & More)

Изучите Python за 1 час! 🐍

Изучите Python за 1 час! 🐍

Exception Handling Tips in Python ⚠ Write Better Python Code Part 7

Exception Handling Tips in Python ⚠ Write Better Python Code Part 7

Getting Started with Python in VS Code (Official Video)

Getting Started with Python in VS Code (Official Video)

Как пошагово собрать полный пакет Python

Как пошагово собрать полный пакет Python

Temporal Python – A Durable, Distributed Asyncio Event Loop — Maxim Fateev

Temporal Python – A Durable, Distributed Asyncio Event Loop — Maxim Fateev

AsyncIO and the Event Loop Explained

AsyncIO and the Event Loop Explained

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]