What is the default priority of the swap partition
Anonymous Quiz
22%
0
12%
-1
13%
10
10%
1
39%
There are no priorities for swap
4%
100
👌3👍1🐳1
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3👍2🐳1
How does Docker Swarm handle load balancing for services?
Anonymous Quiz
54%
By assigning requests in round-robin order
7%
By sending all traffic to a single node
16%
By using a random distribution of requests
23%
By prioritizing nodes with lower CPU usage
👍3🐳1
How to reduce the latency in any software system?
1. Caching
Temporarily storing frequently accessed data in memory to reduce access time.
How It Helps:
Data Retrieval: Fetching data from a cache (e.g., Redis, Memcached) is significantly faster than querying a database.
Content Delivery: Caching static assets (like images, CSS, JS) reduces the need to retrieve them from the origin server repeatedly.
2. Load Balancing
Distributing incoming network traffic across multiple servers to ensure no single server becomes a bottleneck.
How It Helps:
Resource Utilization: Balances the load to prevent any single server from becoming overwhelmed, which can slow down response times.
Redundancy: Provides failover capabilities, ensuring requests are handled promptly even if some servers are down.
3. Asynchronous Processing
Handling tasks in the background without blocking the main execution thread, allowing the system to continue processing other requests.
How It Helps:
Non-blocking Operations: Users don't have to wait for long-running tasks (like sending emails or processing images) to complete.
4. Data Partitioning (Sharding)
Dividing a database into smaller, more manageable pieces (shards) that can be distributed across multiple servers.
How It Helps:
Parallelism: Queries can be executed in parallel across shards, reducing the time to retrieve data.
Scalability: Distributes the load, preventing any single database instance from becoming a bottleneck.
5. Content Delivery Networks (CDNs)
Distributed networks of servers that deliver web content based on the geographic location of the user.
How It Helps:
Proximity: Serves content from servers closest to the user, reducing the physical distance data must travel.
Caching: Caches static and dynamic content to speed up delivery.
6. Database Optimization
Tuning databases to perform queries more efficiently through indexing, query optimization, and proper schema design.
How It Helps:
Indexing: Speeds up data retrieval by allowing the database to find records without scanning entire tables.
7. Minimizing Network Hops
Reducing the number of intermediary steps data must pass through and choosing efficient communication protocols.
How It Helps:
Fewer Hops: Each network hop introduces additional latency; minimizing them speeds up data transmission.
8. Prefetching and Predictive Loading
Anticipating future data requests and loading them in advance.
How It Helps:
Reduced Wait Times: Data is already available when requested, eliminating retrieval delays.
Smoother User Experience: Especially effective in applications with predictable access patterns.
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
👌4🐳2❤1👍1👏1
DevOps_for_the_Database_1738866902.pdf
4.1 MB
#Database
Devops for the Database
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Devops for the Database
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
👌6❤3🐳2
How do you create a mirrored LVM volume in Ubuntu?
Anonymous Quiz
64%
Use 'lvcreate -m1 -L size -n lv_name vg_name'
23%
Run 'lvmirror create -volume'
4%
Type 'mirrorlv -setup'
9%
Use 'lvcreate -mirror'
❤1👍1
DevOps_1738852112.pdf
1.3 MB
#AWS
AWS troubleshooting guide
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
AWS troubleshooting guide
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
👍6🙏3👏2👌1
How do you enable packet forwarding permanently in Ubuntu?
Anonymous Quiz
77%
Edit '/etc/sysctl.conf' and set 'net.ipv4.ip_forward=1', then run 'sysctl -p'
7%
Run 'enableforward -perm'
5%
Type 'netforward persist'
10%
Use 'sysctl forward-permanent'
❤3
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
👌3❤1👍1
Terraform_Projects_DevOps_Shack_1739124110.pdf
644.4 KB
#Terraform
Terraform projects
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Terraform projects
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4👍3👏2🤩1
What do you mean by Node Controller?
Anonymous Quiz
81%
Node controller are the group of services which were running in the Kubernetes Master
19%
Node controller are the group of services which were running in the Kubernetes Swarm
❤3👍2
GIT_Commands_1738866866.pdf
582.4 KB
#Git
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7🙏1
Which policy must be applied to an ImageStream to automatically deploy the latest Docker image upon an update?
Anonymous Quiz
33%
RollingPolicy
34%
LatestOnly
12%
Automatic
21%
ImageChangePolicy
❤6👍4🤩2👌1
DevOps_Shack_10_Docker_Projects_to_Master_Docker_1739206364.pdf
1.3 MB
#Docker
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
👍8👌3🔥2
❤7🔥2🐳1
Popular Redis Use Cases
1. Caching
The most common use case is to utilize Redis for caching. This helps protect the database layer from overloading. Redis offers fast lookup for cached data and can help improve application performance.
2. Session Store
We use Redis to share user session data among stateless servers. Redis provides a centralized place to store session dat and makes it easy to scale out servers.
3. Distributed lock
We use Redis distributed locks to grant mutually exclusive access to shared resources. This prevents race conditions in distributed systems. Redis locks are easy to implement and automatically expire.
4. Counter and Rate Limiter
We use Redis to track like counts, view counts etc on social media apps. Redis counters provide atomic increments/ decrements. We also use Redis to enforce rate limits on our API endpoints. This helps prevent abuse.
5. Leaderboard
Sorted sets make it easy to implement gaming leaderboards in Redis. We can add, update, or remove users from the leaderboard and query ranges efficiently.
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3🐳3👍1👏1👌1
DevOps_Shack_Prometheus_and_Grafana_Errors_Solutions_1739417248.pdf
1.3 MB
#Prometheus
Prometheus and Grafana Errors & Solutions
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Prometheus and Grafana Errors & Solutions
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6🐳4👍3👌1
Which command is used to search for a package in the Ubuntu repositories?
Anonymous Quiz
77%
Use 'apt search package_name'
16%
Run 'findpkg package_name'
3%
Type 'searchpkg'
3%
Use 'pkgfinder'
❤1🙏1👌1
Forwarded from DevOps(Document Repository)
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2
Kubernetes_Networking_1739467692.pdf
2.9 MB
#Kubernetes
Introduction to Kubernetes networking
➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖ ➖
Group:
©️ https://news.1rj.ru/str/DevopsDocGP
Channel:
©️ https://news.1rj.ru/str/DevopsDoc
Introduction to Kubernetes networking
Group:
Channel:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤7👏2👌2👍1