akshay-siwal.hashnode.devInterview Question: How to Analyze iostat OutputScenario: Diagnosing Disk I/O Latency You suspect that a disk is experiencing high latency during peak traffic. To monitor real-time disk performance, you run: iostat -y -x 5 3 Output: avg-cpu: %user %nice %system %iowait %steal %idle ...Dec 17, 2024·7 min read
akshay-siwal.hashnode.devTech Interview SeriesWhat Happens When You malloc 2 GB but Don’t Use It? malloc reserves virtual memory, not physical memory: When you call malloc(2GB), the operating system reserves 2 GB of address space for your process in the virtual memory. No physical RAM is allo...Dec 17, 2024·4 min read
akshay-siwal.hashnode.devUnpacking Packer: Simplifying Machine Image Building Across PlatformsBuilding and maintaining consistent infrastructure across multiple environments and platforms has historically been a daunting challenge. Enter Packer, a game-changer developed by HashiCorp. This open-source tool automates the creation of machine ima...Nov 23, 2024·5 min read
akshay-siwal.hashnode.devPacker FAQWhat is Packer? Packer is an open-source tool created by HashiCorp for building identical machine images for multiple platforms from a single source configuration. It automates the process of creating machine images, eliminating manual steps and ensu...Nov 23, 2024·2 min read
akshay-siwal.hashnode.devMastering the Packer Command Line InterfacePacker Fundamentals This briefing document reviews key concepts and insights of HashiCorp Packer, a tool for creating machine images. 1. Interacting with Packer The primary and sole method of interacting with Packer is through its command-line interf...Nov 23, 2024·2 min read