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 6774801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:49:52+00:00 2026-05-26T15:49:52+00:00

I have about 5 different heterogenous linux dedicated server which can run Java applications.

  • 0

I have about 5 different heterogenous linux dedicated server which can run Java applications.

Ideally, I would have one of the servers running a Java server like Netty acting as the “hub”. Clients would submit tasks to be run on the servers, and the first server would handle which tasks are to be run on available resources across different servers.

So if too many tasks are running already on one server, the first server “hub” would route the client tasks to be run on the next available server with free resources.

If the maximum task threshold is reached, a queue should be created. whenever resource is freed up, the next tasks in queue will be run.

Another part the hub should take care of is how often the task will be run. Once a month or weekly for example.

I would like to know what existing solutions there are (non-commercial, open source is best) for the above scenario. I do recall vaguely reading about a project on Netty server that does what I describe but I cannot recall the name of the project.

  • 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-26T15:49:52+00:00Added an answer on May 26, 2026 at 3:49 pm

    If you plan to use the netty framework, then you could the following.
    For the ‘hub’ server create a pipeline in which you add a handler that spread the tasks to each underlying server. In that handler you could use blocking queues per server. If one server has too many tasks, they won’t be executed until the previous tasks are consumed by the underlying server. The part that will consume the tasks will be another handler that will act as a client to the actual underlying server. I guess you cannot forward the task directly to the servers. You need to use a client to request the task to be executed on a server.

    Spreading the tasks with a round robin along the blocking queues in the “routing handler” will do.

    Alternatively , you could have a look at MemoryAwareThreadPoolExecutor in Netty. And particularly at DefaultObjectSizeEstimator. You can limit how many request are processed by estimating the “weight” of the task.

    Regards,
    Tiberiu

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

Sidebar

Related Questions

We have about 10 different daemons for which we would like to use syslog
I have about 30 different flagged enums that I would like to put into
I have a about 20 different services which I have to send requests to
I have about 10 different APIs. which have absolutely different response structure (all of
We have about 70 sites on our server that use same application (with different
We are setting up TFS 2010 and we have about 15 different applications we
I currently have about 4 different database tables which output to html tables. Each
At my house I have about 10 computers all different processors and speeds (all
Recently I have read a lot about different NoSQL databases and how they are
I have a scene in my WPF project with about 2000 different user controls:

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.