From f487703cf3ec797fa91e34517158bbeaf82689a6 Mon Sep 17 00:00:00 2001 From: Nemo <me@captnemo.in> Date: Mon, 22 Apr 2019 16:45:43 +0530 Subject: [PATCH] commit --- tech2019.md | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ images/borg.png | 0 images/red.jpg | 0 images/uber.jpg | 0 4 files changed, 204 insertions(+) diff --git a/tech2019.md b/tech2019.md new file mode 100644 index 0000000..69aa26a 100644 --- /dev/null +++ a/tech2019.md @@ -1,0 +1,204 @@ +--- +--- + +# <!--fit--> Tech 2019 + +_- nemo_ + +--- + +# <!-- fit -->2-feet-rule + +--- + +# Caveats 🤷†+ +- Non-Exhaustive +- Aligned to Razorpay + +--- + +# For every Tech + +1. What is it? +2. Why should you care? +3. What can we use it for? + +--- + + + + + + + + +<!--  --> +<!--  --> + +--- + +# serverless + +## What is it? + +If your application isn't called frequently enough, your computing resources can be brought up Just In Time. + +--- + +## Why should you care? + +- Code runs instantly +- You pay for what you run +- Scaling is easier + +--- + +## Sample Usecases + +- Any kind of Batch Jobs that take <15 minutes +- A rarely visited website +- If-this-then-that (Infrequent Trigger based Actions) + - When a user uploads a file -> + - When a user sends an email -> + +--- + +## Limitations + +- Vendor-Lockins +- Not all Languages + +--- + +# blockchain + +--- + +# what is it? + +Techno-Libertarians's dream of removing central authorities from the world's economy, to only end up crashing it entirely. + +--- + +# what is it? + +blockchain is a verifiable distributed database that doesn't require trusted parties + +--- + + + +--- + + + +--- + + + +--- + + + +--- + +# why should you care? + +--- + +# really, should I care? + +If you trust developers to write code that isn't buggy, and software developers to regulate finance better than the government does - Maybe? + +--- + + + +--- + +# the google hype cycle + +- Map Reduce -> Apache Hadoop +- BigTable -> Apache HBase +- Chubby -> Apache Zookeeper +- Spanner -> Cockroach DB +- Borg -> kubernetes + +--- + +# Borg + + + +--- + +# What is it? + +Large scale cluster management tool to help you run thousands of applications + +--- + +# why should you care? + +- we run kubernetes and all of our services run on kubernetes +- kubernetes is commoditization of the cloud (GCP/AWS :fist_raised:) +- k8s advantage :tm: + +--- + +# <!--fit-->logs v/s metrics v/s tracing + +--- + +# logs + +- easiest +- most verbose +- no bird eye view + +--- + +# metrics + +- most important +- dimensions/cardinality of a metric + +--- + +# what metrics + + + +--- + +# USE + +> For every resource, check utilization, saturation, and errors. + +- utilization: the average time that the resource was busy servicing work [2] +- saturation: the degree to which the resource has extra work which it can't service, often queued +- errors: the count of error events + +--- + +# tracing + +- hardest +- needs to be done well + +--- + + + +--- + +# <!-- fit --> microservices + + + +--- + +# microservices + +aka: How to Trade Development complexity for Operational complexity diff --git a/images/borg.png b/images/borg.png new file mode 100644 index 0000000000000000000000000000000000000000..3e70501dee37b86b61fd777447fd6b5eee2d6534 100644 Binary files /dev/null and a/images/borg.png differ diff --git a/images/red.jpg b/images/red.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5a9cb40483747f25bad15ae65080899d084db5ad 100644 Binary files /dev/null and a/images/red.jpg differ diff --git a/images/uber.jpg b/images/uber.jpg new file mode 100644 index 0000000000000000000000000000000000000000..172aaef7cbacd695a50c6e77592b007b01f6f428 100644 Binary files /dev/null and a/images/uber.jpg differ -- rgit 0.1.5