<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aman Kumar</title>
    <description>The latest articles on DEV Community by Aman Kumar (@aman179102).</description>
    <link>https://dev.to/aman179102</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2725242%2F2fa66cbe-8b85-4c60-9006-69cc74fbe2dc.png</url>
      <title>DEV Community: Aman Kumar</title>
      <link>https://dev.to/aman179102</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aman179102"/>
    <language>en</language>
    <item>
      <title>I Built an S3-Compatible Storage Server in Go — Here's What I Learned</title>
      <dc:creator>Aman Kumar</dc:creator>
      <pubDate>Mon, 08 Jun 2026 10:45:43 +0000</pubDate>
      <link>https://dev.to/aman179102/i-built-an-s3-compatible-storage-server-in-go-heres-what-i-learned-14gm</link>
      <guid>https://dev.to/aman179102/i-built-an-s3-compatible-storage-server-in-go-heres-what-i-learned-14gm</guid>
      <description>&lt;h2&gt;
  
  
  Why Build Another S3 Clone?
&lt;/h2&gt;

&lt;p&gt;Two reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;I wanted to understand distributed storage&lt;/strong&gt; — not just read about it, but actually build it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS bills are scary&lt;/strong&gt; — paying ₹25k/month for storage hurts when you're a solo developer&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So I spent 2 weeks building my own S3-compatible storage server in Go. Here's what happened.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;What I Used&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Language&lt;/td&gt;
&lt;td&gt;Go (1.22+)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;PostgreSQL (10 tables, auto-migrations)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Caching&lt;/td&gt;
&lt;td&gt;Redis&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Container&lt;/td&gt;
&lt;td&gt;Docker + Docker Compose&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Orchestration&lt;/td&gt;
&lt;td&gt;Kubernetes manifests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Metrics&lt;/td&gt;
&lt;td&gt;Prometheus&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API&lt;/td&gt;
&lt;td&gt;S3-compatible REST&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Features I Built
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🔐 JWT Auth + RBAC
&lt;/h3&gt;

&lt;p&gt;I implemented JWT with access/refresh token rotation. Users can have different roles with different permissions — admin, read-only, bucket-specific access. IAM-style policy engine built from scratch.&lt;/p&gt;

&lt;h3&gt;
  
  
  💾 Erasure Coding (Reed-Solomon)
&lt;/h3&gt;

&lt;p&gt;Your file is split into 4 data shards + 2 parity shards. Even if 2 disks die, your data survives. No expensive RAID hardware needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  📤 Multipart Upload
&lt;/h3&gt;

&lt;p&gt;Large files are uploaded in parallel parts. Each part is independently stored and reassembled on download. Essential for files &amp;gt; 100MB.&lt;/p&gt;

&lt;h3&gt;
  
  
  📊 Prometheus Metrics
&lt;/h3&gt;

&lt;p&gt;Every request is tracked — latency histograms, error rates, storage usage, active connections. Grafana dashboard ready.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔍 Content Deduplication
&lt;/h3&gt;

&lt;p&gt;SHA-256 hashing ensures duplicate files are stored once. Saves significant space in real-world usage.&lt;/p&gt;

&lt;h3&gt;
  
  
  🚦 Graceful Shutdown
&lt;/h3&gt;

&lt;p&gt;SIGTERM/SIGINT handling with connection draining. Zero-downtime deployments.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌──────────────────────────────────────────┐
│            HTTP/REST API                 │
├──────────────────────────────────────────┤
│      Auth &amp;amp; Authorization Layer          │
├──────────────────────────────────────────┤
│        Business Logic Layer              │
├──────────────────────────────────────────┤
│           Storage Layer                  │
│  Chunking · Dedup · Erasure · Replication│
├──────────────────────────────────────────┤
│     Infrastructure                       │
│  PostgreSQL │ Redis │ Local Disk Store   │
├──────────────────────────────────────────┤
│     Observability                        │
│  Metrics │ JSON Logs │ Audit Trails      │
└──────────────────────────────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Quick Start
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/aman179102/distributed-file-storage-service.git
&lt;span class="nb"&gt;cd &lt;/span&gt;distributed-file-storage-service
docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt;

