Skip to main content

Install pyenv on MacOs

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Homebrew is the recommended and easiest way to install pyenv on macOS, but you can install it without Homebrew by cloning the repository from GitHub. This method requires a few extra steps, including manually configuring your shell and installing dependencies.

Vercel migrations

· 5 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Vercel doesn't have a single, built-in migration system but instead relies on standard, database-specific tools. For relational databases like Vercel Postgres, you use traditional ORMs or migration libraries. For key-value stores like Vercel KV, migration is typically a manual process of data transformation.

Vercel Data Storage: Integration Guide and Storage Options Comparison

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Deploying application servers in a serverless environment like Vercel requires a shift in how we handle database connections. Traditional relational databases expect long-lived, persistent TCP connections. In a serverless or edge runtime, functions spin up on demand and shut down immediately after returning a response.

To prevent database connection exhaustion, Vercel leverages a specialized suite of serverless and edge-compatible storage services. This guide explains how database integration works on Vercel, details first-party storage options, and provides a decision matrix to help you choose the right tool for your project.

Use this Instead of SQlite on Vercel

· 5 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Is SQLite Supported on Vercel?​

No, SQLite is not officially supported by Vercel for production applications because of its reliance on the local filesystem. Vercel's serverless functions are stateless and run in a read-only environment, meaning any changes to the local filesystem are discarded after the function's execution. This makes it impossible to persist the SQLite database file between function invocations. Vercel source

While you might be able to get a read-only SQLite database to work by including the database file in your deployment bundle, any attempt to write to it will fail. This limitation makes SQLite unsuitable for most dynamic web applications on the Vercel platform.

Supabase Architecture: Integration, Portability, and Advanced Database Patterns

· 8 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Supabase is a popular open-source alternative to proprietary Backend-as-a-Service (BaaS) platforms like Firebase. By building on top of standard technologies-primarily PostgreSQL-Supabase provides the convenience of a managed platform without locking you into a proprietary ecosystem.

This guide provides an architectural overview of Supabase, detailing its database portability, connectivity options, server-side execution methods, scalability limits, enterprise compliance (HIPAA/GDPR), and advanced PostgreSQL patterns.

Monitor and optimize Supabase project

· 9 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

How to Monitor Slow Queries in Supabase​

Supabase provides powerful, built-in tools to help you identify and diagnose slow queries. The key is to leverage the pg_stat_statements extension, which is enabled by default on all Supabase projects [1, 4].

Supabase version control

· 9 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Building robust applications requires more than just a functional database; it requires a disciplined approach to managing changes, testing, and deployment. This guide will focus on the DevOps side of Supabase, explaining how to handle database migrations, integrate with CI/CD pipelines, and manage test data.

Advanced functionality of Supabase

· 12 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

The Advanced Supabase Guide: Database Features, Multi-Tenancy, and Scalability​

This guide delves into the advanced functionality of Supabase, exploring database features, security, and best practices for building robust, scalable applications.

Git ours vs. git theirs

· 5 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

In Git, the terms ours and theirs are used to refer to the two conflicting versions of a file during a merge or rebase. Understanding which version is which is critical for resolving conflicts correctly [1].

Looking for more content?
Hrekov Blog contains 165 articles. Browse the blog archive or Explore the full timeline.