Skip to main content

Elixir: An Agent for Supporting Elasticity in Docker Swarm

  • Conference paper
  • First Online:
Advanced Information Networking and Applications (AINA 2020)

Abstract

Elixir is an autonomous agent that extends the capabilities of Docker Swarm in certain ways: (a) it supports monitoring of resources in real-time, (b) introduces a scheduler for balancing the workload among swarm nodes and, most importantly, (c) supports automatic scaling-up (or down) of worker nodes at run-time with no downtime (i.e. without stopping the system). The proposed scaling strategy is reactive and works by responding to static (pre-defined) thresholds applying on resource metrics (e.g. RAM, CPU). The experimental results demonstrate that Docker Swarm with Elixir responds to the increasing (or decreasing) resource demands of each application leading to significantly faster response times compared to its non-auto scaled counterpart, while maintaining optimal allocation of resources per application.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.docker.com.

  2. 2.

    https://kubernetes.io.

  3. 3.

    https://docs.docker.com/engine/swarm/.

  4. 4.

    https://docs.docker.com/config/containers/resource_constraints/.

  5. 5.

    https://docs.docker.com/v17.09/engine/swarm/how-swarm-mode-works/nodes/.

  6. 6.

    https://docs.docker.com/engine/swarm/swarm-tutorial/add-nodes/.

  7. 7.

    https://docs.docker.com/v17.09/engine/swarm/how-swarm-mode-works/nodes/.

  8. 8.

    https://www.zabbix.com.

  9. 9.

    https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/.

  10. 10.

    https://www.zabbix.com/zabbix_agent.

References

  1. Al-Dhuraibi, Y., Paraiso, F., Djarallah, N., Merle, P.: Autonomic vertical elasticity of docker containers with ELASTICDOCKER. In: International Conference on Cloud Computing (CLOUD 2017), Honolulu, USA, pp. 472–479, June 2017

    Google Scholar 

  2. Bodík, P., Griffith, R., Sutton, C.A., Fox, A., Fox, A., Jordan, M.I., Paterson, D.: Statistical machine learning makes automatic control practical for internet datacenters. In: Proceedings of the 2009 Conference on Hot Topics in Cloud Computing (HotTopics 2009), Berkeley, CA, USA. USENIX Association, June 2009

    Google Scholar 

  3. Sharma, P., Chaufournier, L., Shenoy, P., Tay, Y.C.: Containers and virtual machines at scale: a comparative study. In: 17th International Middleware Conference, NY, USA, pp. 1:1–1:13, December 2016

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Euripides G. M. Petrakis .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Alexiou, M.S., Petrakis, E.G.M. (2020). Elixir: An Agent for Supporting Elasticity in Docker Swarm. In: Barolli, L., Amato, F., Moscato, F., Enokido, T., Takizawa, M. (eds) Advanced Information Networking and Applications. AINA 2020. Advances in Intelligent Systems and Computing, vol 1151. Springer, Cham. https://doi.org/10.1007/978-3-030-44041-1_96

Download citation

Publish with us

Policies and ethics