Skip to content

Research Articles

Canary Capacity under Partial Rollouts: Cold Versus Warm Runs

Nadia Brookvala (Machine Learning Laboratory, Ivermere University), Dario Merevale (Distributed Systems Group, Pinewick School of Engineering), Amina Iverford (Machine Learning Laboratory, Valehart Institute of Computational Science), Talia Belmere (Distributed Systems Group, Kestrelby Institute of Technology), Priya Viremont (Distributed Systems Group, Ravenmere Technical University)

Vol. 3 No. 1 (2020) · pp. 1–11 · Published 27 January 2020

Abstract

We ask whether maintaining separate error and capacity budgets for each rollout cohort performs better than measuring health only at the whole-service level in a mix of fresh-start and steady-state trials. The evaluation is synthetic. Each configuration is evaluated on the same 256 cases. In the 64 stress cases, the new version must receive a smaller and easier traffic sample; initialization cost is kept in the comparison instead of discarding the first completed trial. 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 comparator passes 181 of 256 cases and the alternative passes 192. For the 64 stress cases alone, the counts are 31 and 38, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that cohort-level evidence can take longer to accumulate. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.

Keywords: rollouts, microservices, service reliability, cold versus warm runs, 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. Dragoni, N., et al. (2016). Microservices: Yesterday, today, and tomorrow. arXiv:1606.04036.
  3. Lewis, J., & Fowler, M. (2014). Microservices: A definition of this new architectural term. martinfowler.com.
  4. Liang, S., Li, Y., & Srikant, R. (2017). Enhancing the reliability of out-of-distribution image detection in neural networks. arXiv:1706.02690.
  5. Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
  6. 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.
  7. Merolla, P. A., et al. (2014). A million spiking-neuron integrated circuit with a scalable communication network and interface. Science, 345(6197), 668–673. DOI
  8. 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.
  9. Newman, S. (2015). Building microservices: Designing fine-grained systems. O'Reilly Media.
  10. Shafiee, A., et al. (2016). ISAAC: A convolutional neural network accelerator with in-situ analog arithmetic in crossbars. Proceedings of the 43rd Annual International Symposium on Computer Architecture, 14–26. DOI
  11. Vishwanath, K. V., & Nagappan, N. (2010). Characterizing cloud computing hardware reliability. Proceedings of the 1st ACM Symposium on Cloud Computing, 193–204.
  12. Wang, B., et al. (2019). Neural Cleanse: Identifying and mitigating backdoor attacks in neural networks. Proceedings of the 2019 IEEE Symposium on Security and Privacy, 707–723.
  13. Xu, K., Hu, W., Leskovec, J., & Jegelka, S. (2019). How powerful are graph neural networks? International Conference on Learning Representations. Source