Skip to content

Research Articles

Canary Capacity under Partial Rollouts: Uneven Workloads

Devon Bellwarden (Distributed Systems Group, Glenwick University), Imani Viremont (Distributed Systems Group, Cairnwell Research Institute), Kian Ravenmere (Distributed Systems Group, Pinewick School of Engineering)

Vol. 6 No. 1 (2023) · pp. 112–126 · Published 18 August 2023

Abstract

This synthetic study compares maintaining separate error and capacity budgets for each rollout cohort with measuring health only at the whole-service level in a workload with many common cases and a small set of recurring high-cost cases. Each configuration is evaluated on the same 180 cases. In the 45 stress cases, the new version must receive a smaller and easier traffic sample; the rare cases are assessed separately so that the dominant group does not hide their behavior. A case counts as a pass only if it meets this criterion: a bad rollout must be detected before crossing the test impact limit. Each pair receives the same workload and interruption schedule. Results include timed-out requests and unfinished recovery attempts, preventing either configuration from appearing faster by dropping difficult work. The first configuration passes 150 of 180 cases, versus 134 for the comparator. In the stress subset, the respective counts are 31 and 20 of 45. The alternative exceeds the comparator overall by 8.9 percentage points. The practical trade-off is that cohort-level evidence can take longer to accumulate. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.

Keywords: rollouts, microservices, service reliability, uneven workloads, synthetic evaluation

References

  1. Burrows, M. (2006). The Chubby lock service for loosely-coupled distributed systems. Proceedings of the 7th USENIX Symposium on Operating Systems Design and Implementation, 335–350.
  2. Chen, X., Ma, H., Wan, J., Li, B., & Xia, T. (2017). Multi-view 3D object detection network for autonomous driving. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1907–1915.
  3. Chowdhery, A., et al. (2022). PaLM: Scaling language modeling with pathways. arXiv:2204.02311.
  4. Dai, J., et al. (2017). Deformable convolutional networks. Proceedings of the IEEE International Conference on Computer Vision, 764–773.
  5. Dragoni, N., et al. (2016). Microservices: Yesterday, today, and tomorrow. arXiv:1606.04036.
  6. Huang, Y., Cheng, Y., Bapna, A., Firat, O., Chen, M. X., Chen, D., Lee, H., Ngiam, J., Le, Q. V., Wu, Y., & Chen, Z. (2019). GPipe: Efficient training of giant neural networks using pipeline parallelism. Advances in Neural Information Processing Systems, 32, 103–112. Published paper
  7. Hupkes, D., Veldhoen, S., & Zuidema, W. (2018). Visualisation and "diagnostic classifiers" reveal how recurrent and recursive neural networks process hierarchical structure. Journal of Artificial Intelligence Research, 61, 907–926.
  8. Lewis, J., & Fowler, M. (2014). Microservices: A definition of this new architectural term. martinfowler.com.
  9. Liang, S., Li, Y., & Srikant, R. (2017). Enhancing the reliability of out-of-distribution image detection in neural networks. arXiv:1706.02690.
  10. Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
  11. Madden, S., Franklin, M. J., Hellerstein, J. M., & Hong, W. (2002). TAG: A tiny aggregation service for ad-hoc sensor networks. Proceedings of the 5th USENIX Symposium on Operating Systems Design and Implementation, 131–146.
  12. Mohan, C., Haderle, D., Lindsay, B., Pirahesh, H., & Schwarz, P. (1992). ARIES: A transaction recovery method supporting fine-granularity locking and partial rollbacks using write-ahead logging. ACM Transactions on Database Systems, 17(1), 94–162.
  13. Sung, F., Yang, Y., Zhang, L., Xiang, T., Torr, P. H. S., & Hospedales, T. M. (2018). Learning to compare: Relation network for few-shot learning. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1199–1208.
  14. Thulasidasan, S., Chennupati, G., Bilmes, J. A., Bhattacharya, T., & Michalak, S. (2019). On mixup training: Improved calibration and predictive uncertainty for deep neural networks. Advances in Neural Information Processing Systems, 32, 13888–13899.
  15. Vishwanath, K. V., & Nagappan, N. (2010). Characterizing cloud computing hardware reliability. Proceedings of the 1st ACM Symposium on Cloud Computing, 193–204.