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
What does ACID mean? For SQL ๐Ÿ—„
๐Ÿ”น Atomicity
The writes in a transaction are executed all at once and cannot be broken into smaller parts. If there are faults when executing the transaction, the writes in the transaction are rolled back.
๐Ÿ”น Consistency
Unlike โ€œconsistencyโ€ in CAP theorem, which means every read receives the most recent write or an error, here consistency means preserving database invariants. Any data written by a transaction must be valid according to all defined rules and maintain the database in a good state.
๐Ÿ”น Isolation
When there are concurrent writes from two different transactions, the two transactions are isolated from each other. The most strict isolation is โ€œserializabilityโ€, where each transaction acts like it is the only transaction running in the database. However, this is hard to implement in reality, so we often adopt loser isolation level.
๐Ÿ”น Durability
Data is persisted after a transaction is committed even in a system failure.

#databases #infrastructure #devops #SQL
โค2๐Ÿ‘1๐Ÿ”ฅ1
This media is not supported in your browser
VIEW IN TELEGRAM
What happens when a junior DevOps specialist is forced into the main branch of the production infrastructure ? ๐Ÿคช

#humor #git #devops
๐Ÿ”ฅ3
Kubernetes question for devops interview?
#kubernetes #containers #interview
What computing resources can we allocate for pods (containers) in limits?
Final Results
0%
Memory, Cpu, Inodes
22%
Memory, Cpu, Gpu
67%
Memory, Cpu
11%
Memory, Cpu, Inodes, Iops
๐Ÿ‘1
The_Practical_Guide_to_Internal_Developer_Portals_compressed_1.pdf
26.3 MB
๐Ÿ‰ I bring to your attention some very interesting thoughts from the mini-guide from the Port https://www.getport.io/ , in which you will find out.
๐Ÿ‘‰๐Ÿผ The next big thing in DevOps is platform engineering, and the main tool it uses is the internal developer portal. Read this guide to understand what can be done with portals and why they matter.

#books #guide #devops #platformengineering
๐Ÿ‘1
๐Ÿ’พA Linux file system is the method and data structure that Linux uses to control how data is stored and retrieved on a disk. Without a file system, data placed in a storage device would be a large body of data with no way to tell where one piece of data ends and the next begins. The file system is what allows Linux to organize data into files and directories, making it easier to access and manage
๐Ÿ“ฒ Main Directory's Structure:
/root directory (/) is the topmost directory in the Linux file system hierarchy. It serves as the starting point from which all other files and directories branch out. Every file and directory on a Linux system can be accessed by following a path from /
/bin
Essential user binaries
/etc Configuration files
/home User home directories
/var Variable files
/tmp Temporary files.

Linux's flexible file system design allows for multiple types of file systems to coexist and be used according to the needs of the system or storage.

#infrastructure #linux #devops
โค2
๐Ÿ‘” This post contains up-to-date information on sites for finding a it (devops) remotely job in companies and startups.

1๏ธโƒฃ Of course, https://www.linkedin.com/. This social network is one of the most important broadcasters of vacancies in the IT sphere. In order to receive more offers, it would be nice to pump up your profile.
2๏ธโƒฃ https://angel.co/jobs - Platform for finding jobs in startups.
3๏ธโƒฃ https://weworkremotely.com/ - The largest remote work community in the world. With over 4.5 million visitors, WWR is the number one place to find work.
4๏ธโƒฃ https://indeed.com - Will help you find remote work all over the world.
5๏ธโƒฃ https://www.fiverr.com/ - Work for IT specialists, mostly freelance.
6๏ธโƒฃ https://remotive.com/ - Large community to help remote workers.
7๏ธโƒฃ https://remoteok.com/ - Not a bad job search engine. No need to create an account, you will simply be asked to send your resume or portfolio to email addresses after you fill out the form.
8๏ธโƒฃ https://www.idealist.org/ - A good platform with a large number of different internships, including remote ones.
9๏ธโƒฃ https://dribbble.com/ - Site mainly for designers, lots of remote vacancies.
๐Ÿ”Ÿ https://www.glassdoor.com/ - The site offers the ability to search for vacancies in most countries.
1๏ธโƒฃ1๏ธโƒฃ https://www.jobisjob.com/ - I would especially like to highlight this - an excellent resource that collects offers from all sites practically from all over the world.
1๏ธโƒฃ2๏ธโƒฃ https://www.monster.com/ - Large international portal. First, it offers to decide on the geography of future work, and then look at the results.
1๏ธโƒฃ3๏ธโƒฃ https://www.dice.com/ - Similar to the previous one, it is considered one of the best resources for finding technical and engineering jobs.
1๏ธโƒฃ4๏ธโƒฃ https://www.careerbuilder.com/regional_sites - An interesting portal for finding work in the USA.

I hope this post will be useful to start your career! ๐Ÿค—
๐Ÿ‘2โค1
๐Ÿ—ƒ What is Docker?

Docker allows you to package an application with all its dependencies into a standardized unit for software development and deployment.

Key Concepts:

๐Ÿ“ช Containers
- Lightweight, standalone executable packages
- Include everything needed to run an application
- Ensure consistency across different environments

๐Ÿ“ซ Images
- Read-only templates used to create containers
- Built from layers, each representing an instruction in the Dockerfile
- Can be shared via Docker Hub or private registries

๐Ÿ“ญ Dockerfile
- Text file containing instructions to build a Docker image
- Defines the environment inside the container
- Automates the image creation process

๐Ÿš€Getting Started:
1. Install Docker
2. Familiarize yourself with basic commands (docker run, build, pull, push)
3. Create your first Dockerfile and build an image
4. Experiment with Docker Compose for multi-container setups
5. Explore Docker Hub for pre-built images and inspiration
๐Ÿ‘2
๐Ÿ‘4
๐Ÿค“ 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