Research Articles
Admission Control during Microservice Fan-Out: Changing Conditions
Hana Northmere (Distributed Systems Group, Eastmarsh Institute for Applied Computing), Celia Merevale (Machine Learning Laboratory, Cairnwell Research Institute), Edda Eastmarsh (Machine Learning Laboratory, Valehart Institute of Computational Science)
Vol. 4 No. 1 (2021) · pp. 93–108 · Published 12 August 2021
Abstract
We ask whether charging admission against estimated downstream work performs better than capping only requests at the gateway in an operating profile that changes halfway through each run. The evaluation is synthetic. Each configuration is evaluated on the same 300 cases. In the 75 stress cases, a small group of requests must fan out to many backend calls; the final part of each run is deliberately drawn from a different regime than the initial calibration cases. A case counts as a pass only if it meets this criterion: a request must finish within its end-to-end deadline. 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 237 of 300 cases, versus 230 for the comparator. In the stress subset, the respective counts are 49 and 45 of 75. The alternative exceeds the comparator overall by 2.3 percentage points. The practical trade-off is that cost estimation can penalize new request shapes. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.
Keywords: microservices, admission control, tail latency, changing conditions, synthetic evaluation
References
- Bengio, Y., Paiement, J.-F., Vincent, P., Delalleau, O., Le Roux, N., & Ouimet, M. (2004). Out-of-sample extensions for LLE, Isomap, MDS, eigenmaps, and spectral clustering. Advances in Neural Information Processing Systems, 16, 177–184.
- Ciompi, F., et al. (2015). Automatic classification of pulmonary peri-fissural nodules in computed tomography using an ensemble of 2D views and a convolutional neural network out-of-the-box. Medical Image Analysis, 26(1), 195–202.
- Courbariaux, M., Bengio, Y., & David, J.-P. (2015). BinaryConnect: Training deep neural networks with binary weights during propagations. Advances in Neural Information Processing Systems, 28, 3123–3131.
- DeVries, T., & Taylor, G. W. (2018). Learning confidence for out-of-distribution detection in neural networks. arXiv:1802.04865.
- Ferretti, L., et al. (2020). Quantifying SARS-CoV-2 transmission suggests epidemic control with digital contact tracing. Science, 368(6491), eabb6936.
- Gao, Y., Xu, C., Wang, D., Chen, S., Ranasinghe, D. C., & Nepal, S. (2019). STRIP: A defence against trojan attacks on deep neural networks. Proceedings of the 35th Annual Computer Security Applications Conference, 113–125.
- Hendrycks, D., & Gimpel, K. (2016). A baseline for detecting misclassified and out-of-distribution examples in neural networks. arXiv:1610.02136.
- Kim, T., Peinado, M., & Mainar-Ruiz, G. (2012). STEALTHMEM: System-level protection against cache-based side channel attacks in the cloud. Proceedings of the 21st USENIX Security Symposium, 189–204.
- Koponen, T., et al. (2010). Onix: A distributed control platform for large-scale production networks. Proceedings of the 9th USENIX Symposium on Operating Systems Design and Implementation, 351–364.
- Liang, S., Li, Y., & Srikant, R. (2017). Enhancing the reliability of out-of-distribution image detection in neural networks. arXiv:1706.02690.
- Liu, K., Dolan-Gavitt, B., & Garg, S. (2018). Fine-pruning: Defending against backdooring attacks on deep neural networks. Research in Attacks, Intrusions, and Defenses (RAID 2018), Lecture Notes in Computer Science, 11050, 273–294.
- Murdock, K., Oswald, D., Garcia, F. D., Van Bulck, J., Gruss, D., & Piessens, F. (2020). Plundervolt: Software-based fault injection attacks against Intel SGX. Proceedings of the 2020 IEEE Symposium on Security and Privacy, 1466–1482.
- Papernot, N., McDaniel, P., Wu, X., Jha, S., & Swami, A. (2015). Distillation as a defense to adversarial perturbations against deep neural networks. arXiv:1511.04508.
- Villamizar, M., et al. (2016). Infrastructure cost comparison of running web applications in the cloud using AWS Lambda and monolithic and microservice architectures. Proceedings of the 16th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing, 179–182.
- Yu, H., Gibbons, P. B., Kaminsky, M., & Xiao, F. (2008). SybilLimit: A near-optimal social network defense against sybil attacks. Proceedings of the 2008 IEEE Symposium on Security and Privacy, 3–17.
- Yu, H., Kaminsky, M., Gibbons, P. B., & Flaxman, A. (2006). SybilGuard: Defending against sybil attacks via social networks. Proceedings of the ACM SIGCOMM 2006 Conference, 267–278.
