Oxide and Friends cover image

Threads, async/await, Promises, Futures

Oxide and Friends

00:00

Is Async Worthy for This Project?

I want to see if I can articulate why I thought that async was worthwhile for this project. My first very naive implementation of a shotcast compatible server was multi threaded. It would go in and sequentially make blocking write calls to, to all the listeners in sequence. And then combine that with the fact that my second iteration of the server was going to be more complicated because we wanted lower latency. That's where our pipes to another process came in. We could re-encode it down to a lower bit rate for those pesky dial up users.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app