Clean Architecture with FastAPI

Clean Architecture Tired of your projects getting a mess? Impossible to scale for more features and endpoints? I have a solution to your problems. Today we will explore clean architecture using abstract classes, repository pattern and use cases....

March 1, 2023 · 7 min · Rodrigo Delduca

Getting started with Async in Python

In this post, you’ll learn the basics on Async IO and how get start with it in python with few simple examples.

January 18, 2023 · 6 min · Suneet Choudhary

Lint all the things with golangci-lint!

Intro If you program in Go, you probably have used the built-in linter, the go vet ./..., this linter is good and catches some common issues, but today we will explore some alternatives, and the chosen one was golangci-lint....

Resumable uploads of large files using tus and Cloudflare Stream

Despite the increase in bandwidth and stability of the Internet across the globe, large file uploads are often interrupted. Mainly when the upload is performed over a mobile network or from a remote area....

October 17, 2022 · 6 min · Sergei Podatelev

Mobile Security: How to establish your App's Integrity

Explore the methods to validate your app’s integrity, so that only the legit instances of your apps can connect with your server.

October 11, 2021 · 5 min · Shiva Saxena

Use Docker Multi-Stage builds to keep the image size down

It is a daunting task to keep the size of docker images small. You might have seen your docker build get extensively large once you start adding more artifacts that would be needed in production....

June 13, 2021 · 4 min · Sanyam Khurana

Custom per-object Permission System in Django

Almost all of the apps out there have some concept of authenticating and authorizing users in their system. In this blog post, we will look at how you can implement per-object authorization in Django....

May 27, 2021 · 3 min · Akash Mishra (@tucosaurus)

Closure Table

Building a filesystem like a google drive, a threaded comments system, or an employee management system always sounds like a daunting task. The data for these use-cases has recursive relationships....

May 24, 2021 · 6 min · Akash Mishra (@tucosaurus)

Full-Text Search PostgreSQL or ElasticSearch

In this article, I’m documenting some of my findings when implementing Full-Text Search (FTS) in PostgreSQL (using Django ORM) and ElasticSearch. As a Django developer, I started looking into available options to perform a Full-Text search over a standard size of around a million rows....

May 16, 2021 · 3 min · Mayank Jain

Setup Full-Text Search Index in Django

In this tutorial, we will be setting up a pre-computed database index using database triggers to speed-up Postgres Full-Text Search in Django. To avoid the computation of tsvector using SearchVector on the fly, we can pre-compute the result in an indexed column....