Counting OpenAI Tokens per Request in FastAPI — Without Touching My Use Cases
I'm rebuilding evorag , a Python retrieval service: it chunks documents, embeds them with OpenAI's text-embedding-3-small , stores vectors in Postgr…
Latest Architecture news from Tech News
I'm rebuilding evorag , a Python retrieval service: it chunks documents, embeds them with OpenAI's text-embedding-3-small , stores vectors in Postgr…
Django or FastAPI? Hiring managers ask this before they have written a single job description, and the honest answer is that the framework matters l…
I Built a Bilingual "Mini-Uber" for My Dad's Escalade Business My dad drives a Cadillac Escalade. He's licensed in California (TCP permit — the real…
Ever written a security check that looked perfectly reasonable... until you realized it could let everyone in ? Here's a tiny Python mistake that ca…
One business logic layer, two entry points: HTTP and RabbitMQ. Here is the backend template I built with FastAPI, FastStream, and Dishka. This walkt…
Choose a small error-tracking API when the rollback decision depends on searchable exception events, not on traces, replay, or a full monitoring sui…
RecallDesk: Building the FastAPI Backend Behind an AI Support Memory System In customer support applications, the frontend is where engineers intera…
The alert looks familiar. The Payment API is timing out against its database, and I have a nagging feeling someone fixed this before. But that fix i…
В этой статье будет разбираться написание GitHub Actions пайплайна на основе моего стенда cicd-practice на GitHub (подробно все можно посмотреть там…
Introduction to FastAPI and Common Pitfalls FastAPI has emerged as a powerhouse for building high-performance web applications, thanks to its async…
Полтора месяца назад мне пришла претензия на 44 тысячи рублей за фото восьмилетней давности на сайте нашего отеля — типичный «фотобанковский» иск с…
CVE-2026-48710 (BadHost): How a Malformed Host Header Bypasses Starlette Path Authorization Vulnerability overview CVE-2026-48710, tracked publicly…
Introduction Prompt engineering taught teams how to talk to models. Context engineering teaches teams how to build systems that give the model the r…
Практический разбор архитектуры AI‑ассистента, который постепенно вырос в production‑систему: управление состоянием диалогов, разделение канало…
Have you ever wanted to just talk to a PDF instead of reading through 50 pages? I built a full PDF Chat API in one day — upload any PDF, ask questio…
Ever had your smartwatch buzz at you during a meeting, telling you to "take a breath," only to realize your heart is racing because of a 10 AM deadl…
What Is FastAPI FastAPI is a modern, high-performance web framework for building APIs with Python. It helps developers create backend services quick…
When I started this project, the brief was simple to state and deceptively large to build: a full fashion e-commerce platform — product catalog, siz…
I recently worked on a lightweight real-time dashboard built with FastAPI , WebSockets , and aiomysql . The main goal was simple: retrieve live data…
Day 7 & 8 of learning Python Full Stack Development, yesterday and today I have started taking an notes for my project ideas and studying about…
Short answer: send normalized failures from every FastAPI and Node.js service to one capture endpoint, carry the same trace ID through the request p…
Node.js Express vs. Python FastAPI: The Definitive Guide for Choosing Your Next Backend Choosing a backend framework used to be simple. If you liked…
Hey devs! 👋 I recently built and open-sourced FastMedia Downloader , a full-stack platform designed to inspect and extract multimedia content from o…
Iran Doesn't Need to Mine Hormuz — Your requirements.txt Is Already Rigged Every headline you've read this week is a diversion. The Strait of Hormuz…
When designing modern backend microservices, two pillars dictate the reliability and speed of your application: strict data contracts and non-blocki…
We’ve all been there: staring at a delicious plate of pasta, wanting to track our macros, but dreading the manual entry into a fitness app. Traditio…
I Dockerized My First FastAPI Application — From Python Code to Container In my previous article, I explained the Docker concepts that confused me w…
Multi-tenant applications have a way of turning simple endpoints into surprisingly complicated pieces of code. At first, tenant-specific validation…
Most developers build Retrieval-Augmented Generation (RAG) pipelines assuming every user query needs a vector search. In production, this naive appr…
Building reliable AI systems requires more than great prompts. It requires great infrastructure. Everyone is talking about AI Agents. From coding as…