Tech Lead · Software Architect · Agentic AI EngineerOpen to new work · İzmir, Turkey · UTC+3

Medivizi

A multi-tenant occupational health and safety SaaS backend in Rust, with tenant isolation enforced in the database.

Tenant A Tenant B Tenant C
What Medivizi does, drawn

Founded and architected a multi-tenant occupational health and safety backend in Rust.

Tenant isolation is enforced in the database and not in the application. Every query runs as a role the tenant owns, and PostgreSQL row-level security decides what that role can see — so a missing filter in application code is a query that returns nothing rather than a query that returns somebody else’s records. SQLx checks each query against the schema at compile time, so a column that moved is a build failure and not a runtime one. Axum carries the HTTP surface, real-time updates go over WebSocket, and the admin surface is server-rendered with HTMX.

The drawing is the argument.

The tenant isolation boundary Two stacked boxes on the left labelled TENANT A and TENANT B, each with a single line running right into a box on the far right labelled ONE DATABASE. A heavy vertical line between them is labelled ROW-LEVEL SECURITY. Neither tenant box has a line to the other, and neither reaches the database except across that line. TENANT A TENANT B ROW-LEVEL SECURITY ONE DATABASE a missing filter returns nothing

Work like this

One address reaches him directly

Talk to Emre →

This is one engagement of several, and the roster compares them all on one ruler.