Research Articles
Admission Control during Microservice Fan-Out: Uneven Workloads
Devon Saltmere (Distributed Systems Group, Kestrelby Institute of Technology), Amina Junebrook (Distributed Systems Group, Glenwick University), Priya Junebrook (Distributed Systems Group, Thornmere Polytechnic), Edda Vesperwick (Machine Learning Laboratory, Kestrelby Institute of Technology)
Vol. 2 No. 1 (2019) · pp. 162–176 · Published 21 October 2019
Abstract
This synthetic study compares charging admission against estimated downstream work with capping only requests at the gateway 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, a small group of requests must fan out to many backend calls; 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 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 135 of 180 cases, versus 135 for the comparator. In the stress subset, the respective counts are 25 and 23 of 45. The alternative matches the comparator overall. 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, uneven workloads, 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.
- Dragoni, N., et al. (2016). Microservices: Yesterday, today, and tomorrow. arXiv:1606.04036.
- Ferguson, A. D., Bodik, P., Kandula, S., Boutin, E., & Fonseca, R. (2012). Jockey: Guaranteed job latency in data parallel clusters. Proceedings of the 7th ACM European Conference on Computer Systems, 99–112.
- 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.
- Lewis, J., & Fowler, M. (2014). Microservices: A definition of this new architectural term. martinfowler.com.
- 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.
- 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.
