Albara Hassan

Rayna Corp Full Stack Engineer Oct 2025 to May 2026

Database migrations that stopped timing out

I moved TypeORM migrations off an API Gateway endpoint capped at 30 seconds onto a dedicated Lambda with a 15-minute window, run idempotently at three points of the release flow.

Outcome

  • 30 s to 15 min migration time limit
  • 3 automated run points
  • 1 onboarding email, not 2

Stack

  • TypeScript
  • Express
  • TypeORM
  • AWS Lambda
  • AWS Step Functions
  • API Gateway
  • React
Ask me about this
A migration that times out at 30 seconds on API Gateway, then completes inside the 15-minute Lambda window.

The problem

Schema migrations ran through an API Gateway endpoint capped at 30 seconds. Any long change timed out halfway.

What I built

  • A dedicated AWS Lambda for TypeORM migrations, with a 15-minute window, so long schema changes stopped timing out.
  • It runs idempotently at 3 points: every staging deploy, the end of the nightly replication Step Function, and behind an approval gate in production.
Run a long schema migration

Before API Gateway endpoint

Timed out

After Dedicated AWS Lambda

Done

Runs idempotently at 3 points

  1. 1 Every staging deploy
  2. 2 End of the nightly replication
  3. 3 Production, behind approval

Illustration with time sped up. The limits are the real ones: 30 seconds, and 15 minutes.

Product work

  • Redesigned onboarding for law-firm admin users, replacing two conflicting verification and password emails with a single verify-and-set-password flow.
  • Shipped platform features across React and Express, including cross-tab cache synchronization and bulk provider connection management.

Measured

Time limit for schema migrations

Rayna Corp
Before
30 s
After
15 min

Moved migrations off a capped API Gateway endpoint onto a dedicated Lambda, so long changes stopped timing out.

Onboarding emails for new admins

Rayna Corp
Before
2 conflicting emails
After
1 clear flow

Replaced separate verification and password emails for law-firm admins with a single verify-and-set-password flow.

More work

Kinly Senior Backend Engineer Aug 2025 to present

From 20-second endpoints to a 0.5 to 0.7 s p95

I took the slowest endpoints from 20 s to under 2 s, removed every latency spike for ~270 users, and cut slow requests by more than 80%, with no new errors.

  • 20 s to <2 s slowest endpoints
  • −80%+ requests over 3 s
  • 0 p95 spikes over 2 s

Epiisa Software Engineer Sep 2021 to Jul 2025

Legal RAG and an AI email assistant

At Epiisa I built E-Advokat, a legal AI agent that cites its sources, and the backend of CueLoop, an AI email and calendar assistant.

  • Cited answers, to the passage
  • Semantic search over email threads
  • Multi-tenant FastAPI with RBAC