1.

Design a forum-like systems like Quora, Reddit or HackerNews.

Answer»

These SITES are meant for posting questions and answering them, showing newsfeed highlighting popular questions based on tags and related topics.

  • What are some of the Required Features?
    • Users should be able to create public posts and apply tags to them.
    • Posts should be sortable based on tags.
    • Post comments in real-time by users.
    • Display posts on newsfeed based on followed tags.
  • What are some of the Common Problems encountered?
    • Should it be just a web APPLICATION?
    • Where to STORE the uploaded images and links?
    • How can you determine the related tags?
    • How can you distribute posts across a server network?
  • Possible tips for consideration:
    • Check on using SQL database for mapping RELATIONAL data between users, posts, comments, likes, tags, posts etc.
    • Incorporate multithreading and load balancer for supporting high traffic.
    • Make use of sharding for distributing the data across different systems.
    • Incorporate machine LEARNING algorithms for finding correlations between the tags.


Discussion

No Comment Found