DEV Community

Cover image for I Built DevBlog: A Medium-Style Platform with Redis Caching and Background Workers
CH Amrut Prasad Patro
CH Amrut Prasad Patro

Posted on

I Built DevBlog: A Medium-Style Platform with Redis Caching and Background Workers

I just launched DevBlog—a blogging platform for developers to share technical content, projects, and in-progress ideas.

🔗 Live demo: https://dev-blog-post.vercel.app (currently running with demo data—feel free to create a post and test it out!)

Why I Built This

I wanted a space where developers could publish openly without the noise of social media, but with better engagement features than a static blog. Think Medium, but built for our workflow.

Tech Stack

Here's what powers it:

  • Node.js backend with Express
  • Redis for dual purposes:
    • Hot cache layer for fast reads
    • Background worker for async like processing (keeps the UI snappy)
  • QStash for view count synchronization
  • OAuth 2.0 for authentication
  • Cloudinary for media uploads and optimization
  • Dual-layer data architecture (hot cache + persistent storage)

Key Technical Decisions

Why Redis for background workers?
Instead of blocking the request-response cycle when someone likes a post, I offload it to a Redis-backed worker. The UI responds instantly while the database update happens asynchronously.

Why QStash for view counts?
View tracking is high-frequency but low-priority. QStash batches these updates efficiently without hammering the database on every page load.

What's Next

Right now it's running with demo data to see if there's interest. If people actually use it, I'll:

  • Move to a custom domain
  • Build a recommendation engine
  • Scale the infrastructure

Try It Out

Go ahead and create your first post: https://dev-blog-post.vercel.app

Would love feedback on:

  • Feature requests
  • Any bugs you encounter

Drop your thoughts below! 👇

Top comments (0)