TWIL: September 19, 2021

This week I needed to learn a bit more about Azure Media Services, as well as Azure Durable Functions and Azure Files service. I also learned about Spring Cloud Gateway and found an awesome instance calculator for Kubernetes Clusters. Check it out below.


Azure Media Services

Video-on-demand digital media
A basic video-on-demand solution that gives you the capability to stream recorded video content such as movies, news clips, sports segments, training videos, and customer support tutorials to any video-capable endpoint device, mobile application, or desktop browser. Video files are uploaded to Azure Blob storage, encoded to a multi-bitrate standard format, and then distributed via all major adaptive bit-rate streaming protocols (HLS, MPEG-DASH, Smooth) to the Azure Media Player client.

Streaming Endpoints (Origin) in Azure Media Services
In Microsoft Azure Media Services, a Streaming Endpoint represents a dynamic (just-in-time) packaging and origin service that can deliver your live and on-demand content directly to a client player app using one of the common streaming media protocols (HLS or DASH). In addition, the Streaming Endpoint provides dynamic (just-in-time) encryption to industry-leading DRMs.

Stream content with CDN integration
Official Microsoft documentation about using an Azure Content Delivery Network (CDN) to enable high scalability for video streaming when using Azure Media Services.

Azure Media Services v3 samples
GitHub Repo with samples on how to encode, package and protect videos with Azure Media Services v3, using .NET 5.0 SDK. Also includes samples that demonstrate how to analyze videos and perform live ingest in order to broadcast an event.


Other Azure Services

Develop for Azure Files with .NET
Learn the basics of developing .NET applications that use Azure Files to store data. This article shows how to create a simple console application to perform several common operations with .NET and Azure Files.

What are Durable Functions?
Durable Functions is an extension of Azure Functions that lets you write stateful functions in a serverless compute environment. The extension lets you define stateful workflows by writing orchestrator functions and stateful entities by writing entity functions using the Azure Functions programming model. Behind the scenes, the extension manages state, checkpoints, and restarts for you, allowing you to focus on your business logic.

Choose an Azure solution for data transfer
This article provides an overview of some of the common Azure data transfer solutions. The article also links out to recommended options depending on the network bandwidth in your environment and the size of the data you intend to transfer.


Spring Cloud Gateway

Spring Cloud Gateway
Official documentation to this Sping project, which provides an API Gateway built on top of Spring Ecosystem, including Spring 5, Spring Boot 2 and Project Reactor. It aims to provide a simple, yet effective way to route to APIs and provide cross cutting concerns to them such as security, monitoring and resiliency.

Building a Gateway
Official how-to guide, from Spring, to help you create your first Spring Cloud Gateway.


Cool Stuff

Kubernetes Instance Calculator
Really cool website that allows you to calculate the best virtual machine instance type for your kubernetes cluster, based on your workloads. You can use also to compare costs and instance types across Azure, AWS and GCP.

10 Hilarious Cartoons That Depict Real-Life Problems of Programmers
Sometimes we just need to have some fun as well. These are 10 awesome cartoons about a programmer’s life.


Have an awesome week! Happy learning!

Photo by Headway on Unsplash