#devops
Study materials by tag "devops" from expert practitioners. Current articles and useful tips for development.
Articles with tag "#devops"
All materials on the topic devops
Event Loop in Python: How asyncio Achieves "Parallelism"
Event loop is the heart of asyncio. It doesn't run code in parallel across multiple threads. Instead, it switches between...
run_in_executor and anyio: Sync Libraries in Async Code
Sometimes you need to call a synchronous library from async code without blocking the event loop.
Async Context Managers: async with and @asynccontextmanager
Async context managers manage resources in async code — connections, files, transactions.
asyncio: Timeouts, Task Cancellation and Graceful Shutdown
Three things you absolutely need in production async code.
asyncio: Queue, Lock, Semaphore — Synchronization Without Threads
In async code multiple coroutines run concurrently in a single thread. Race conditions can still happen — and asyncio provides...
Async Generators and Async Iterators in Python
Async generators are a way to lazily produce data in an async context. Perfect for streaming, pagination and processing large...
asyncio.gather, create_task and TaskGroup: Concurrency in Practice
Three ways to run multiple coroutines concurrently. Each has its own niche.
asyncio in Python: Asynchronous Programming
asyncio is Python's standard library for asynchronous code. It lets you execute multiple tasks "simultaneously" within a single thread.
Deployment and ReplicaSet in Kubernetes
A Pod is a one-shot unit. A Deployment is the mechanism that guarantees the right number of pods is always...
Deploying FastAPI with Docker
Railway will also automatically detect a Dockerfile if one is present.
Deploying Django to Railway
Railway is a cloud platform with a free tier. Deploy from GitHub in minutes.
DRY: Don't Repeat Yourself 🔄
Imagine you're writing code to hack 10 systems. You copy the hacksystem() function 10 times. Then you find a bug...
Looking for more on the topic?
Study all our materials or subscribe to updates