Skip to main content

On the Fault-Tolerant Online Bin Packing Problem

  • Conference paper
  • First Online:
Algorithmic Aspects of Cloud Computing (ALGOCLOUD 2021)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 13084))

Included in the following conference series:

Abstract

We study the fault-tolerant variant of the online bin packing problem. Similar to the classic online bin packing problem, an online sequence of items of various sizes should be packed into a minimum number of bins of uniform capacity. For applications such as server consolidation, where bins represent servers and items represent jobs of various loads, it is necessary to maintain fault-tolerant solutions. In a fault-tolerant packing, any job is replicated into \(f+1\) servers, for some integer \(f>1\), so that the failure of up to f servers does not interrupt service. We build over a practical model, introduced by Li and Tang [SPAA 2017], in which each job of load x has a primary replica of load x and f standby replicas, each of load \(x/\eta \), where \(\eta >1\) is a parameter of the problem. Upon failure of up to f servers, any primary replica in a failed bin should be replaced by one of its standby replicas so that the extra load of the new primary replica does not cause an overflow in its bin.

We study a general setting in which bins might fail while the input is still being revealed. Our main contribution is an algorithm, named Harmonic-Stretch, which maintains fault-tolerant packings under this general setting. We prove that Harmonic-Stretch has an asymptotic competitive ratio of at most 1.75. This is an improvement over the best existing asymptotic competitive ratio 2 of an algorithm by Li and Tang [TPDS 2020], which works under a model that assumes bins fail only after all items are packed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    Two bins “mirror” each other iff they contain the same set of replicas.

References

  1. Ajiro, Y., Tanaka, A.: Improving packing algorithms for server consolidation. In: Proceedings of the 33rd International Computer Measurement Group Conference (CMG), pp. 399–406 (2007)

    Google Scholar 

  2. Azure: Azure virtual machine series. https://azure.microsoft.com/en-ca/

  3. Balogh, J., Békési, J., Dósa, G., Epstein, L., Levin, A.: A new lower bound for classic online bin packing. Algorithmica, 1–16 (2021)

    Google Scholar 

  4. Balogh, J., Békési, J., Galambos, G.: New lower bounds for certain classes of bin packing algorithms. Theor. Comput. Sci. 440–441, 1–13 (2012)

    Article  MathSciNet  Google Scholar 

  5. Daudjee, K., Kamali, S., López-Ortiz, A.: On the online fault-tolerant server consolidation problem. In: Proceedings of the 26th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pp. 12–21 (2014)

    Google Scholar 

  6. EC2: Amazon EC2 instance types. https://aws.amazon.com/ec2/

  7. Lee, C.C., Lee, D.T.: A simple on-line bin-packing algorithm. J. ACM (JACM) 32(3), 562–572 (1985)

    Article  MathSciNet  Google Scholar 

  8. Li, B., Dong, Y., Wu, B., Feng, M.: An online fault tolerance server consolidation algorithm. In: Proceedings of the 24th International Conference on Computer Supported Cooperative Work in Design (CSCWD), pp. 458–463 (2021)

    Google Scholar 

  9. Li, C., Tang, X.: Towards fault-tolerant bin packing for online cloud resource allocation. In: Proceedings of the 29th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pp. 231–233 (2017)

    Google Scholar 

  10. Li, C., Tang, X.: On fault-tolerant bin packing for online resource allocation. IEEE Trans. Parallel Distrib. Syst. (TPDS) 31(4), 817–829 (2020)

    Article  Google Scholar 

  11. Mate, J., Daudjee, K., Kamali, S.: Robust multi-tenant server consolidation in the cloud for data analytics workloads. In: Proceedings of the 37th IEEE International Conference on Distributed Computing Systems (ICDCS), pp. 2111–2118 (2017)

    Google Scholar 

  12. Ramanan, P., Brown, D.J., Lee, C.C., Lee, D.T.: On-line bin packing in linear time. J. Algorithms 10(3), 305–326 (1989)

    Article  MathSciNet  Google Scholar 

  13. Schaffner, J., et al.: RTP: robust tenant placement for elastic in-memory database clusters. In: Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data (SIGMOD), pp. 773–784 (2013)

    Google Scholar 

  14. Seiden, S.S.: On the online bin packing problem. J. ACM (JACM) 49(5), 640–671 (2002)

    Article  MathSciNet  Google Scholar 

  15. Wu, L., Buyya, R.: Service level agreement (SLA) in utility computing systems. In: Performance and Dependability in Service Computing: Concepts, Techniques and Research Directions, pp. 1–25. IGI Global (2012)

    Google Scholar 

  16. Yanagisawa, H., Osogami, T., Raymond, R.: Dependable virtual machine allocation. In: Proceedings of the 32nd IEEE International Conference on Computer Communications (INFOCOM), pp. 629–637 (2013)

    Google Scholar 

Download references

Acknowledgement

We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Shahin Kamali or Pooya Nikbakht .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kamali, S., Nikbakht, P. (2021). On the Fault-Tolerant Online Bin Packing Problem. In: D’Angelo, G., Michail, O. (eds) Algorithmic Aspects of Cloud Computing. ALGOCLOUD 2021. Lecture Notes in Computer Science(), vol 13084. Springer, Cham. https://doi.org/10.1007/978-3-030-93043-1_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-93043-1_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-93042-4

  • Online ISBN: 978-3-030-93043-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics