Loading...

{{notif_text}}

Why join channels?
Learn from peers
Discuss and share learning resources with the top professionals across the world
Open business or job opportunities
Earn reputation points to get consulting projects, attract talent or land jobs.
Accelerate your growth
Grow your network and get exclusive deals from our learning partners.
signup now
Nipun Soni asked a question
{{::getFormatedLocalTime("2017-04-22T14:28:24.531Z", {without_time: true})}}

What will be your advice to a young team building a web application for scale?

We are building a modern web application for scale (around 10,000 concurrent users). What will be your advice to our young team that is bright, but doesn't have experience doing this in the past.

answer
submitting answer...
submit
No answers yet. Be the first one to answer!
2 answers
Nitish Bangera Passionate Java Programmer
{{::getFormatedLocalTime("2017-04-23T05:42:29.237Z", {without_time: true})}}
The first point is for the manager and he needs to gradually up the scale with regressive testing rather than putting a final value directly i.e. 10000. Whenever a web application is built, some or the other bottlenecks are left out and it depends on the scenario too.

Here in your scenario, what kind of operations these 10000 users are doing is really important. If it's just the server level scaling then a simple Nginx to Backend Application Server(m: n) where Nginx will serve static files as well as reroute to the backend server and all user sessions should be outside the server i.e. making it non-sticky. Now if all these requests go to the DB then its a bottleneck and hence you need to cluster it accordingly and even in the database if it's a DML then you need to have db level locks as multiple users can come from different instances. Nonetheless, all these needs to be stress tested using Apache Jmeter.

These are few pointers that I keep in mind. You need to mention what scenarios are you targeting specifically so that the answers are more finegrained.
Loading comments...
Nishant S Intrested in New Web Technologies
{{::getFormatedLocalTime("2017-10-26T06:25:41.908Z", {without_time: true})}}
  • Design for horizontal scale. 
  • Make things simple - no distributed transaction, not a lot of inter-services communication etc.
  • Offload things to a cloud provider of choice as much as possible - RDS for databases etc.
  • Measure everything, include the cost of operations
But first, do you have 10k users right now? If not, then first make the product work and find your product-market fit. Then worry about scale.
Loading comments...
To view all answers to this question, join this channel
join this channel
Learn how Cutshort Channels work
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
Okay
Privacy policy
File upload not supportedAudio recording not supported
This browser does not support file upload. Please follow the instructions to upload your resume.This browser does not support audio recording. Please follow the instructions to record audio.
  1. Click on the 3 dots
  2. Click on "Copy link"
  3. Open Google Chrome (or any other browser) and enter the copied link in the URL bar
Done