About
Hello,
I’m Sayef, an engineer who builds software that stays fast & modular as the team grows. I enjoy the behind-the-scenes details that keep everything running smoothly: queue semantics, module boundaries, the migration plan nobody wrote down.
Three years across backend platforms, product frontends and the seams between them. I leave behind code that the next person can change without asking me first.
Past projects
04 projects
- Code
beacon/api.py
# beacon/api.py: grounded answers, streamed with sources @app.post("/ask") async def ask(q: Question, user: User = Depends(auth)): hits = await search(q.text, team=user.team, k=6) if not hits: return {"answer": None, "reason": "no matching docs"} prompt = build_prompt(q.text, hits) async def stream(): async with client.messages.stream( model=MODEL, max_tokens=800, system=SYSTEM_PROMPT, messages=[{"role": "user", "content": prompt}], ) as s: async for text in s.text_stream: yield text yield cite(hits) return StreamingResponse(stream(), media_type="text/plain") async def search(text: str, team: str, k: int) -> list[Doc]: vec = await embed(text) return await db.fetch( "SELECT * FROM docs WHERE team = $1 " "ORDER BY embedding <=> $2 LIMIT $3", team, vec, k, )ProductHow do I order a new laptop for a starter?
Raise a hardware request in the IT portal at least 10 working days before the start date1. Managers approve it, then Procurement ships to the office or home address on file2.
- 1 IT Handbook · p.12
- 2 Procurement policy · §3.2
Ask anything about how we work…
Beacon
AI knowledge assistant
An internal assistant that answers staff questions from 40,000 company documents and shows the exact page each answer came from.
Internal “how do I” support tickets fell by 38% in its first quarter.
- Code
payouts/router.ts
// modules/payouts/router.ts export const payoutsRouter = router({ list: protectedProcedure .input(z.object({ status: PayoutStatus })) .query(({ ctx, input }) => ctx.db.payout.findMany({ where: { status: input.status }, orderBy: { createdAt: "desc" }, take: 50, }), ), approve: withRiskCheck(protectedProcedure) .input(z.object({ id: z.string() })) .mutation(async ({ ctx, input }) => { await ctx.audit("payout.approve", input.id); return ctx.payouts.approve(input.id); }), }); // apps/console/modules.ts export const modules = [risk, payouts, support];Product- Northwind Ltdpo_8f21£12,480.00pending
- Acme Freightpo_8f1c£3,915.20review
- Kite & Copo_8f0a£842.00paid
- Blue Harbourpo_8ef7£27,100.00paid
- Lumen Studiopo_8ee3£1,260.75paid
[email protected] · deployed 14 min ago
Ledgerline
Modular payments console
An operator console split into independently deployable modules, so the risk, payouts and support teams ship on their own schedule.
Release cadence moved from fortnightly to 11 deploys a week.
- Code
relay/worker.go
// worker.go: steal from peers when idle func (w *Worker) Run(ctx context.Context) { for ctx.Err() == nil { job, ok := w.local.Pop() if !ok { job, ok = w.steal(ctx) } if !ok { w.park(ctx, 50*time.Millisecond) continue } w.exec(ctx, job) } } func (w *Worker) steal(ctx context.Context) (Job, bool) { res, _, err := w.rdb.XAutoClaim(ctx, &redis.XAutoClaimArgs{ Stream: "relay:jobs", Group: "workers", Consumer: w.id, MinIdle: 2 * time.Second, Start: "0-0", Count: 1, }).Result() if err != nil || len(res) == 0 { return Job{}, false } return decode(res[0]), true }Productp95 queue latency240 msfrom 1.8 sthroughput12.4k/swork-stealing workers
- w1
- w2
- w3
- w4
- w5
- w6
- w7
- w8
Relay
Concurrent job runtime
A work-stealing scheduler for a logistics platform, replacing a single-queue worker pool that stalled under burst traffic.
p95 queue latency went from 1.8 s to 240 ms at the same hardware cost.
- Code
sync/merge.rs
// sync/merge.rs: conflict-free on reconnect impl Note { pub fn merge(&mut self, remote: &Note) { for (id, op) in &remote.ops { self.ops.entry(*id).or_insert(op.clone()); } self.clock.join(&remote.clock); self.body = self.ops.render(); } pub fn persist(&self, db: &Connection) -> Result<()> { let tx = db.unchecked_transaction()?; for op in self.ops.since(self.synced_at) { tx.execute( "INSERT OR IGNORE INTO ops VALUES (?1, ?2)", params![op.id, op.to_bytes()], )?; } tx.commit() } }Product- Transect B, plot 4Lichen cover up ~20% since…
- Water sample logpH 6.8, turbidity low, 2 vials
- Bird count, ridge3× ptarmigan, 1× raven
- Camp inventoryFuel for 4 more days
Back online after 3 days · 41 edits merged, 0 conflicts
Fieldnote
Offline-first sync engine
CRDT-based note sync for field researchers working without signal for days at a time, with conflict-free merges on reconnect.
Zero data-loss reports across 14 months in production.
Services
Drag or scroll sideways
What I bring to a team
Full-stack development
End-to-end features, from the screen a user taps to the server and database behind it.
Frontend
Backend
Languages
Comfortable moving between languages and picking the right one for the job.
Tools & workflow
The everyday kit teams expect you to know on day one.
Cloud & DevOps
Shipping code safely and keeping it running once it is live.
Databases & data
Designing how data is stored so it stays correct and fast to query.
AI & machine learning
Building features on top of modern AI models, not just using them.
Testing & quality
Code that is reviewed, tested and safe for the next person to change.
Systems & problem solving
The fundamentals interviews test and real systems depend on.
Contact
Got a project in mind? Let’s talk it through.
Open to full-time roles and select contracts