Home / Projects

Projects

Two systems, each with a number I set out to move and the measurement showing whether it moved.

Snip

High-throughput URL shortener

A REST service that turns long links into 7-character codes and redirects visitors. The interesting part is keeping redirects fast under load: a Redis cache in front of PostgreSQL, click counting moved off the request path, and a load test to measure the difference.

  • Python
  • FastAPI
  • PostgreSQL
  • Redis
  • Docker
  • pytest
  • Locust
23xfaster p95 redirects with the cache (300 to 13 ms)
2.2xthroughput, 568 to 1,236 requests a second
93.3%cache hit rate over 147,694 requests

SpecSeek

Retrieval-augmented assistant for electronic datasheets

Ask a question about a component and get an answer with the datasheet page it came from. Built around retrieval quality: chunk sizes were benchmarked on an evaluation set, and questions outside the datasheets are refused before the language model is called.

  • Python
  • FastAPI
  • FAISS
  • sentence-transformers
  • PyMuPDF
  • Llama 3
84%retrieval hit rate@4, up from 68%
4 of 5out-of-scope questions correctly refused
0re-indexing on re-upload, thanks to a hash-based cache