/images/avatar.webp

System Design

Contents Usefull system design links 1. Netflix Millions WRP - Casendra benchmarking https://netflixtechblog.com/benchmarking-cassandra-scalability-on-aws-over-a-million-writes-per-second-39f45f066c9e Streamlining Membership Data Engineering at Netflix with Psyberg https://netflixtechblog.com/1-streamlining-membership-data-engineering-at-netflix-with-psyberg-f68830617dd1 Incremental Processing using Netflix Maestro and Apache Iceberg https://netflixtechblog.com/incremental-processing-using-netflix-maestro-and-apache-iceberg-b8ba072ddeeb Streaming SQL in Data Mesh https://netflixtechblog.com/streaming-sql-in-data-mesh-0d83f5a00d08 Netflix’s HDR video streaming is now dynamically optimized https://netflixtechblog.com/all-of-netflixs-hdr-video-streaming-is-now-dynamically-optimized-e9e0cb15f2ba Some awsome blob post to read Redis use cases in distributed systems https://medium.com/@maheshsaini.sec/top-5-redis-use-cases-in-distributed-systems-6aadc73121c6 Mastering databases https://levelup.gitconnected.com/system-design-interview-mastering-databases-9fb40bb561cd Load Balancer Load Balancer Types: 1. Hardware Load Balancer: Description: Dedicated physical devices designed for load balancing.

Cheatsheet

DOT NET CLI dotnet --list-runtimes List all availabel commands dotnet new list api Create a new .sln file dotnet new sln Create a new .sln file in a subfolder 1 dotnet new sln -o MySolution Create a new project 1 2 dotnet new [TEMPLATE] dotnet new web Create a new project in a subfolder 1 2 3 4 5 6 7 8 dotnet new [TEMPLATE] -o [NAME] dotnet new web -o Backend dotnet new webapi -o Backend dotnet new mvc -o MyApp dotnet new console -o MyApp dotnet new classlib -o MyLib dotnet new mstest -o MyLib.

Docker and Kubernets

Docker Install Docker Install Docker: Windows Use the following URL and download the installation file: https://hub.docker.com/editions/community/docker-ce-desktop-windows Install Docker: Linux Use the following URL and download the installation file: https://hub.docker.com/editions/community/docker-ce-desktop-windows Install Docker: Mac Use the following URL and download the installation file: https://hub.docker.com/editions/community/docker-ce-desktop-windows Commands $ docker version // docker version ps – list containers 1 2 docker ps docker ps -a Stop container 1 docker stop [name of container] Remove a container

Microservice Patterns

DDD in brief Aggregates and aggregate roots The aggregate pattern is a specific software design pattern within DDD. It promotes the collection of related entities and aggregates them into a unit. Aggregates make it easier to define ownership of elements in large systems. Aggregates make it easier to enforce certain rules for data and validation across multiple objects. aggregates are conceptually composed of entities and value objects that relate to each other in some way Entity An entity represents data that might need to traverse multiple microservices and, as a result, needs to have an identity value that can uniquely identify it in any system.