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

  • Home
  • SEARCH
  • 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 167553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:17:44+00:00 2026-05-11T12:17:44+00:00

Imagine the next architecture: We have Java application over Spring framework (let’s call it

  • 0

Imagine the next architecture:

  1. We have Java application over Spring framework (let’s call it Manager).
  2. It accepts requests and can launch other applications to handle them (let’s call them Containers). These Containers exists for a long time. They has rather complex structure and consist of several different applications, but they have control part, written in C++ and bash scripts. Expected number is about 2000 on 8 CPU cores.
  3. We have monitoring Heartbeat application (also Java over Spring). Data be should somehow get from those Containers (on CPU, Memory, Bandwidth usage, versions) and from Manager and aggregated. Aggregated data are sent somewhere further by Heartbeat on regular basis.

What are your advices on implementing such thing? Please, provide point-outs to some frameworks or open sources addressing similar problem or some general considerations from your experience.

[UPDATE]

  • Target OS: Solaris
  • Mentioned 2000 processes are native applications. Each has its own chroot and runs logged in as a separate user.
  • 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. 2026-05-11T12:17:45+00:00Added an answer on May 11, 2026 at 12:17 pm

    My initial thought is not the managing/monitoring aspect, but using the Java manager to launch 2,000 different processes on your one machine. How much memory do these consume ? Are they running simultaneously ? If they’re different implementations can the machine make use of shared libraries etc. to reduce memory consumption.

    Then the Java process has to read/handle the process stdout/stderr (usually you do this in a thread per stream, to prevent blocking – if you have 2,000 processes using this mechanism then you’re looking at 4000 threads).

    So I would think initially about the architecture of this and scaling this across multiple machines and VMs prior to looking at the manageability.

    To get your CPU/memory etc. I would have a look at JMX and the provided beans. JMX provides means to expose this data over RMI etc. But to get this info per sub-process (container in your parlance) will require OS-specific info. What OS are you on ? For Windows check out WMI. On Unix/Linux the various /proc filesystem nodes may help you.

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

Sidebar

Ask A Question

Stats

  • Questions 117k
  • Answers 117k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can use the SecureWebPages assembly and web.config entries from… May 11, 2026 at 10:46 pm
  • Editorial Team
    Editorial Team added an answer No, it is not. While Sun has released the JVM… May 11, 2026 at 10:46 pm
  • Editorial Team
    Editorial Team added an answer Am I correct? Yes. runtime dependency only arises if the… May 11, 2026 at 10:46 pm

Related Questions

Imagine the next architecture: We have Java application over Spring framework (let's call it
I new to Scrum and while I understand the team concept behind the Sprints,
I'm getting ready to develop my first Silverlight app. It is going to be
I posted a similar question and I got a very useful reply. Now the
I have an application that streams through 250 MB of data, applying a simple

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.