DevBrainOps
110 subscribers
99 photos
5 videos
23 files
226 links
The group whose goal is to find the best approaches and solve problems of #DevOps practice.
Download Telegram
๐Ÿค“ The choice of an API architecture can have significant implications on the efficiency, flexibility, and robustness of an application.

Letโ€™s examine some prominent styles:
๐—ฅ๐—˜๐—ฆ๐—ง
A cornerstone in web services, REST leverages HTTP methods for streamlined operations and a consistent interface.
๐—š๐—ฟ๐—ฎ๐—ฝ๐—ต๐—ค๐—Ÿ
Whilst REST uses multiple endpoints for each resource and necessitates multiple requests to obtain interconnected data
๐—ฆ๐—ข๐—”๐—ฃ
Once dominant, SOAP remains vital in enterprises for its security and transactional robustness.
๐—ด๐—ฅ๐—ฃ๐—–
gRPC is efficient in distributed systems, offering bidirectional streaming and multiplexing.
๐—ช๐—ฒ๐—ฏ๐—ฆ๐—ผ๐—ฐ๐—ธ๐—ฒ๐˜๐˜€
For applications demanding real-time communication, WebSockets provide a full-duplex communication channel over a single, long-lived connection.
It's popular for applications requiring low latency and continuous data exchange.
๐— ๐—ค๐—ง๐—ง
MQTT is a lightweight messaging protocol optimized for high-latency or unreliable networks.
๐Ÿ‘3
DevOps warming๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ ( kubernetes pod's disruptions )

Which one from this list is the voluntary pod's disruptions ? #kubernetes #devops #interview
Final Results
25%
A kernel panic
8%
Spot interruption from AWS EC2
33%
SysAdmin makes node updates
33%
The node ran out of resources
โค2
๐Ÿ”ฅ3
If youโ€™re interested in running local/private LLMs (leveraging Ollama and similar solutions) on Kubernetes, take a look at this new project.

KubeAI serves an OpenAI-compatible HTTP API in Kubernetes, providing you with a drop-in OpenAI replacement and simplifying the needed operations. The projectโ€™s authors call it โ€œa Model Operator that manages vLLM and Ollama servers [inside Kubernetes].โ€ Most noticeable KubeAI features include:

- Support for various Open Source model servers, including vLLM, Ollama, FasterWhisper, and Infinity. (Speech-to-Text and Text-Embedding are supported.)
- An option to preload LLMs in custom container images.
- Autoscaling based on load.
- A Chat UI based on OpenWebUI.
- An ability to work in the CPU-only mode and with GPUs. TPU support is planned.
- No dependencies (such as service meshes) and installable in regular K8s clusters, OpenShift, and managed K8s solutions (currently, thereโ€™s an instruction for GKE with Autopilot).

โ–ถ๏ธ GitHub repo

#tools #ai
๐Ÿ‘3
โค4
๐Ÿฆš Netflix architecture - they use full amazon services, not shown in this diagram, but they use ec2 for all their workload.๐Ÿ™Š So knowledge of aws services will be very relevant in the near future.

#devops #infrastructure #netflix
๐Ÿ‘3
๐Ÿ—Rust is not only for writing drivers and system things, Rust is developing and gives the opportunity to write any powerful UI ๐Ÿฒ
https://www.thoughtworks.com/radar/languages-and-frameworks/summary/rust-for-ui

#rust #devops #application
๐Ÿ‘2๐Ÿ”ฅ1
๐Ÿš€Cloud gives you great power, but like any great power has its risks and dangers.
The AWS these risks are associated with prices, since you can spend and find out about it in the invoice at the end of the month๐Ÿ˜ฒ
But now a very good tool has appeared for solving issues with Finops for AWS, meet ๐Ÿ’๐Ÿผโ€โ™‚๏ธ CUDOS
https://aws.amazon.com/ru/blogs/awsmarketplace/using-cudos-dashboard-visualizations-aws-marketplace-spend-visibility-optimization/

#infrastructure #monitoring #finops #DevOps #AWSServices
๐Ÿ”ฅ2๐Ÿ‘1
๐ŸŽฎ There are several tools for indie game developers to help with the full cycle of game creation.

#games #devops #tools
๐Ÿ”ฅ2๐Ÿ‘1
โ” How does Git Work โ”

The diagram below shows the Git workflow.
Git is a distributed version control system.
Every developer maintains a local copy of the main repository and edits and commits to the local copy.
The commit is very fast because the operation doesnโ€™t interact with the remote repository.
If the remote repository crashes, the files can be recovered from the local repositories.

#systemdesign #git #devops
๐Ÿ‘2๐Ÿ”ฅ1
๐Ÿ‘โ€๐Ÿ—จStateful vs Stateless Design โ€” What's the Difference?

Stateless design is a powerful model that has led to the development of simple yet highly scalable and efficient applications.

โ€œStateโ€ refers to stored information that systems use to process requests. This information can change over time as users interact with the application or as system events occur.

๐—ช๐—ต๐—ฎ๐˜ ๐—ฎ๐—ฟ๐—ฒ ๐˜€๐˜๐—ฎ๐˜๐—ฒ๐—ณ๐˜‚๐—น ๐—ฎ๐—ฝ๐—ฝ๐—น๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€?

Stateful applications store data like user IDs, session information, configurations, and preferences to help process requests for a given user. A stateful design allows applications to provide a personalized experience to their users while removing the need to share data across multiple requests.

#applications #systemdesign
๐Ÿ‘2๐Ÿ”ฅ1
๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ Welcome to the EKS scalability guide, where your Kubernetes clusters can expand faster than your coffee consumption during a code freeze!

This documentation is for developers, devops, admins ready to dive deep into the world of EKSโ€”your ultimate cheat sheet for scaling tips. Manage your Control Plane like a PRO ๐Ÿธ, wielding its power without getting lost in API calls.

Where the DataPlane is your clusterโ€™s workout planโ€”because even pods need to hit the gym! ๐Ÿ’ช๐Ÿผ When it comes to Workloads, remember: theyโ€™re the main event, not just an excuse for more YAML files. If youโ€™re scaling beyond 1,000 nodes, reach out to AWS support ๐Ÿš’ to avoid turning your cluster into chaos. So gear up, embrace the challenge, and may your pods never crashโ€”unless itโ€™s scheduled maintenance! Happy scaling!

#AWS #eks #HighAvailability #kubernetes

https://docs.aws.amazon.com/eks/latest/best-practices/scalability.html
๐Ÿ‘3โค1
๐Ÿง 20 Popular Open Source Projects Started or Supported By Big Companies

#OpenSource
๐Ÿ”ฅ2
This Amazing Roadmap ๐Ÿ˜Ž which will help you prepare for various interviews for the position of SRE or DevOps , and even if you are not considering changing jobs ๐Ÿ˜‡, it will give you deep and comprehensive knowledge in the world of infrastructure

#interviews #SRE #DevOps
#linux #infrastructure

https://github.com/mxssl/sre-interview-prep-guide?tab=readme-ov-file
๐Ÿ‘2
๐Ÿ”ฅ2