4 ms·
Like all things in computing sometimes it works, sometimes it does not. An example of when its a stupid idea is this: A set of microservices for generating tr
by KaiserPro 10y ago
Like all things in computing sometimes it works, sometimes it does not.
An example of when its a stupid idea is this:
A set of microservices for generating transcriptions for videos. It consists of the followings:
o a wrapper for ffmpeg to take a video from S3 and split the audio, put to a new s3 bucket
o A service that take the audio URL and uploads it to google STT, spits out text
Now, there is no requirement for keeping audio about, so this service is basically an unreliable single step service with poor logging and monitoring.
It doesn't help that to make it all microservice-y all the videos are shuttled about via S3. Which means they've re-created a really shit file system on top of S3.
All it needed was a hot folder, and a commandline program to be triggered by inotify.
but that wasn't new enough, despite it working and being a fucktonne faster and easier to debug.