Creating a social network with thousands on concurrent users - minimum requirements?

Basically title. I have a dream to realize a specific type of social network, a standard website type ala Facebook with a timeline, profiles etc. What would some minimum retirements be if I hope to get thousands of concurrent users? What type of DB and hosting would be best for example? Would the MERN stack suffice?

Posted Dec 25, 2019, 10:56 PM UTC

24
Applepie1928•

What would some minimum retirements be if I hope to get thousands of concurrent users?

In abstract terms, you would need to build a reliable, intuative social network with niche features and appropriate marketing to draw in enough people. Whether a project like this becomes sucessful comes down to your skill, how much time and money you are willing to invest, and a whole heap of luck.

If you meant skill requirements as a programmer, then first I would recommend hiring a team of people, as building, maintaining and updating a social network with thousands of concurrent users is just not realistically doable by a single person. You would need experienced programmers with full stack experience in whatever stack/framework/architecture you decide to use.

​

What type of DB and hosting would be best for example?

It depends on a lot of factors, what are your growth estimates for users? How long are you planning for it to reach "thousands of concurrent" users? What data are you actually storing in your social network? How much data per user are you storing? Are you providing algorithmic features (friend recommendations, auto generating news feeds, relevance scales etc)?

It might be cheaper, easier and quicker to use cloud based hosting getting started, but this may not be cost effective in the long run, or bite you in the ass if you want to make some bespoke design choices. An alternative would be to host it yourself, however if you experience spikes of users or quick growth your system might not be able to handle it.

In terms of databases, it will depend on your data and what you want to do with it. I believe that many social networks are now utilising graph databases (Neo4j is a good one to check out), as they can outperform relational databases when handling big, intricately connected data sets. However, you may also find that Mongo, or even SQL is enough for you, it all depends on exactly what you are trying to create, and how fast you think it will scale.

​

Also be very careful to consider other things outside of the programming sphere, such as ethical, moral and legal issues. In particular data protection is a very hot topic at the moment, and you will have to really investigate the laws of your country (and any countries your users may come from), to make sure you abide by the relevent laws/frameworks. For example, all countries in the EU have to follow the GDPR rules, and if you have users from these countries you will need to follow these rules too or risk being taken to court.

Building a social network is a huge project, and I wish you the best of luck, but I think it is unrealistic you can achieve this alone.

8
learningWebDevIsFunOP•

Thank you very much, a lot to think about.

1
Weak-Constant•

There's no one stack that will be guaranteed to suffice, especially when used by someone without much experience. You'll have to do real system design to figure out the capacity you need, not just asking on Reddit. The requirements will vary enormously depending on what you're actually doing.

2
rdrum•

I would focus on just making the app the standard way, once you get thousands of concurrent users, you could get some help from specialists

2