In this post, the author discusses potential PostgreSQL pitfalls that may not affect small databases, but can cause issues when databases grow.
https://philbooth.me/blog/nine-ways-to-shoot-yourself-in-the-foot-with-postgresql
https://philbooth.me/blog/nine-ways-to-shoot-yourself-in-the-foot-with-postgresql
philbooth.me
Nine ways to shoot yourself in the foot with PostgreSQL
Personal website of Phil Booth
Pipedrive Infra manages numerous Kubernetes clusters across different clouds, including AWS and on-premise OpenStack. They had been experiencing intermittent failing pod health checks, which became more frequent over time. After an extensive investigation, the team discovered that Kubelet was initiating TCP sessions to pods using random source ports within the same range reserved by Kubernetes nodeports. This caused the TCP SYN-ACK to be redirected to other pods, leading to failed health checks. The solution was to disallow the use of the nodeport range as the source port for TCP sessions with a single line of code, effectively resolving the issue.
https://medium.com/pipedrive-engineering/solving-the-mystery-of-pods-health-checks-failures-in-kubernetes-55b375493d03
https://medium.com/pipedrive-engineering/solving-the-mystery-of-pods-health-checks-failures-in-kubernetes-55b375493d03
Medium
Solving the mystery of pods health checks failures in Kubernetes
The story of one troubleshooting case.
Efficient GPU utilization is crucial for minimizing infrastructure expenses, especially in large Kubernetes clusters running AI and HPC workloads. NVIDIA MIG enables partitioning GPUs into smaller slices, but using MIG in Kubernetes through the NVIDIA GPU Operator alone has limitations due to static configurations. Dynamic MIG Partitioning addresses these limitations by automating the creation and deletion of MIG profiles based on real-time workload requirements, ensuring optimal GPU utilization. The nos module works alongside the NVIDIA GPU Operator to implement dynamic MIG partitioning, simplifying the management of MIG configurations and reducing operational costs.
https://towardsdatascience.com/dynamic-mig-partitioning-in-kubernetes-89db6cdde7a3
https://towardsdatascience.com/dynamic-mig-partitioning-in-kubernetes-89db6cdde7a3
Medium
Dynamic MIG Partitioning in Kubernetes
Maximize GPU utilization and reduce infrastructure costs.
Roadmapper - A Roadmap as Code (Rac) python library. Generate professional roadmap diagram using python code.
https://github.com/csgoh/roadmapper
https://github.com/csgoh/roadmapper
GitHub
GitHub - csgoh/roadmapper: Roadmapper - A Roadmap as Code (Rac) python library. Generate professional roadmap diagram using python…
Roadmapper - A Roadmap as Code (Rac) python library. Generate professional roadmap diagram using python code. - csgoh/roadmapper
Have you ever heard that company migrate from microservice architecture to monolith?
Moving our service to a monolith reduced our infrastructure cost by over 90%. It also increased our scaling capabilities. Today, we’re able to handle thousands of streams and we still have capacity to scale the service even further. Moving the solution to Amazon EC2 and Amazon ECS also allowed us to use the Amazon EC2 compute saving plans that will help drive costs down even further.
https://www.primevideotech.com/video-streaming/scaling-up-the-prime-video-audio-video-monitoring-service-and-reducing-costs-by-90
Moving our service to a monolith reduced our infrastructure cost by over 90%. It also increased our scaling capabilities. Today, we’re able to handle thousands of streams and we still have capacity to scale the service even further. Moving the solution to Amazon EC2 and Amazon ECS also allowed us to use the Amazon EC2 compute saving plans that will help drive costs down even further.
https://www.primevideotech.com/video-streaming/scaling-up-the-prime-video-audio-video-monitoring-service-and-reducing-costs-by-90
Amazon News
Entertainment
We create and provide access to world-class entertainment through Amazon Originals, Prime Video, Audible, Amazon Games, Twitch, Amazon Music, Prime Gaming, and more. Amazon’s digital entertainment products enable customers to access the latest apps and games…
macOS and Linux VMs on Apple Silicon to use in CI and other automations
https://github.com/cirruslabs/tart
https://github.com/cirruslabs/tart
GitHub
GitHub - cirruslabs/tart: macOS and Linux VMs on Apple Silicon to use in CI and other automations
macOS and Linux VMs on Apple Silicon to use in CI and other automations - cirruslabs/tart
🔥1
In this post, the author explores various load balancing algorithms, including round robin, weighted round robin, dynamic weighted round robin, and least connections. The simulations demonstrate how these algorithms perform in different scenarios, highlighting their strengths and weaknesses. Round robin performs well in terms of median latency but struggles with higher percentiles. Least connections offer a good balance between simplicity and performance but may not be optimal in terms of latency. The PEWMA algorithm, which combines techniques from dynamic weighted round robin and least connections, shows significant improvements across all latency percentiles but has additional complexity and may not handle dropped requests as well as least connections. Ultimately, the choice of load balancing algorithm depends on the specific requirements of a workload and the performance characteristics that need to be optimized.
https://samwho.dev/load-balancing/
https://samwho.dev/load-balancing/
👍1
Adrien "ZeratoR" Nougaret's annual charity event, Zevent, returned this year with a new addition called Zevent Place. Inspired by Reddit's r/place, Zevent Place is a collaborative canvas where donors can draw pixels based on the amount they donate. Developers William Traoré and Alexandre Moghrabi created the platform with several features, such as Pixel Upgrade system and real-time updates, to protect community creations and enhance user experience.
The team utilized various technologies like GraphQL, NestJS, Redis, and MinIO, and managed to handle massive amounts of updates while maintaining a low CPU and bandwidth footprint. Although there were challenges, such as unexpected rate limit errors with Cloudflare, the event achieved 98.4% uptime, with the downtime being addressed and resolved promptly.
Overall, Zevent Place was a successful project, and valuable lessons were learned throughout its development and implementation.
https://medium.com/@alexmogfr/zevent-place-how-we-handled-100k-ccu-on-a-real-time-collective-canvas-71d3d346e0ab
The team utilized various technologies like GraphQL, NestJS, Redis, and MinIO, and managed to handle massive amounts of updates while maintaining a low CPU and bandwidth footprint. Although there were challenges, such as unexpected rate limit errors with Cloudflare, the event achieved 98.4% uptime, with the downtime being addressed and resolved promptly.
Overall, Zevent Place was a successful project, and valuable lessons were learned throughout its development and implementation.
https://medium.com/@alexmogfr/zevent-place-how-we-handled-100k-ccu-on-a-real-time-collective-canvas-71d3d346e0ab
Medium
ZEvent Place: How we handled 100k+ CCU on a real-time collective canvas
Each year, Adrien “ZeratoR” Nougaret runs a charity event named Zevent.
Debug a target container in a Kubernetes cluster by automatically creating a new, non-invasive, 'debug' container in the same pid, network, user, and ipc namespace as the target container without disrupting the target container.
https://github.com/JamesTGrant/kubectl-debug
https://github.com/JamesTGrant/kubectl-debug
GitHub
GitHub - JamesTGrant/kubectl-debug: Debug a target container in a Kubernetes cluster by automatically creating a new, non-invasive…
Debug a target container in a Kubernetes cluster by automatically creating a new, non-invasive, 'debug' container in the same pid, network, user, and ipc namespace as the target con...
👍1
This is a Helm plugin which map deprecated or removed Kubernetes APIs in a release to supported APIs
https://github.com/helm/helm-mapkubeapis
https://github.com/helm/helm-mapkubeapis
GitHub
GitHub - helm/helm-mapkubeapis: This is a Helm plugin which map deprecated or removed Kubernetes APIs in a release to supported…
This is a Helm plugin which map deprecated or removed Kubernetes APIs in a release to supported APIs - helm/helm-mapkubeapis
👍1
Rhel compatible distribution in danger. RedHat change their policy and licenses agreements
https://www.jeffgeerling.com/blog/2023/dear-red-hat-are-you-dumb
https://www.jeffgeerling.com/blog/2023/dear-red-hat-are-you-dumb