Category: Short Writeups

  • Write Amplification – Application, DB, SSD

    Write Amplification – Application, DB, SSD

    Application Write Amplification It’s a single operation on the front-end – let’s say -> mark a task completed. This may translate to multiple things on the backend. It would change the status to completed based on the status completion – another task needs to be marked completed update a log table for maintaining history So…

  • Spring Framework

    Spring Core Spring has many parts. Core is about dependency injection /version where we have to decouple the classes. Spring has containers just like a Tomcat has called a container. It manages the lifecycle of an object mentioned in XML similar to Tomcat. This works based on Factory Pattern – A factory class can instantiate…

  • TypeScript

    Issues with JavaScript Var a = “gaurav”; var a; var a = 1;We aren’t definitning what kind of value a is so it becomes difficult for further manipulations. Type safety is an issue. function  sum( var , var b ) { return a + b}sum(2 , 3); sum ( 2, 3, 4); both return same…

  • Microservices

    Microservices are a software development technique—a variant of the service-oriented architecture (SOA) architectural style that structures an application as a collection of loosely coupled services[1] In a microservices architecture, services are fine-grained and the protocols are lightweight. The benefit of decomposing an application into different smaller services is that it improves modularity. This makes the…