Use Case #2: Transcoding Videos

As we said earlier, content creators will upload videos, and then we’ll transcode them into various formats that play nicely with our users’ devices and internet connections. As always, before starting to build features, let’s discover the messages we need.

The publishing flow will be something like:

images/publishing-flow.png

The Creators Portal will have UI to simulate uploading videos directly to Amazon’s S3 offering. Once the “upload” is complete, the UI will instruct the server to publish the video. This suggests a PublishVideo command that communicates who owns the video and where to find its source file. We’ll only allow authenticated ...

Get Practical Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.