In-Memory Token Caching and Distributed Schema Validation Pipelines for High-Velocity API Intermediaries

Authors

  • Chandra Kiran Yelagam Independent Researcher, USA. Author

DOI:

https://doi.org/10.63282/3117-5481/AIJCST-V4I2P106

Keywords:

Pharmacy Benefit Intermediaries, API Validation, In-Memory Token Caching, JSON Schema Validation, Asynchronous Processing, Payload Deserialization, Healthcare Interoperability

Abstract

Pharmacy benefit intermediaries must validate high-velocity eligibility tokens and membership payloads at low latency without loosening structural or semantic checks. This paper proposes a distributed validation architecture built from in-memory token caching, asynchronous JSON schema validation, regular-expression boundary checks and high-throughput payload deserialization. Caches on the intermediary nodes avoid repeated token verification. An asynchronous pipeline checks each membership payload against predefined schemas and semantic constraints, and rejects malformed fields, invalid token formats, missing attributes and inconsistent eligibility data before the request reaches downstream patient intake. Regular-expression checks on token patterns, field lengths and input types add a second, lexical layer of defense. Because the components are modular, processing load can be spread across nodes and a failure in one stage stays contained. The design also specifies how cache consistency, validation accuracy and fault isolation are maintained, so that the intermediary can interoperate with other healthcare systems. A cache hit is never treated as proof of authorization. The architecture has not been benchmarked; we propose evaluating it on latency, throughput, and cache hit rate, validation correctness and error-rejection rate under varying workloads.

References

[1] Li, C., Song, M., Du, S., Wang, X., Zhang, M., & Luo, Y. (2020). Adaptive priority-based cache replacement and prediction-based cache prefetching in edge computing environment. Journal of Network and Computer Applications, 165, Article 102715. https://doi.org/10.1016/j.jnca.2020.102715

[2] Carra, D., Neglia, G., & Michiardi, P. (2020). Elastic provisioning of cloud caches: A cost-aware TTL approach. IEEE/ACM Transactions on Networking, 28(3), 1283–1296. https://doi.org/10.1109/TNET.2020.2980105

[3] Trinh, T., Wu, D., & Huang, J. Z. (2019). C3C: A new static content-based three-level web cache. IEEE Access, 7, 11796–11808. https://doi.org/10.1109/ACCESS.2019.2892761

[4] Fang, C., Yao, H., Wang, Z., Si, P., Chen, Y., Wang, X., & Yu, F. R. (2019). Edge cache-based ISP-CP collaboration scheme for content delivery services. IEEE Access, 7, 5277–5284. https://doi.org/10.1109/ACCESS.2018.2889787

[5] Chao, W. (2020). Web cache intelligent replacement strategy combined with GDSF and SVM network re-accessed probability prediction. Journal of Ambient Intelligence and Humanized Computing, 11(2), 581–587. https://doi.org/10.1007/s12652-018-1109-4

[6] Baskaran, K. R., & Kalaiarasan, C. (2016). Improved performance by combining web pre-fetching using clustering with web caching based on SVM learning method. International Journal of Computers Communications & Control, 11(2), 167–178.

[7] Olanrewaju, R. F., & Azman, A. W. (2017). Enhancement web proxy cache performance using wrapper feature selection methods with NB and J48. IOP Conference Series: Materials Science and Engineering, 260(1), Article 012012. https://doi.org/10.1088/1757-899X/260/1/012012

[8] Abdalla, A., Sulaiman, S., & Ali, W. (2015). Intelligent web objects prediction approach in web proxy cache using supervised machine learning and feature selection. International Journal of Advances in Soft Computing and Its Applications, 7(3), 1–19.

[9] Ibrahim, H., Yasin, W., Udzir, N. I., Hamid, A., & Wati, N. A. (2016). Intelligent cooperative web caching policies for media objects based on J48 decision tree and Naïve Bayes supervised machine learning algorithms in structured peer-to-peer systems. Journal of Information and Communication Technology, 15(2), 85–116.

[10] Benadit, P. J., Francis, F. S., & Muruganantham, U. (2015). Improving the performance of a proxy cache using tree augmented Naive Bayes classifier. Procedia Computer Science, 46, 184–193. https://doi.org/10.1016/j.procs.2015.02.010

[11] Pernabas, J. B., Fidele, S. F., & Vaithinathan, K. K. (2019). Enhancing greedy web proxy caching using weighted random indexing based data mining classifier. Egyptian Informatics Journal, 20(2), 117–130. https://doi.org/10.1016/j.eij.2019.01.001

[12] Ma, T., Qu, J., Shen, W., Tian, Y., Al-Dhelaan, A., & Al-Rodhaan, M. (2018). Weighted greedy dual size frequency based caching replacement algorithm. IEEE Access, 6, 7214–7223. https://doi.org/10.1109/ACCESS.2018.2790381

[13] Ma, T., Hao, Y., Shen, W., Tian, Y., & Al-Rodhaan, M. (2018). An improved web cache replacement algorithm based on weighting and cost. IEEE Access, 6, 27010–27017. https://doi.org/10.1109/ACCESS.2018.2829142

[14] Petridou, S. G., Koutsonikola, V. A., Vakali, A. I., & Papadimitriou, G. I. (2008). Time-aware web users’ clustering. IEEE Transactions on Knowledge and Data Engineering, 20(5), 653–667. https://doi.org/10.1109/TKDE.2007.190741

[15] Huang, Y.-F., & Hsu, J.-M. (2008). Mining web logs to improve hit ratios of prefetching and caching. Knowledge-Based Systems, 21(1), 62–69. https://doi.org/10.1016/j.knosys.2006.11.004

Downloads

Published

2022-03-21

Issue

Section

Articles

How to Cite

[1]
C. K. Yelagam, “In-Memory Token Caching and Distributed Schema Validation Pipelines for High-Velocity API Intermediaries”, AIJCST, vol. 4, no. 2, pp. 49–59, Mar. 2022, doi: 10.63282/3117-5481/AIJCST-V4I2P106.

Similar Articles

151-160 of 194

You may also start an advanced similarity search for this article.