Hey everyone! I’m planning to develop a social discussion website similar to popular platforms where users can post content, comment, and vote on submissions. I’m trying to figure out which backend technology would work best for this type of project.
The app needs to handle user authentication, real-time comments, voting systems, and potentially a lot of concurrent users. I’ve been looking at different options but I’m not sure which one would be most efficient for building something with these features.
What backend stack would you recommend for this kind of social platform? I’d love to hear about your experiences and what you think would be the most reliable choice for handling the complex functionality these sites require.
django + redis is a solid choice! it handled voting and real-time comments smoothly in my experience. also, postgresql is awesome for data management. plus, the admin interface is a lifesaver for user stuff. hope this helps!
curious about your user base expectations! are you thinking thousands or millions of concurrent users? that totally changes everything. node.js with express could work great for real-time features, but how comfortable are you with javascript on the backend? what’s your experience level?
Built a discussion platform last year with FastAPI and PostgreSQL - handled everything you mentioned perfectly. FastAPI’s async features made real-time stuff way easier than expected, and the auto API docs saved me tons of time. For voting, I used database triggers to keep vote counts accurate and avoid the race condition nightmare I had with other frameworks before. OAuth2 authentication worked great out of the box, and performance under heavy traffic was solid. Python’s got awesome libraries for moderation and content filtering too, which became crucial once we got more users. Bonus: adding ML for content recommendations later was surprisingly simple.