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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:29:49+00:00 2026-06-02T16:29:49+00:00

We have a simple java app which runs user requests (commands) on the command

  • 0

We have a simple java app which runs user requests (commands) on the command line and outputs results. So, as an example, say the user submits a job along the lines of:

cmd.exe ping -10 google.com

Typically, we have around 100 users, submitting 100’s of requests to be exceuted. Currently, the java app simply queues the jobs and run them sequentially, without being “democratic” or “greedy” about it.

What we would like to do is have the ability to prioritize jobs, run jobs in a more “even” fashion (say 2 users have submitted 100 jobs each, we would like to run 1 job per user and switch back and forth).

To this end, I was wondering if there are any opensource tools such as PBS:

http://code.google.com/p/pbs4java/

which could integrate with java. A search on google does not reveal a lot – any comments or suggestions would be much appreciated.

UPDATE: The most important criterions I am after are:
[1] Should be opensource
[2] Should be able to integrate with Java.

  • 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-06-02T16:29:50+00:00Added an answer on June 2, 2026 at 4:29 pm

    I suggest taking a look at Akka Dispatch and priority features. You should manage how you want to assign the priorities to the tasks. So, in your case, as users submit more tasks, it could lead to degrading to lower priorities through time. The metrics should be defined by your problem requirement and injected into the library.

    As a side node, Akka uses HawtDispatch ideas, so you might also take a look at the library if it suits you.

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

Sidebar

Related Questions

I have a simple java project (adapted from the example here ), which is
I have written a relatively simple Java App Engine application which I would like
I have to write a simple Java app which can load pictures, show it
We have a small java based server (a simple app which fetches data using
I have done simple java app for blackberry, while building am getting following error.
I have created some simple app in Java, and 'deployed' it using Java Web
I have a simple JSF web app as follows. The Java class contains: private
I have a simple Java class in which I invoke a call to a
I have a simple Java app that suddenly stopped connecting to a local DB2
I have a very simple batch file that lauches a Java app (Saxon) with

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.