Tagged articles
4 articles
Page 1 of 1
Code Wrench
Code Wrench
Jul 16, 2025 · Backend Development

Build Scalable Multi‑Tenant SQL Server Pools in Go with GORM Optimizations

This guide details a complete solution for building multi‑tenant SQL Server connection pools in Go microservices, covering YAML tenant configuration, a thread‑safe pool factory, Gin middleware integration, advanced GORM query techniques, high‑concurrency optimizations, monitoring, slow‑query logging, and circuit‑breaker safeguards.

Connection PoolGORMGolang
0 likes · 8 min read
Build Scalable Multi‑Tenant SQL Server Pools in Go with GORM Optimizations
php Courses
php Courses
Dec 4, 2024 · Backend Development

Using the Laravel context() Helper for Managing Application Context Data

The article introduces Laravel's new context() helper, demonstrating its basic usage and a real‑world multi‑tenant example, showing how to add, retrieve, and default context values and simplify shared data handling throughout the request lifecycle.

BackendLaravelMultitenancy
0 likes · 2 min read
Using the Laravel context() Helper for Managing Application Context Data
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 28, 2024 · Backend Development

Master Multi‑Tenant Architecture in Spring Boot 3.3: Schemas, Separate DBs

This article explains three common multi‑tenant implementation strategies—separate databases, separate schemas, and partitioned (discriminator) data—detailing their advantages, drawbacks, and practical Spring Boot 3.3 code examples for entity definition, tenant‑ID resolution, data source routing, and request interception to achieve secure, scalable SaaS applications.

BackendJavaMultitenancy
0 likes · 11 min read
Master Multi‑Tenant Architecture in Spring Boot 3.3: Schemas, Separate DBs