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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:16:28+00:00 2026-06-17T16:16:28+00:00

Set up Front-end machine receives web requests and puts 3 different kinds of tasks

  • 0

Set up
Front-end machine receives web requests and puts 3 different kinds of tasks into Gearman server.
3 worker machines registered with that gearman server, each can perform any of those tasks.

Different tasks consume different resources.
Each task is different in terms of cpu/ram/io consumption.
The amount of tasks in queue is much greater then the number of workers, meaning each working machine registered multiple worker instances with gearman.

How to dynamically load balance it
The problem is that one worker machine can get all the cpu extensive tasks, another one would get the i/o extensive task, while ideally a worker can perform much better doing all this different kind of task in parallel.

Perhaps gearman isn’t the right tool here?

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

    Possibly you could use RabbitMQ that has fair dispatching and
    use 3 different queues,
    one for the cpu consuming task, one for the i/o and one for the network.

    Thus every time a worker machine finishes any of this tasks, it would aknowledge it’s done with it and get another task of the same resource-consuming type.

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

Sidebar

Related Questions

I have Nginx as my front-end web server listening on port 80. And certain
I'm a web designer who puts together the HTML/CSS/JS for front-end web app design.
Need a easy to set-up and flexible web front-end for a data warehouse built
Considering the set up: Ms Access Application split into Front End and Back End
I'm developing front-end code for a web application, and ran into an odd piece
I have created an MS Access 2003 application, set up as a split front-end/back-end
I am using Apache and PHP as my front-end server and Tornado as my
I want to set joomla front end session to never expire automatically .I am
I developed my own Web-Admin behind the front-end. It's a typical Admin with container
I work in front end and set CSS background using the shorthand notation very

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.