Speeding Up Applications With Async
Context About a week ago, I decided to publish my newest album onto my music page which is built using the faircamp static site generator. faircamp has to generate a bunch of files at build-time for deliverables and streamable files. In total, this means that every track has to be built three times in my configuration: Opus 96kbps (streaming) MP3 (streaming for better support on older platforms) Opus 128kbps (deliverable) In total – for me – that was 92 tracks. All of these 92 tracks are produced sequentially using ffmpeg1 which for me takes ages – 10 minutes or 670 seconds to be exact. ...