curl http://localhost:8080/health
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Your own S3. Running. Free.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Learned Building This
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Distributed systems aren't magic&lt;/strong&gt; — they're just good engineering decisions stacked together&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Go is perfect for this&lt;/strong&gt; — concurrency, performance, simple deployment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PostgreSQL can handle more than you think&lt;/strong&gt; — 10 tables, smooth migrations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Building &amp;gt; Reading&lt;/strong&gt; — I learned more in 2 weeks of building than 2 months of tutorials&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] S3 API compatibility (ListObjects, DeleteObjects, etc.)&lt;/li&gt;
&lt;li&gt;[ ] Web UI for file management&lt;/li&gt;
&lt;li&gt;[ ] S3-to-S3 replication (backup to real AWS)&lt;/li&gt;
&lt;li&gt;[ ] MinIO client compatibility&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Get The Code
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/aman179102/distributed-file-storage-service" rel="noopener noreferrer"&gt;Link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you found this useful, &lt;strong&gt;star the repo&lt;/strong&gt; ⭐ — it helps more people discover it.&lt;/p&gt;

&lt;p&gt;Drop a comment if you've built something similar or have questions. Let's learn together. 🚀&lt;/p&gt;

</description>
      <category>backend</category>
      <category>distributedsystems</category>
      <category>go</category>
      <category>showdev</category>
    </item>
    <item>
      <title>From ML Model to Deployable AI App – MoodSense AI</title>
      <dc:creator>Aman Kumar</dc:creator>
      <pubDate>Sat, 11 Apr 2026 11:24:13 +0000</pubDate>
      <link>https://dev.to/aman179102/from-ml-model-to-deployable-ai-app-moodsense-ai-4h0h</link>
      <guid>https://dev.to/aman179102/from-ml-model-to-deployable-ai-app-moodsense-ai-4h0h</guid>
      <description>&lt;p&gt;I built an end-to-end NLP project that detects mood from text and turns it into a usable application.&lt;/p&gt;

&lt;p&gt;Key features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-class mood classification&lt;/li&gt;
&lt;li&gt;Confidence score + probability distribution&lt;/li&gt;
&lt;li&gt;Recommendation system&lt;/li&gt;
&lt;li&gt;FastAPI backend + Gradio UI&lt;/li&gt;
&lt;li&gt;Live deployment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Live: &lt;a href="https://huggingface.co/spaces/aman179102/moodsense-ai" rel="noopener noreferrer"&gt;Click Me&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/aman179102/moodsense-ai" rel="noopener noreferrer"&gt;Click Me&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Big takeaway: ML is just one part — productization is what really matters.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>nlp</category>
      <category>python</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>From CLI to GUI: Building an AI Podcast Studio (PodVoice)</title>
      <dc:creator>Aman Kumar</dc:creator>
      <pubDate>Sun, 29 Mar 2026 08:18:05 +0000</pubDate>
      <link>https://dev.to/aman179102/from-cli-to-gui-building-an-ai-podcast-studio-podvoice-1hdp</link>
      <guid>https://dev.to/aman179102/from-cli-to-gui-building-an-ai-podcast-studio-podvoice-1hdp</guid>
      <description>&lt;p&gt;I originally built PodVoice as a CLI tool to convert Markdown into multi-speaker audio using Coqui XTTS.&lt;/p&gt;

&lt;p&gt;While it worked well, usability was a challenge.&lt;/p&gt;

&lt;p&gt;So I built PodVoice Studio — a web-based GUI on top of it.&lt;/p&gt;

&lt;p&gt;Key features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Voice gallery with preview&lt;/li&gt;
&lt;li&gt;Single &amp;amp; multi-speaker generation&lt;/li&gt;
&lt;li&gt;Markdown-based scripting&lt;/li&gt;
&lt;li&gt;Fully local execution&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tech stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;FastAPI&lt;/li&gt;
&lt;li&gt;Coqui XTTS&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Would love feedback from the community.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/aman179102/podvoice" rel="noopener noreferrer"&gt;https://github.com/aman179102/podvoice&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr5h2j4fqkusfxrkn0x1e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr5h2j4fqkusfxrkn0x1e.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbjti7fnzmuuwxhit4ozm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbjti7fnzmuuwxhit4ozm.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>python</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
