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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:03:56+00:00 2026-06-13T07:03:56+00:00

I am PaaS/IaaS developer.I am trying to bring in new algorithm to design placement

  • 0

I am PaaS/IaaS developer.I am trying to bring in new algorithm to design placement login or resource management logic.Eg:I am creating instance of linux for the user I want to consider memory cpu usage heapsize all this factors and design my placement mechanism.Also i want to retry if instance fails.Any help to design this?

  • 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-13T07:03:57+00:00Added an answer on June 13, 2026 at 7:03 am

    As nmahee suggested, you should use a BinPacking solver with the following constrains:
    1. Support more than one dimension (CPU, Memory, Disk Space, etc…)
    2. Support an incremental algorithm that starts with the current distribution and results with a new distribution. Unlike the classic binpacking that assumes you are starting with a clean slate.
    3. Trade-off between an optimal solution and a minimum change to the existing distribution. For example if a new resource is added, should you move an existing resource to have an optimum solution ? (In PaaS the answer is usually no).

    For a general purpose BinPacking solver look into Drools.

    For a (very ad-hoc) solver you can take a look at the engine that is used by Cloudify. When we have the time we would probably re-write it with drools.
    https://github.com/OpenSpaces/OpenSpaces/blob/master/src/main/java/org/openspaces/grid/gsm/machines/BinPackingSolver.java

    This solver basically looks at each machine’s free capacity, used capacity and change in capacity needed (capacity is abstraction for cpu/memory/disk – see 1 above). Where used capacity is the existing solution (see 2 above). Another trait of this algorithm is that it completely ignores other resources on this machine. If there are other resources on this machine it is reflected by a smaller free capacity value. Basically we are calling the solver separately for each resource, each time masking the rest of the resources on the machine by decreasing the free capacity (see 3 above)

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

Sidebar

Related Questions

Azure itself is imo PaaS and not IaaS. Do you agree? MS gurantees an
I am trying to use CloudBees PaaS (RUN@CloudBees) to consolidate essentially three different distinct
I'm trying to deploy an existing Jboss 7 war application on the Cloudbees Paas
I'm currently looking for a Cloud PaaS that will allow me to scale an
Since Google App Engine is a PaaS does it use any hypervisor? it is
I would like to know how Can I paas Page as Ref Parameter to
I've been working with the PaaS service AppFog and I was able to get
I'm sending queries through Django on a PaaS service, and I think I can't
i am using jgrid. i am creating a specific XML as per the jgrid
I am planning to use cloudfoundry paas service (from VMWare) for hosting my node.js

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.