Albara Hassan

Albara Hassan Senior Backend Engineer

I make slow APIs fast and put LLM features into production. Five years of production Python, FastAPI and PostgreSQL.

Open to senior backend and LLM roles. Remote from Sarajevo, CET.

Kinly’s slowest endpoints: from 20 seconds to under 2

20 s to under 2 s for the slowest requests

Some requests at Kinly took 20 seconds. I found the N+1 queries, one database call per row, tuned the queries and the async I/O, and shipped it behind a pytest suite of 1,400+ tests, with no new errors.

Latency spikes for ~270 users: from 13 a day to none

1.0 to 1.7 s to 0.5 to 0.7 s p95 in business hours

I tuned the API and added a second uvicorn worker. Requests slower than 3 s fell by more than 80%, from up to 3,900 a day to 469. Health-check 503s went from up to 30 a day to 0, and autoscale churn halved.

A RAG pipeline that answers in under 3 seconds

under 3 s per answer, over 500+ documents

I own Kinly’s knowledge-base pipeline end to end: ingestion and embedding on Azure Functions, vector search in Cosmos DB, and an OpenAI-backed FastAPI service, refreshed every hour. Before that, at Epiisa, I built E-Advokat, a legal AI agent whose answers cite the exact passage, and the backend of CueLoop, an AI email assistant.

Database migrations that stopped timing out

30 s to 15 min that a migration may take

At Rayna Corp, schema migrations ran through an API Gateway endpoint capped at 30 seconds, so long changes died halfway. I moved them to a dedicated AWS Lambda with a 15-minute window, run idempotently on every staging deploy, after the nightly replication, and behind an approval gate in production.

The other end of the wire: five iOS apps, built alone

5 apps 3 of them live on the App Store

Designed and built solo in Swift, from the idea to the App Store listing: prayer times checked against 43,070 official location-days, a TV remote with 215 tests against mock TVs, and an AI food journal that runs on the device.

Clients iOS, React, Next.js Five iOS apps I designed and built alone in Swift, three live on the App Store, plus React and Next.js frontends where products needed them. API Python, FastAPI At Kinly the slowest endpoints went from 20 s to under 2 s, and business-hours p95 from 1.0 to 1.7 s down to 0.5 to 0.7 s, with no new errors. Workers asyncio, uvicorn A tuned API and a second uvicorn worker took windows with p95 over 2 s from up to 13 a day to 0. At Epiisa I built an asyncio task engine for polling and background jobs. Worker 2 added The second uvicorn worker. Health-check 503s went from up to 30 a day to 0, and autoscale instance churn halved. Database Cosmos DB, PostgreSQL N+1 queries removed and database queries tuned. Multi-tenant PostgreSQL and MongoDB schemas with token auth and RBAC. Vector search Cosmos DB, ChromaDB 500+ documents indexed for retrieval: an hourly incremental ingest, plus a weekly full resync and web crawl in the quietest window. LLM OpenAI, LangChain Grounded answers in under 3 s at Kinly. At Epiisa, legal answers that cite the exact passage they came from (E-Advokat). Knowledge base Azure Functions ingest Ingestion and embedding on Azure Functions, on a schedule, so the answers stay fresh. Migrations AWS Lambda, 15 min At Rayna Corp: TypeORM migrations moved off an API Gateway endpoint capped at 30 s onto a dedicated Lambda with a 15-minute window. API Gateway 30 s limit Where the migrations used to run. Any change that took longer than 30 s timed out halfway. Kandilj On the App Store Kandilj, prayer times: an iOS app I designed and built alone in Swift. Live on the App Store. Couch On the App Store Couch, tv remote: an iOS app I designed and built alone in Swift. Live on the App Store. Morsel On the App Store Morsel, food journal: an iOS app I designed and built alone in Swift. Live on the App Store. Pilot Coming soon Pilot, mac remote: an iOS app I designed and built alone in Swift. Coming to the App Store. Proof Coming soon Proof, focus: an iOS app I designed and built alone in Swift. Coming to the App Store.

Five iOS apps, built alone

Designed and built solo in Swift, from the product idea to the App Store listing. Three are live; two are on their way.

Kandilj on iPhone

Kandilj

On the App Store

Prayer times for Bosnia. Accurate vaktija with on-time ezan notifications, under a live sky drawn over your own town. Localized into German and Swedish for diaspora users.

  • 43,070 location-days checked identical to the official source
  • Signed over-the-air data updates (Ed25519, SHA-256, rollback)
  • On-device Apple Intelligence reads reminder requests in Bosnian
View on the App Store: Kandilj
Couch on iPhone

Couch

On the App Store

Universal TV remote. Controls Roku, Samsung, LG and Google TV from the iPhone over the local network, with weekly, yearly and lifetime StoreKit plans.

  • 4 TV platforms through actor-based drivers
  • WebSocket with TLS pinning, Wake-on-LAN, Keychain
  • 215 tests against mock TV servers
View on the App Store: Couch
Morsel on iPhone

Morsel

On the App Store

AI food journal. Resolves free-text meals through personal history, a 13,660-food USDA database and on-device Apple Intelligence, synced via iCloud with no backend.

  • 90.4% of 300 test meals within 10% of true calories
  • Rules engine first, on-device Foundation Models second
  • Swift 6 strict concurrency across 4 local packages
View on the App Store: Morsel
Pilot on iPhone

Pilot

Coming to the App Store

Control a Mac from the iPhone. A trackpad, keyboard and remote for your Mac over the local network, with the live trackpad and keyboard as the paid tier.

  • Custom wire protocol over TLS with a pre-shared key per device
  • Notarized macOS helper that updates itself
  • 49 protocol tests, including fuzzing
