[{"content":"Optimizing VPS Deployment When you\u0026rsquo;re working with a resource-constrained VPS (1 core, 2GB RAM), every megabyte counts. Here\u0026rsquo;s how I optimized my deployment strategy.\nThe Challenge I have a VPS with:\n1 CPU core 2GB RAM 25GB SSD I needed to run:\nPortfolio website Chat application PostgreSQL Redis The Solution: Binary Uploads Instead of using Docker for everything, I decided to:\nBuild locally on my MacBook Air M3 Cross-compile for Linux Upload binaries via SCP Run natively on VPS Build Script #!/bin/bash GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags=\u0026#34;-s -w\u0026#34; -o app-linux main.go ","permalink":"http://fahimimam.pro.bd/blog/my-first-post/","summary":"How I optimized my VPS deployment strategy to save resources","title":"Optimizing VPS Deployment: Binary Uploads vs Docker"},{"content":"Portfolio Website This very website! Built with Hugo and deployed on a resource-constrained VPS.\nWhy Hugo? Speed: Static files served in milliseconds Efficiency: Only 10MB RAM usage Simplicity: No backend required Flexibility: Can add dynamic features later Deployment Built locally on MacBook Air M3, cross-compiled, and deployed via rsync:\nhugo build --minify rsync -avz public/ vps:/var/www/portfolio/ ","permalink":"http://fahimimam.pro.bd/projects/project-2/","summary":"Lightning-fast portfolio website using Hugo static site generator","title":"Portfolio Website with Hugo"},{"content":"Chat Application A real-time chat application built with Go, featuring WebSocket connections and Redis pub/sub for scalability.\nFeatures Real-time messaging using WebSockets Redis pub/sub for horizontal scaling JWT authentication Message history persistence Typing indicators Tech Stack Backend: Go (Fiber framework) Database: PostgreSQL Cache: Redis Frontend: Vanilla JavaScript Deployment: Docker Compose Links GitHub Repository Live Demo Screenshots Challenges \u0026amp; Solutions One of the main challenges was handling multiple WebSocket connections efficiently\u0026hellip;\n","permalink":"http://fahimimam.pro.bd/projects/project-1/","summary":"Real-time chat application built with Go, WebSockets, and Redis","title":"Chat Application with WebSockets"},{"content":"About Me Hey! I\u0026rsquo;m Fahim Imam, a software developer passionate about building efficient and scalable applications.\nSkills Languages: Go, JavaScript, Python Technologies: Docker, PostgreSQL, Redis Tools: Git, Linux, Nginx Experience Software Developer @ Digital Payments Limited December, 2022 - Present\nBuilt scalable backend services using Go Optimized database queries, improving performance by 40% Deployed applications on resource-constrained VPS Education Bachelor of Science in Computer Science\nUniversity Name, 2023\nInterests When I\u0026rsquo;m not coding, I enjoy:\nContributing to open source Writing technical blog posts Optimizing server configurations (as you can see from my VPS setup!) Contact Feel free to reach out:\nEmail: Fahim Imam GitHub: @fahimimam LinkedIn: Kazi Fahim Imam ","permalink":"http://fahimimam.pro.bd/about/","summary":"Learn more about Fahim Imam","title":"About Me"}]