Categories
Digital Marketing

Why ShoppRe Choose Bangalore Location

Fastest Delivery by Myntra and Flipkart is to bangalore

Categories
Digital Marketing

Migrating from PM2/VM to Docker/CapRover

Challenges

  • Github deployment with webhooks is available but build time is not allows graceful restart
  • Docker releases are faster, but developer has to build and release

Autoscaling – HA

  • Increased complexity of CapRover have its own load balancer

Conclusion

  • CapRover is good for one server having multiple projects
  • Might not be ideal for a service scales heavily Azure Autoscaling is good for core api with Azure API Gateway
Categories
Digital Marketing

Kubernetes vs Caprover(CaptainDuckDuck)

  • Caprover is very simple
Categories
2020 ProdOps Guide Digital Marketing

ProdOps Quality Check

  • CPU Utilisation – Best Practices
  • RAM Utilisation – Best Practices
  • Disk: HDD | SSD
  • Storage: Ephemeral Storage | Root Disk | OS Disk | Data Disk
  • Backup: Cold Storage | Hot Storage
  • Storage: Block Storage | Object Storate
  • Autoscaling
  • Docker/Kubernetes
  • Replication
  • Snapshot Based Backups
  • Automated Backups with Restore and check
  • Manual DB Backups
  • Cross Region Replication for Disaster Recovery
  • Restore and Check
  • Chaos day
  • Check costs everyday

Other Cases

  • Delete all the resources associated with a VM while vm termination – Azure leave disks after vm deletion
  • Azure suggests by default – 8GB machine
    • Good to start with 512MB RAM
  • Azure Cost for 3GBRam-1core is double compared to 4GB-2core
  • Azure disks only resize topup – no reduction
  • 2020 – GPU machine N series not supports premium disks
  • Multi region buckets
  • Multi region backups

Linode

Categories
Digital Marketing

Startup & Business Helpline for Indian Business

  • Accounting Services
  • Compliance
  • Registration of Company
  • Foreign Direct Investments
  • GST Registration
  • Help for startups
    • Incubation centers
    • Special discounts
  • Investment Guidance

Categories
Digital Marketing

Lambda

  • should integrate with request-promise or npm libraries
  • lambda should not have db
  • function names and api names should be same and core api project

Back to Main Article

Categories
Digital Marketing

benchmark your mysql db infra

#! /bin/sh

ssh db1

sudo hdparm -Tt /dev/sda
Categories
Digital Marketing

MySQL Migration with rsync

# New MySQL Server
ssh ubuntu@db1.shopping.com
sudo systemctl start mysqld
cd /var/lib
sudo mv mysql myql-backup
sudo mkdir mysql

# rsync from existing db
sudo rsync ubuntu@old-db1.shopping.com:/var/lib/mysql /var/lib/mysql
sudo systemctl start mysqld

Issues:

https://support.severalnines.com/hc/en-us/community/posts/251222603-MySQL-Database-Migration-using-Rsync

Categories
Digital Marketing

Announcing the Adobe Digital Experience Partner of the Year Awards

https://theblog.adobe.com/announcing-the-adobe-digital-experience-partner-of-the-year-awards/

Categories
Digital Marketing

MySQL Database Best Practices

  • collation: utf8mb4_general_ci
  • increase query cache
  • use SSD
  • keep db in local network or same host(do not keep db server in USA, appserver in India)