DEV Community

Ugur Aslim profile picture

Ugur Aslim

https://www.linkedin.com/in/uguraslim/

Location Ankara, Turkey Joined Joined on  Personal website https://uguraslim.com github website
PostgreSQL Foreign Key Cycles in Multi-Tenant Hierarchies: Breaking Circular Dependencies Without Violating Referential Integrity

PostgreSQL Foreign Key Cycles in Multi-Tenant Hierarchies: Breaking Circular Dependencies Without Violating Referential Integrity

Comments
4 min read

Want to connect with Ugur Aslim?

Create an account to connect with Ugur Aslim. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
FastAPI Request Logging for Multi-Tenant Debugging: Structured Logs That Preserve Tenant Context Without Middleware Chaos

FastAPI Request Logging for Multi-Tenant Debugging: Structured Logs That Preserve Tenant Context Without Middleware Chaos

Comments
5 min read
PostgreSQL Window Functions for Multi-Tenant Feature Adoption Analytics: Ranking Users Without Application-Layer Sorting

PostgreSQL Window Functions for Multi-Tenant Feature Adoption Analytics: Ranking Users Without Application-Layer Sorting

Comments
4 min read
React 19 Lazy Component Loading for Feature Flags: Conditionally Shipping Code Only to Tenants Who Can Use It

React 19 Lazy Component Loading for Feature Flags: Conditionally Shipping Code Only to Tenants Who Can Use It

Comments
4 min read
SQLAlchemy Event Listeners for Automatic Tenant Data Isolation: Enforcing Multi-Tenancy at the ORM Layer Without Manual Filtering

SQLAlchemy Event Listeners for Automatic Tenant Data Isolation: Enforcing Multi-Tenancy at the ORM Layer Without Manual Filtering

Comments
4 min read
Tailwind CSS Dark Mode Toggle in React 19: Persisting User Preference Without Flash-of-Wrong-Theme on Hydration

Tailwind CSS Dark Mode Toggle in React 19: Persisting User Preference Without Flash-of-Wrong-Theme on Hydration

Comments
4 min read
React 19 Form Actions with FastAPI: Server-Side Validation That Hydrates Client State Without Duplicate Logic

React 19 Form Actions with FastAPI: Server-Side Validation That Hydrates Client State Without Duplicate Logic

Comments
5 min read
TypeScript Path Aliases Across Monorepo Workspaces: Configuring tsconfig So Your Astro, React, and FastAPI Projects Share Types Without Import Hell

TypeScript Path Aliases Across Monorepo Workspaces: Configuring tsconfig So Your Astro, React, and FastAPI Projects Share Types Without Import Hell

1
Comments
4 min read
Anthropic Batch API for Asynchronous Multi-Tenant AI Processing: Cutting Claude Costs by 50% Without Sacrificing Feature Responsiveness

Anthropic Batch API for Asynchronous Multi-Tenant AI Processing: Cutting Claude Costs by 50% Without Sacrificing Feature Responsiveness

Comments
4 min read
React 19 useActionState for Form-Driven AI Features: Building Progressive Enhancement Without JavaScript Frameworks Complexity

React 19 useActionState for Form-Driven AI Features: Building Progressive Enhancement Without JavaScript Frameworks Complexity

Comments
5 min read
React 19 useOptimistic for Instant UI Feedback: Building Confidence in AI Feature Interactions Without Optimistic Update Complexity

React 19 useOptimistic for Instant UI Feedback: Building Confidence in AI Feature Interactions Without Optimistic Update Complexity

Comments
4 min read
SQLAlchemy Hybrid Properties for Computed Tenant Metrics: Avoiding SELECT N+1 When Aggregating AI Feature Usage Across Multi-Tenant Hierarchies

SQLAlchemy Hybrid Properties for Computed Tenant Metrics: Avoiding SELECT N+1 When Aggregating AI Feature Usage Across Multi-Tenant Hierarchies

Comments
4 min read
Tailwind CSS @apply Pitfalls in Monorepos: Why Your Component Library's Styles Break When Imported Into Astro and React Separately

Tailwind CSS @apply Pitfalls in Monorepos: Why Your Component Library's Styles Break When Imported Into Astro and React Separately

Comments
4 min read
TypeScript Generics for Polymorphic API Responses: Building Type-Safe Client Code Without Response Union Hell

TypeScript Generics for Polymorphic API Responses: Building Type-Safe Client Code Without Response Union Hell

Comments
4 min read
PostgreSQL Generated Columns for Tenant Cost Attribution: Computing Per-User AI Inference Spend Without Application-Layer ETL

PostgreSQL Generated Columns for Tenant Cost Attribution: Computing Per-User AI Inference Spend Without Application-Layer ETL

