Spyke
Video uploads on Spyke

Video uploads on Spyke

TL;DR: Videos were taking too long to process because of a CDN issue. So now we show a "processing" banner on them until they get published. We notify you when the video gets published.

If you uploaded a video to Spyke recently, you'll notice that the video does not get published immediately. This is because of a bug at our CDN provider, and a workaround to prevent un-viewable videos.

New videos will now take around 5-10 minutes to show up on the feed, until then you'll get a "processing" banner on your post. We will notify you when the video gets published (which is most probably how you reached this announcement)

For the tech guys

The CDN provider shared that videos take some time to get processed into multiple resolutions (HLS), and they're having an unusually high influx of video uploads.

To fix this, the CDN provider built a processing queue, where uploaded videos get queued up and processed one at a time before being pushed to the CDN. If someone tries to access the video before it is completely processed, the CDN returns an HTTP 404, which then gets cached permanently. This means that the CDN sends 404 responses even after the video has been processed (and their cache doesn't invalidate until the end of the day).

To work around this, the CDN provider requested us NOT to access the video until the video is processed successfully. Hence the workaround where we show the "processing" banner until the video has successfully processed.

I hope everyone understands this tiny little hiccup, sorry for the inconvenience.

6