Posts

Showing posts from January, 2024

Decoding Database Scaling: Federation vs Sharding

Image
 Agenda: Understanding Federation Federation in precise and simple possible terms with good example Advantages of Federation Disadvantages of federation The Essence of Sharding Disadvantages of Sharding Federation vs Sharding Key Differences Choosing the Right Path In the dynamic landscape of data management, the quest for efficient and scalable database solutions is perpetual. Two prominent strategies that often stand out in this pursuit are Federation and Sharding. Both approaches address the challenges of handling large volumes of data and maintaining optimal performance, yet they differ significantly in their implementations and implications. In this blog post, we'll delve into the intricacies of Federation and Sharding, exploring their strengths, weaknesses, and applications. [1] Understanding Federation Federation (or functional partitioning) splits up databases by function. Federation is like having separate but independent databases, each responsible for specific types of d...

Consistent Hashing (Balancing Act in Distributed Systems)

Image
Agenda: Introduction What is Consistent Hashing? Why it is needed? How Consistent Hashing Works Hash Ring Hash Function Data Retrieval Advantages of Consistent Hashing Real-World Applications Challenges and Considerations Conclusion

NBUKOPS (NetBackup K8S Operators) Installation Steps

# Agenda: COMMAND TO UNINSTALL EXISTING NBUKOPS Installation Steps: STEP-1: Get Packages STEP-2: Extract Package & create NS for nbukops installation. STEP-3: Create a secret under the above ns. This secret would be used for pulling Docker Images. STEP-4: Load DM image to local cache & upload it to repo. STEP-5: Update values.yaml file. STEP-6: Create NetBackup API KEY STEP-7: Create a secret in k8s namespace  STEP-8: Run helm install  STEP-9: Check status of Deployment STEP-10: Trigger Reinstall (Optional - For failed case) Validate Installation #  COMMAND TO UNINSTALL EXISTING NBUKOPS: ---     helm uninstall veritas-netbackupkops -n <ns>     k delete ns <ns>     E.g:     helm uninstall veritas-netbackupkops -n shakti-nbukops-ns     k delete ns shakti-nbukops-ns   1) STEP-1: Get Packages. --- Download following two packages from support.veritas.com ➢ NetBackup Kubernetes operator package (net...

[K8S] Steps to configure Rook Ceph BLOCK Storage on Vanilla Kubernetes cluster

Agenda: Attach new HDD Clone Rook Github Repo Install ROOK  Configure the Storage Class Configure Volume Snapshot class Validate Snapshot Creation      1) Attach new HDD  - 10GB (or As per your need). 2) Clone Rook Github Repo     A) mkdir /root/ROOK     B) cd /root/ROOK     # (SKIP the OLD) -> git clone --single-branch --branch release-1.5  https://github. com/rook/rook.git     C) # USE LATEST ->     $ git clone --single-branch --branch v1.12.4  https://github.com/ rook/rook.git   3) Install ROOK      A) cd /root/ROOK/rook/deploy/ examples     B) # BEFORE RUNNING FOLLOWING COMMAND, Update operator.yaml: CSI_PROVISIONER_REPLICAS: "1" -> (Default is 2, change it to 1).     C) kubectl create -f crds.yaml -f common.yaml -f operator.yaml      D) kubectl create -f cluster-test.yaml     E) # Run following command to validate installatio...