🧀 BigCheese.ai

Social

Reducing latency with esoteric Linux process flags

🧀

James Matsuzaki of Recall.ai shares the experience of reducing latency from 12 seconds to 2-3 seconds for their Output Media feature by removing an esoteric Linux process flag, '--die-with-parent'. The post details challenges encountered with Bubblewrap sandboxing and Tokio's threading model in their endeavor.

  • 83% latency reduction
  • Esoteric flag '--die-with-parent'
  • Thread vs process nuances
  • Tokio thread parking involved
  • Chromium pre-load strategy