All work

Slyric

A sleep-tech service that induces rest through sound

NeuroMomentSep 2024 – Dec 20244 mos

Context

The app generated sleep-inducing audio on the fly; I built the app and the server alone.

Problem

Generating sleep-inducing audio in real time was the core of the product, but the existing Python synthesis path was too slow to deliver it.

How I solved it

  1. Built the whole thing alone — a Flutter app for iOS and Android, plus the backend
  2. Traced the bottleneck to the audio synthesis and frequency calculation path
  3. Split the problem by what was actually slow: optimised the maths where it was compute-bound, and moved the generation path to Go (Fiber) where the real constraint was I/O concurrency, not CPU

Result

  • Audio generation got 11× faster
  • With the biggest bottleneck gone, real-time delivery became possible
Time to generate the same audio
Pythonbaseline
After Go11× faster

Impact

The product’s premise — generate it in real time — finally held.

Tech

FlutterPythonFastAPIGoFiber
NextSsokdak-Ssokdakv1.0 launched · ₩500M TIPS