Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
204

Latest Updates

Documenting code, one commit at a time.

JWT 6 posts
×

Dispelling the Serverless Database Connection Myth: A Real-World Load Test with Neon and Vercel

The promise of serverless computing is immense: scale on demand, pay-per-execution, and abstract away infrastructure. However, a common concern frequently arises when pairing serverless functions with traditional relational databases like PostgreSQL: connection pooling. The fear is that each short-lived lambda instance will open its own database connection, quickly exhausting the database's

Securing Multi-Tenant APIs: Preventing Cross-Tenant Data Tampering

In multi-tenant applications, a critical security concern is ensuring that users can only access and modify data belonging to their own tenant. We recently addressed a subtle yet significant vulnerability in our motos-max-cordialidad project that highlighted the importance of robust input validation and server-side data trust.

The Problem: Client-Supplied Tenant IDs Overriding Security

Enhancing Cronix: Real-time Pulse, UID Security, and RLS Optimization

The cronix project recently underwent a significant upgrade, focusing on three critical areas: enhancing system observability, fortifying data security, and optimizing database performance. This update introduces a new system pulse dashboard, hardens security with UID-based access controls, and fine-tunes Row Level Security (RLS) for improved data retrieval efficiency.

Context: The Need for

Ensuring Robust Database Connectivity in Serverless Functions for Critical Integrations

Introduction

In the Cronix project, ensuring seamless integration with external services like WhatsApp is paramount. A recent fix highlighted a critical area often overlooked in serverless architectures: the reliable resolution and management of database variables. This issue, which necessitated a post-mortem, underscores the importance of a robust strategy for handling configuration in