Python: Optimize Dynamic Object Creation

Introduction

Python is extremely flexible and powerful, but it’s not always the fastest language. And in many cases it really doesn’t matter. Because raw speed is not the only thing that matters. Python ecosystem has a lot of libraries that are more performant than similar libraries in other languages. But in general, you should know your language and its features to write efficient code. What is even more important - Python gives you a lot of ways to handle the way you do some things. You know - there are multiple ways to create objects in Python.

Read More

Serverless Command Pattern

Introduction

There are many ways to organize your serverless functions. Technically, their name is self-explanatory - they are functions. Provider-agnostic, they are just pieces of code that do something upon execution and can either have a payload or not. However, when you start building a slightly bigger system, you might want to organize them in a more structured way.

Read More

Give Caddy a Try

Introduction

Not every developer in the modern era knows or needs to configure a webserver itself. And even if you do, you might not want to spend hours setting up a huge, complex webserver like Apache or Nginx. That’s where Caddy comes in.

Read More

To Dock or Not to Dock

Introduction

Hey there! If you’re a developer, you’ve probably worked with resource-constrained environments – you know, those basic DigitalOcean droplets, Heroku free dynos, or AWS free tier. While they might seem limiting, they can be really capable if tuned.

Read More