Hey all, here's my vacation plan outlined for 2019. In short, the dates, place and a brief overview of itinerary. Detailed itineraries in Google doc will be linked here in a few days. March 21-24: Looking for suggestions: * Places shortlisted so far: Rajasthan (Jaisalmer, Pushkar, Jodhpur or Udaipur) and Kerala
Context switch of an engineer usually comes on the top when we're talking of productivity. The problem, unlike CPU, humans can't do context switches by simply putting things in RAM, etc. That's a limitation. Solutions usually work towards reducing context switches. Building enough layers of communication so that engineer gets
Problem: When you've an autoscaling group in AWS scaling in (reducing capacity), some of your instances get terminated. AWS usually terminates the oldest first. The problem is, sometimes, we might not want to terminate an ec2 instance because it is running a job. While we've handled our application architecture to
Problem Statement: Whenever mongos balancer is running, the cluster gets insanely slow.. Latencies are back to normalcy immediately if the balancer stopped. Mongos balancing process for reference: 1. Balancer takes a lock 2. Identify chunk to migrate. This is based on several criteria 3. Send command to "Source" shard. 4.
This is with assumption of you're using either AWS or Google Cloud. Also, this isn't elaborate purposely. Installation on Centos/Amazonlinux: * Create a new repo file: sudo vi /etc/yum.repos.d/mongodb-org.repo * Drop in following contents in the file: [mongodb-org-3.2] name=MongoDB Repository baseurl=https://repo.mongodb.
A few strategies for migrating Kafka to new cluster from classic to VPC: Strategy 1: Launch a new cluster (Zookeeper+Kafka brokers), point producers to new cluster and drain the older cluster once consumers are also pointed to new cluster. pros: * Existing cluster isn't impacted, and hence helps in easy
> How few services of hostedgraphite not hosted on AWS, got affected by AWS outage: https://blog.hostedgraphite.com/2018/03/01/spooky-action-at-a-distance-how-an-aws-outage-ate-our-load-balancer/ > How codespaces had to shutdown their business after loss of data: http://www.itwriting.com/blog/8498-resilience-is-not-backup-how-codespaces-com-lost-its-data-and-its-business.html > TravisCI truncated production database by human error: https://blog.travis-ci.