Proof on iPhone

Proof

Launching January 2027

Focus and app blocking. Users set a goal, lock in, then attach proof of what they accomplished.

  • Screen Time APIs across the app and 4 extensions
  • Lock Screen Live Activity countdown
  • 14 languages, 252 screenshots generated automatically

How I work

  • Measure first

    Every speed-up on this page started with a number and ended with a smaller one. p95, error counts and instance churn, before and after.

  • Fast, and still correct

    The latency work shipped behind a 1,400+ test pytest suite, with no new errors.

  • Own it when it breaks

    I write the post-incident review: root cause, a recovery runbook, and the corrective actions that stop it happening again.

  • Ship the whole thing

    Backend first, but I also deliver React and Next.js frontends, and I have designed and built five iOS apps alone, three of them live on the App Store.

Experience

Five years of production Python. The full detail is on the CV page.

Where did I use it? Pick a skill.

Languages
Backend
AI / LLM
Data
Cloud and DevOps
Testing and Frontend

Timeline of roles from September 2021 to today.
  1. Kinly Aug 2025 to present
  2. Rayna Corp Oct 2025 to May 2026
  3. Epiisa Sep 2021 to Jul 2025
  4. Rapidfacture GmbH Jan 2025 to May 2025
  5. Epifront Sep 2023 to Sep 2024
  1. Aug 2025 to present Remote

    Senior Backend Engineer, Kinly

    UK benefits platform: Python, FastAPI, Azure, Cosmos DB, OpenAI

    • Own the knowledge-base RAG pipeline end to end (Azure Functions ingestion and embedding, Cosmos DB vector search, OpenAI-backed FastAPI): 500+ documents indexed, answers in under 3 s.
    • Scheduled ingestion for freshness: hourly incremental ingest plus a weekly full resync and external web crawl, staggered into the lowest-traffic window.
    • Eliminated latency spikes for ~270 users by tuning the API and adding a second uvicorn worker: windows with p95 over 2 s fell from up to 13 a day to 0, business-hour p95 from 1.0-1.7 s to 0.5-0.7 s.
    • Cut requests over 3 s by 80%+ (up to 3,900 a day down to 469), health-check 503s from up to 30 a day to 0, and autoscale instance churn by half, with no new errors.
    • Took the slowest endpoints from 20 s to under 2 s by eliminating N+1 queries and tuning database queries and async I/O, guarded by a 1,400+ test pytest suite.
    • Shipped eligibility-form prepopulation from website enquiries via HubSpot and Cosmos DB: agent-open trigger, config-driven mappings across 8 field groups, and freeze rules that protect agent edits from automation.
    • Authored the post-incident review for a 65-minute production outage caused by Key Vault references resolving empty after a slot swap, with root cause, recovery runbook and 12 corrective actions.
  2. Oct 2025 to May 2026 Remote

    Full Stack Engineer, Rayna Corp

    TypeScript, Express, TypeORM, React, AWS

    • Built a dedicated AWS Lambda for TypeORM migrations that runs idempotently at 3 points: every staging deploy, the end of the nightly replication Step Function, and behind an approval gate in production.
    • Moved migrations off an API Gateway endpoint capped at 30 seconds onto Lambda's 15-minute window, so long schema changes stopped timing out.
    • 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.
  3. Sep 2021 to Jul 2025 Sarajevo, Bosnia and Herzegovina

    Software Engineer, Epiisa

    • E-Advokat (legal AI agent): built a LangChain and ChromaDB RAG pipeline that answers legal questions with citation-level attribution, with OCR ingestion of statutes and court rulings served through FastAPI.
    • CueLoop (AI email and calendar assistant): built FastAPI services on Google APIs via OAuth2, with LLM draft generation, meeting detection and embedding-based semantic search over email threads.
    • Engineered an asyncio task engine for minute-level polling and concurrent background jobs across parsing, scheduling and indexing.
    • Built secure multi-tenant FastAPI services with PostgreSQL and MongoDB schemas, token-based authentication and RBAC.
    • Designed a dynamic-programming pricing engine that optimizes rental rates from regional usage patterns (Vroomski).
    • Ran CI/CD with Docker Compose and GitHub Actions, maintained pytest coverage, and delivered Next.js frontends where products needed them.
  4. Jan 2025 to May 2025 Remote

    Full Stack Engineer (Contract), Rapidfacture GmbH

    • Built an e-commerce platform for industrial clients with real-time quoting, part configuration and inventory synchronization.
    • Automated backend workflows in Python, including CAD file parsing, PDF generation and email handling.
    • Extended Node.js APIs and a custom CRM, replacing brittle legacy logic with modular, testable services.
  5. Sep 2023 to Sep 2024 Sarajevo, Bosnia and Herzegovina

    Software Engineer, Epifront

    • Led development of Spacerra, a hosting automation platform offering no-code deployment and generated CI/CD pipelines.
    • Built modular FastAPI services with PostgreSQL and MongoDB schemas, authentication and RBAC.
    • Built containerized environments and Git-triggered Docker pipelines with infrastructure-as-code tooling.

Education

BSc Information Technologies, International Burch University, Sarajevo

Certifications

  • Machine Learning (Stanford Online)
  • AI Programming with Python (Udacity, AWS)
  • AWS Machine Learning Foundations (Udacity, AWS)
  • Data Analytics with Python (IBM)
  • Introduction to Back-End Development (Meta)

Languages

  • English: full professional
  • Arabic: native
  • Bosnian, Croatian, Serbian: native

Hiring a senior backend engineer?

Tell me about the role and the system. I work remotely from Sarajevo on CET, in English, Arabic or Bosnian.

albara.m.hassan@gmail.com
Email me Download CV LinkedIn