Fast API Using Alembic logos and post introductions

FastAPI Alembic Migrations with PostgreSQL, SQLModel, and Docker

James Fielder API Development, Articles, Cloud, Databases, PostgreSQL, Python Leave a Comment

When building a FastAPI project with PostgreSQL, you need a reliable way to manage your database schema over time. As your application evolves, simple table creation is not enough. You need a way to safely apply, track, and roll back changes.

Alembic provides a structured, version-controlled approach to database migrations. In this guide, we’ll walk through how to set up Alembic with FastAPI, SQLModel, and PostgreSQL, including common issues you’ll run into when working with Docker.

MongoDB vs. PostgreSQL: When to Use NoSQL vs. SQL?

Adi Rosenblum All Industries, Keyhole, Videos Leave a Comment

Choosing the right database can make or break your application. It affects how your data is stored, how fast your app runs, how easily it scales, and how quickly your team can develop features. Two of the most popular options—MongoDB and PostgreSQL—offer very different strengths. At Keyhole Software, we help businesses make smart technical decisions based on their specific needs. …

Best Practices for Scaling a PostgreSQL Database

Adi Rosenblum Keyhole, Videos Leave a Comment

Your PostgreSQL database might be handling today’s workload just fine, but what happens when traffic surges, data volume skyrockets, or queries start taking longer than expected? Without the right scaling strategies, performance bottlenecks can creep in, leading to slow response times, reliability issues, and frustrated users. In this guide, we’ll break down the best practices for scaling PostgreSQL, ensuring your …

PostgreSQL vs. MySQL: How to Choose the Right Database for Your Project

Jaime Niswonger Keyhole, Videos Leave a Comment

The database you choose plays a critical role in the way your application performs, scales, and handles data over time. Two of the most popular open-source relational databases are PostgreSQL and MySQL. While they share some similarities, they also have key differences that could significantly impact your project. In this article, we’ll break down the essential factors to consider when …

Dockerizing an MSSQL Server (header image)

Dockerizing an MSSQL Server: Unlocking Flexibility

Alex Cassells Articles, Databases, Development Technologies & Tools, Docker, SQL, SQL Server, Tutorial Leave a Comment

Docker is a pretty magical tool that streamlines server and environment setup while helping to eliminate the operating system and software version variables. It’s one of the best ways to mitigate the classic ‘Works on my machine!’ obstacle many developers run into when sharing or promoting their code.

When a lot of people think of Docker, the last thing they think of is Microsoft or Windows. It took many years for Docker to even officially support Windows. As a .NET developer, I always wanted the stability that Docker offers, and today, I can have it. In the post below, I’ll dive into how to dockerize an MSSQL Server.