Trying out ASP.NET Core 2.0
Why Bother with C#?
In my day job, I work with many APIs written in C#. Deployments involve running scripts that move DLLs to Windows servers running IIS. These servers have a large footprint and take a long time to initially provision. I think that the agility provided by being able to dockerize ASP.NET APIs could improve resource utilization, deployment times, and the ability to rapidly scale horizontally.
Since .NET Standard 2.0 and ASP.NET Core 2.0 were recently released, I decided to write a simple API using ASP.NET Core 2.0 and see if the dream of developing and deploying C# outside of Windows is finally a reality.
Example Project: Todo-Backend
The TodoMVC project exists to showcase front end technologies. It is a simple todo list application, typically using storage within the browser.
Kubernetes Autoscaling with Custom Metrics
One of the most amazing things about Kubernetes is its ability to automatically scale up and down.
In current (
autoscaling/v1) releases, the only metric which could be used as a scaling target is CPU usage, as measured by heapster.
With the introduction of the custom metrics api, deployments will be able to scale using one or more application-specific metrics, as well as CPU.