Skip to content

Research Articles

Admission Control during Microservice Fan-Out: Clustered Exceptions

Anika Saltmere (Distributed Systems Group, Thornmere Polytechnic), Emil Havenford (Distributed Systems Group, Kestrelby Institute of Technology), Noor Meadowick (Distributed Systems Group, Eastmarsh Institute for Applied Computing), Hana Fieldmere (Machine Learning Laboratory, Valehart Institute of Computational Science), Anika Fallowby (Distributed Systems Group, Pinewick School of Engineering)

Vol. 1 No. 1 (2018) · pp. 43–58 · Published 7 July 2018

Abstract

The comparison uses a burst of exceptions concentrated in a short interval to evaluate two choices: charging admission against estimated downstream work and capping only requests at the gateway. All outcomes are synthetic. Each configuration is evaluated on the same 320 cases. In the 80 stress cases, a small group of requests must fan out to many backend calls; the difficult conditions occur in contiguous runs rather than being spread across 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. Across the full set, 251 cases meet the criterion with the first configuration and 235 with the second. The stress cases account for 49 and 33 passes, respectively. The stress results should be read alongside the full-set results rather than treated as a general performance guarantee. The practical trade-off is that cost estimation can penalize new request shapes. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.

Keywords: microservices, admission control, tail latency, clustered exceptions, synthetic evaluation

References

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Hendrycks, D., & Gimpel, K. (2016). A baseline for detecting misclassified and out-of-distribution examples in neural networks. arXiv:1610.02136.
  6. 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.
  7. Liang, S., Li, Y., & Srikant, R. (2017). Enhancing the reliability of out-of-distribution image detection in neural networks. arXiv:1706.02690.
  8. Nelson, J., et al. (2015). Latency-tolerant software distributed shared memory. Proceedings of the 2015 USENIX Annual Technical Conference, 291–305.
  9. Newman, S. (2015). Building microservices: Designing fine-grained systems. O'Reilly Media.
  10. Ousterhout, K., Wendell, P., Zaharia, M., & Stoica, I. (2013). Sparrow: Distributed, low latency scheduling. Proceedings of the 24th ACM Symposium on Operating Systems Principles, 69–84.
  11. 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.
  12. 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.
  13. 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.