HomeBlog

Posts tagged with: #Serverless

Running AI Models on the Edge with Cloudflare Workers AI

October 9, 2025

Running AI Models on the Edge with Cloudflare Workers AI

A Guide to Private, Serverless AI Inference with Cloudflare Workers and Data Privacy.

Learn to run private, serverless AI models on Cloudflare's edge network. This guide covers secure REST API usage and building a production-ready AI gateway on Cloudflare, emphasizing user data protection and compliance.

Read More...

Connecting FastAPI to a Serverless Database with pool_pre_ping

June 10, 2025

Connecting FastAPI to a Serverless Database with pool_pre_ping

How to Keep FastAPI Connected to Serverless Databases Like Neon

Learn how to keep your FastAPI app connected to serverless databases like Neon, even when they scale down to zero. This post explains how to use SQLAlchemy's pool_pre_ping=True to automatically reconnect and avoid broken connections, with practical code examples and .env setup.

Read More...

Contact Me

Have a project in mind? Send me an email at hello@davidmuraya.com and let's bring your ideas to life. I am always available for exciting discussions.

© 2025 David Muraya. All rights reserved.