Comments
4 min read
Astro Content Collections for Multi-Tenant Help Docs: Rendering Tenant-Specific Documentation Without CMS Sprawl

Astro Content Collections for Multi-Tenant Help Docs: Rendering Tenant-Specific Documentation Without CMS Sprawl

Comments
4 min read
FastAPI Middleware Ordering: Why Your CORS, Auth, and Tenant Context Stack Matters in Production

FastAPI Middleware Ordering: Why Your CORS, Auth, and Tenant Context Stack Matters in Production

1
Comments 1
5 min read
Vercel vs. Render vs. Cloudflare Pages for FastAPI + React: Picking the Right Host When Your SaaS Needs PostgreSQL and Real-Time Webhooks

Vercel vs. Render vs. Cloudflare Pages for FastAPI + React: Picking the Right Host When Your SaaS Needs PostgreSQL and Real-Time Webhooks

Comments
4 min read
FastAPI Background Tasks vs. Celery for AI Feature Processing: When to Queue and When to Fire-and-Forget

FastAPI Background Tasks vs. Celery for AI Feature Processing: When to Queue and When to Fire-and-Forget

1
Comments
4 min read
React 19 Context Performance: Avoiding Render Cascades When AI Feature States Update Across Multi-Tenant Dashboards

React 19 Context Performance: Avoiding Render Cascades When AI Feature States Update Across Multi-Tenant Dashboards

Comments
4 min read
Declarative Data Fetching in React 19: Replacing useEffect + useState with Server Components and Suspense Boundaries

Declarative Data Fetching in React 19: Replacing useEffect + useState with Server Components and Suspense Boundaries

Comments
4 min read
PostgreSQL Connection Pooling in FastAPI: PgBouncer vs. SQLAlchemy QueuePool vs. Render's Native Pools

PostgreSQL Connection Pooling in FastAPI: PgBouncer vs. SQLAlchemy QueuePool vs. Render's Native Pools

Comments
5 min read
FastAPI Dependency Injection for Multi-Tenant Request Context: Avoiding the Global State Trap

FastAPI Dependency Injection for Multi-Tenant Request Context: Avoiding the Global State Trap

Comments
4 min read
Building a Custom Tailwind CSS Theme System for Multi-Tenant Branding: Dynamic Colors Without CSS-in-JS

Building a Custom Tailwind CSS Theme System for Multi-Tenant Branding: Dynamic Colors Without CSS-in-JS

1
Comments
4 min read
Implementing Soft Deletes in SQLAlchemy: Keeping Audit Trails Without Orphaning Foreign Keys in Multi-Tenant Systems

Implementing Soft Deletes in SQLAlchemy: Keeping Audit Trails Without Orphaning Foreign Keys in Multi-Tenant Systems

1
Comments
5 min read
Pydantic V2 Discriminated Unions in FastAPI: Modeling Polymorphic AI Feature Configs Without Schema Sprawl

Pydantic V2 Discriminated Unions in FastAPI: Modeling Polymorphic AI Feature Configs Without Schema Sprawl

2
Comments
5 min read
Type-Safe Environment Variables Across Monorepo Boundaries: Sharing Secrets Between Astro, React, and FastAPI Without Leaking to the Browser

Type-Safe Environment Variables Across Monorepo Boundaries: Sharing Secrets Between Astro, React, and FastAPI Without Leaking to the Browser

Comments
4 min read
Cloudflare Pages + FastAPI: Building a Hybrid Edge/Origin Architecture for Sub-100ms AI Response Times

Cloudflare Pages + FastAPI: Building a Hybrid Edge/Origin Architecture for Sub-100ms AI Response Times

Comments
5 min read
PostgreSQL JSONB Indexing for Multi-Tenant AI Feature Metadata: Querying 100K Feature Configs Without Full Table Scans

PostgreSQL JSONB Indexing for Multi-Tenant AI Feature Metadata: Querying 100K Feature Configs Without Full Table Scans

Comments
4 min read
Environment Variable Validation in FastAPI: Catching Misconfiguration Before Your SaaS Goes Down

Environment Variable Validation in FastAPI: Catching Misconfiguration Before Your SaaS Goes Down

Comments
5 min read
Error Boundaries in React 19: Catching AI Feature Failures Before They Cascade Across Your SaaS Tenant

Error Boundaries in React 19: Catching AI Feature Failures Before They Cascade Across Your SaaS Tenant

Comments
4 min read
PostgreSQL LISTEN/NOTIFY for Real-Time Multi-Tenant Events: Ditching Polling and WebSocket Complexity

PostgreSQL LISTEN/NOTIFY for Real-Time Multi-Tenant Events: Ditching Polling and WebSocket Complexity

Comments
4 min read
Cursor-Driven Development in FastAPI: Using AI to Generate Type-Safe API Schemas and Catch Contract Breaks Before Deployment

