Digital Marketing

Why ShoppRe Choose Bangalore Location

Fastest Delivery by Myntra and Flipkart is to bangalore

Digital Marketing

Migrating from PM2/VM to Docker/CapRover


  • 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


  • 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
Digital Marketing

Kubernetes vs Caprover(CaptainDuckDuck)

  • Caprover is very simple
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


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

Digital Marketing


  • 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

Digital Marketing

benchmark your mysql db infra

#! /bin/sh

ssh db1

sudo hdparm -Tt /dev/sda
Digital Marketing

MySQL Migration with rsync

# New MySQL Server
sudo systemctl start mysqld
cd /var/lib
sudo mv mysql myql-backup
sudo mkdir mysql

# rsync from existing db
sudo rsync /var/lib/mysql
sudo systemctl start mysqld


Digital Marketing

Announcing the Adobe Digital Experience Partner of the Year Awards

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)