{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,12,16]],"date-time":"2025-12-16T10:06:37Z","timestamp":1765879597768,"version":"3.48.0"},"reference-count":26,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2025,12,16]],"date-time":"2025-12-16T00:00:00Z","timestamp":1765843200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"National Program for Research of the National Association of Technical Universities","award":["GNAC ARUT 2023"],"award-info":[{"award-number":["GNAC ARUT 2023"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>This paper addresses the challenge of optimizing cloudlet resource allocation in a code evaluation system. The study models the relationship between system load and response time when users submit code to an online code-evaluation platform, LambdaChecker, which operates a cloudlet-based processing pipeline. The pipeline includes code correctness checks, static analysis, and design-pattern detection using a local Large Language Model (LLM). To optimize the system, we develop a mathematical model and apply it to the LambdaChecker resource management problem. The proposed approach is evaluated using both simulations and real contest data, with a focus on improvements in average response time, resource utilization efficiency, and user satisfaction. The results indicate that adaptive scheduling and workload prediction effectively reduce waiting times without substantially increasing operational costs. Overall, the study suggests that systematic cloudlet optimization can enhance the educational value of automated code evaluation systems by improving responsiveness while preserving sustainable resource usage.<\/jats:p>","DOI":"10.3390\/computers14120557","type":"journal-article","created":{"date-parts":[[2025,12,16]],"date-time":"2025-12-16T09:57:24Z","timestamp":1765879044000},"page":"557","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Optimizing Cloudlets for Faster Feedback in LLM-Based Code-Evaluation Systems"],"prefix":"10.3390","volume":"14","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-0351-5111","authenticated-orcid":false,"given":"Daniel-Florin","family":"Dosaru","sequence":"first","affiliation":[{"name":"Computer Science Department, Faculty of Automatic Control and Computer Science, National University of Science and Technology Politehnica Bucharest, 060042 Bucharest, Romania"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5600-1964","authenticated-orcid":false,"given":"Alexandru-Corneliu","family":"Olteanu","sequence":"additional","affiliation":[{"name":"Computer Science Department, Faculty of Automatic Control and Computer Science, National University of Science and Technology Politehnica Bucharest, 060042 Bucharest, Romania"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7878-6598","authenticated-orcid":false,"given":"Nicolae","family":"\u021a\u0103pu\u0219","sequence":"additional","affiliation":[{"name":"Computer Science Department, Faculty of Automatic Control and Computer Science, National University of Science and Technology Politehnica Bucharest, 060042 Bucharest, Romania"}]}],"member":"1968","published-online":{"date-parts":[[2025,12,16]]},"reference":[{"key":"ref_1","unstructured":"Kuklick, L. (2025, December 10). When Computers Give Feedback: The Role of Computer-Based Feedback and Its Effects on Motivation and Emotions. IPN News, Available online: https:\/\/www.leibniz-ipn.de\/en\/the-ipn\/current\/news\/when-computers-give-feedback-the-role-of-computer-based-feedback-and-its-effects-on-motivation-and-emotions."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Dosaru, D.-F., Simion, D.-M., Ignat, A.-H., Negreanu, L.-C., and Olteanu, A.-C. (2024, January 16\u201320). A Code Analysis Tool to Help Students in the Age of Generative AI. Proceedings of the European Conference on Technology Enhanced Learning, Krems, Austria.","DOI":"10.1007\/978-3-031-72312-4_31"},{"key":"ref_3","unstructured":"PMD (2025, December 10). An Extensible Cross-Language Static Code Analyzer. Available online: https:\/\/pmd.github.io\/."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"869","DOI":"10.1109\/TLT.2025.3604054","article-title":"Using GenAI to Assess Design Patterns in Student Written Code","volume":"18","author":"Dosaru","year":"2025","journal-title":"IEEE Trans. Learn. Technol."},{"key":"ref_5","first-page":"17","article-title":"Generative AI for Code Quality and Design Assessment: Opportunities and Challenges","volume":"39","author":"Bavota","year":"2022","journal-title":"IEEE Softw."},{"key":"ref_6","unstructured":"Chen, M., Tworek, J., Jun, H., Yuan, Q., de Oliveira Pinto, H.P., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., and Brockman, G. (2021). Evaluating Large Language Models Trained on Code. arXiv."},{"key":"ref_7","unstructured":"Meta AI (2025, December 10). Introducing Meta Llama 3.1: Our Most Capable Models to Date. Available online: https:\/\/ai.meta.com\/blog\/meta-llama-3-1\/."},{"key":"ref_8","unstructured":"Lu, J., Chen, Z., Zhang, L., and Qian, Z. (2017, January 28\u201330). Design and Implementation of an Online Judge System Based on Cloud Computing. Proceedings of the IEEE 2nd International Conference on Cloud Computing and Big Data Analysis, Chengdu, China."},{"key":"ref_9","first-page":"245","article-title":"A Scalable Online Judge System Architecture Using Container-Based Sandboxing","volume":"10","author":"Singh","year":"2019","journal-title":"Int. J. Adv. Comput. Sci. Appl."},{"key":"ref_10","first-page":"1","article-title":"A Systematic Literature Review of Automated Feedback Generation for Programming Exercises","volume":"19","author":"Keuning","year":"2018","journal-title":"ACM Trans. Comput. Educ. (TOCE)"},{"key":"ref_11","first-page":"551","article-title":"Automated Assessment of Programming Assignments: A Survey","volume":"20","author":"Frolov","year":"2021","journal-title":"Inform. Educ."},{"key":"ref_12","first-page":"522","article-title":"Dynamic Task Offloading and Resource Scheduling for Edge-Cloud Collaboration","volume":"95","author":"Li","year":"2019","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_13","first-page":"197689","article-title":"A Survey on Mobile Edge Networks: Convergence of Computing, Caching and Communications","volume":"8","author":"Wang","year":"2020","journal-title":"IEEE Access"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"173","DOI":"10.1016\/j.future.2023.05.017","article-title":"An adaptive auto-scaling framework for cloud resource provisioning","volume":"148","author":"Chouliaras","year":"2023","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_15","first-page":"1162","article-title":"Adaptive Autoscaling for Cloud Applications via Reinforcement Learning","volume":"9","author":"Zhang","year":"2021","journal-title":"IEEE Trans. Cloud Comput."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1395","DOI":"10.1109\/TCC.2021.3135757","article-title":"PerfSim: A Performance Simulator for Cloud Native Microservice Chains","volume":"11","author":"Khan","year":"2021","journal-title":"IEEE Trans. Cloud Comput."},{"key":"ref_17","first-page":"7762","article-title":"A performance modeling framework for microservices-based cloud infrastructures","volume":"79","author":"Pereira","year":"2022","journal-title":"J. Supercomput."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Moiseeva, S., Polin, E., Moiseev, A., and Sztrik, J. (2025). Performance Modeling of Cloud Systems by an Infinite-Server Queue Operating in Rarely Changing Random Environment. Future Internet, 17.","DOI":"10.3390\/fi17100462"},{"key":"ref_19","unstructured":"Ahmed, U.Z., Srivastava, N., Sindhgatta, R., and Karkare, A. (July, January 27). Characterizing the pedagogical benefits of adaptive feedback for compilation errors by novice programmers. Proceedings of the ACM\/IEEE 42nd International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET), Seoul, Republic of Korea."},{"key":"ref_20","first-page":"1","article-title":"Improving student success by incorporating instant-feedback questions and increased proctoring in online science and mathematics courses","volume":"9","author":"Law","year":"2020","journal-title":"J. Teach. Learn. Technol."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Govea, J., Edye, E.O., Revelo-Tapia, S., and Villegas-Ch, W. (2023). Optimization and scalability of educational platforms: Integration of artificial intelligence and cloud computing. Computers, 12.","DOI":"10.3390\/computers12110223"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Kim, Y., Lee, K., and Park, H. (2022). Watcher: Cloud-based coding activity tracker for fair evaluation of programming assignments. Sensors, 22.","DOI":"10.3390\/s22197284"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"11138","DOI":"10.1007\/s11227-022-04328-3","article-title":"A Queuing Theory Model for Fog Computing","volume":"78","author":"Mas","year":"2022","journal-title":"J. Supercomput."},{"key":"ref_24","unstructured":"Dosaru, D. (2025, December 10). Optimized Code Evaluation Simulation; GitHub Repository, Main Branch. Software version used: Python script as available in the main branch at the time of access."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Alworafi, M.A., Dhari, A., Al-Hashmi, A.A., Darem, A.B. (2016, January 9\u201310). An improved SJF scheduling algorithm in cloud computing environment. Proceedings of the 2016 International Conference on Electrical, Electronics, Communication, Computer and Optimization Techniques (ICEECCOT), Mysuru, India.","DOI":"10.1109\/ICEECCOT.2016.7955216"},{"key":"ref_26","first-page":"1045","article-title":"Exploring multilevel feedback queue combinations and dynamic time quantum adjustments","volume":"36","author":"Khan","year":"2020","journal-title":"J. Inf. Sci. Eng."}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/14\/12\/557\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,12,16]],"date-time":"2025-12-16T10:02:57Z","timestamp":1765879377000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/14\/12\/557"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,16]]},"references-count":26,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2025,12]]}},"alternative-id":["computers14120557"],"URL":"https:\/\/doi.org\/10.3390\/computers14120557","relation":{},"ISSN":["2073-431X"],"issn-type":[{"value":"2073-431X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,16]]}}}