Cursor-Driven Development in FastAPI: Using AI to Generate Type-Safe API Schemas and Catch Contract Breaks Before Deployment

Comments 1
5 min read
Stripe Webhook Idempotency in FastAPI: Handling Duplicate Events Without Double-Charging SaaS Customers

Stripe Webhook Idempotency in FastAPI: Handling Duplicate Events Without Double-Charging SaaS Customers

Comments
5 min read
Tailwind CSS Component Slots in React 19: Building Flexible, Reusable UI Without Prop Drilling Hell

Tailwind CSS Component Slots in React 19: Building Flexible, Reusable UI Without Prop Drilling Hell

Comments
4 min read
Astro + React 19 Islands: Shipping Zero JavaScript Until User Interaction—The CitizenApp Case Study

Astro + React 19 Islands: Shipping Zero JavaScript Until User Interaction—The CitizenApp Case Study

Comments
5 min read
SQLAlchemy Bulk Operations for AI Feature Analytics: Writing 10K Events/Second Without Database Meltdown

SQLAlchemy Bulk Operations for AI Feature Analytics: Writing 10K Events/Second Without Database Meltdown

Comments
4 min read
Streaming AI Responses in React 19: Building Real-Time Claude Integration Without the UX Jank

Streaming AI Responses in React 19: Building Real-Time Claude Integration Without the UX Jank

Comments
5 min read
GitHub Actions for Parallel FastAPI + React Testing: Optimizing CI/CD Feedback Loops in Monorepos

GitHub Actions for Parallel FastAPI + React Testing: Optimizing CI/CD Feedback Loops in Monorepos

Comments
4 min read
Building Dynamic RBAC in React 19: From Permission Strings to Component-Level Access Control

Building Dynamic RBAC in React 19: From Permission Strings to Component-Level Access Control

Comments
4 min read
Testing FastAPI + SQLAlchemy with Real PostgreSQL Fixtures: No More Mocking Misery

Testing FastAPI + SQLAlchemy with Real PostgreSQL Fixtures: No More Mocking Misery

Comments
5 min read
I Built a Multi-Tenant SaaS for 50+ Tenants — Here's the Complete Architecture

I Built a Multi-Tenant SaaS for 50+ Tenants — Here's the Complete Architecture

Comments 1
9 min read
GDPR-Ready SaaS Architecture: What You Actually Need to Build

GDPR-Ready SaaS Architecture: What You Actually Need to Build

Comments
4 min read
JWT Refresh Token Rotation in FastAPI — The Right Way

JWT Refresh Token Rotation in FastAPI — The Right Way

Comments
3 min read
React 19 + TanStack Query: Patterns That Actually Work in Production

React 19 + TanStack Query: Patterns That Actually Work in Production

1
Comments
4 min read
How I Use AI to Ship 3 Faster Without Cutting Corners

How I Use AI to Ship 3 Faster Without Cutting Corners

Comments
4 min read
Vercel + Render Hybrid Deployment: Why I Split My Stack (and How)

Vercel + Render Hybrid Deployment: Why I Split My Stack (and How)

Comments
4 min read
My Cursor + Claude Engineering Workflow: A Real Project Walkthrough

My Cursor + Claude Engineering Workflow: A Real Project Walkthrough

Comments
6 min read
Astro and Islands Architecture: Why Your Portfolio Doesn't Need React for Everything

Astro and Islands Architecture: Why Your Portfolio Doesn't Need React for Everything

Comments
7 min read
JWT Token Refresh Patterns in React 19: Avoiding the Silent Auth Death Spiral

JWT Token Refresh Patterns in React 19: Avoiding the Silent Auth Death Spiral

Comments
4 min read
Building Multi-Tenant Row-Level Security in PostgreSQL: A Production Pattern

Building Multi-Tenant Row-Level Security in PostgreSQL: A Production Pattern

Comments
4 min read
Building a Production AI Chat Widget in React: Floating UI, Live SQL Results, and Collapsible Query Blocks

Building a Production AI Chat Widget in React: Floating UI, Live SQL Results, and Collapsible Query Blocks

Comments
7 min read
Building Multi-Tenant SaaS with SQLAlchemy Row-Level Security

Building Multi-Tenant SaaS with SQLAlchemy Row-Level Security

Comments
4 min read
Building Audit Logs That Don't Destroy Your Database: A Production Pattern

Building Audit Logs That Don't Destroy Your Database: A Production Pattern

Comments 3
4 min read
Multi-Tenant FastAPI + React: Architecture Decisions Explained

Multi-Tenant FastAPI + React: Architecture Decisions Explained

1
Comments
8 min read
How I Built 9 Claude AI Features into a Production SaaS

How I Built 9 Claude AI Features into a Production SaaS

Comments
7 min read
loading...