Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 762679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:25:54+00:00 2026-05-14T16:25:54+00:00

I have to write an architecture case study but there are some things that

  • 0

I have to write an architecture case study but there are some things that i don’t know, so i’d like some pointers on the following :

The website must handle 5k simultaneous users.
The backend is composed by a commercial software, some webservices, some message queues, and a database.

I want to recommend to use Spring for the backend, to deal with the different elements, and to expose some Rest services.

I also want to recommend wicket for the front (not the point here).

What i don’t know is : must i install the front and the back on the same tomcat server or two different ? and i am tempted to put two servers for the front, with a load balancer (no need for session replication in this case). But if i have two front servers, must i have two back servers ? i don’t want to create some kind of bottleneck.

Based on what i read on this blog a really huge charge is handle by one tomcat only for the first website mentionned. But i cannot find any info on this, so i can’t tell if it seems plausible.

If you can enlight me, so i can go on in my case study, that would be really helpful.

Thanks 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T16:25:55+00:00Added an answer on May 14, 2026 at 4:25 pm

    To expand on my comment: think through the typical process by which a client makes a request to your server:

    • it initiates a connection, which has an overhead for both client and server;
    • it makes one or more requests via that connection, holding on to resources on the server for the duration of the connection;
    • it closes the connection, generally releasing application resources, but generally still hogging a port number on your server for some number of seconds after the conncetion is closed.

    So in designing your architecture, you need to think about things such as:

    • how many connections can you actually hold open simultaneously on your server? if you’re using Tomcat or other standard server with one thread per connection, you may have issues with having 5,000 simultaneous threads; (a NIO-based architecture, on the other hand, can handle thousands of connections without needing one thread per connection); if you’re in a shared environment, you may simply not be able to have that many open connections;
    • if clients don’t hold their connections open for the duration of a “session”, what is the right balance between number of requests and/or time per connection, bearing in mind the overhead of making and closing a connection (initialisation of encrypted session if relevant, network overhead in creating the connection, port “hogged” for a while after the connection is closed)

    Then more generally, I’d say consider:

    • in whatever architecture you go for, how easily can you re-architecture/replace specific components if they prove to be bottlenecks?
    • for each “black box” component/framework that you use, what actual problem does it solve for you, and what are its limitations? (Don’t just use Tomcat because your boss’s mate’s best man told them about it down the pub…)

    I would also agree with what other people have said– at some point you need to not be too theoretical. Design something sensible, then run a test bed to see how it actually copes with your expected volumes of data. (You might not have the whole app built, but you can start making predictions about “we’re going to have X clients sending Y requests every Z minutes, and p% of those requests will take n milliseconds and write r rows to the database”…)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.