[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-327560-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-327560-en":131},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","smocs-a-streaming-framework-for-simplified-deployment-monitoring-and-optimization-of-ml-systems-in-production","SMOCS - A Streaming Framework for Simplified Deployment, Monitoring, and Optimization of ML Systems in Production","","Machine learning demonstrates strong potential for monitoring, optimization, and control in real-time scientific facilities, yet operational deployment and maintenance remain a difficult engineering task. Each facility uses unique protocols, non-standard data formats, and constrained infrastructure, forcing teams to repeatedly rebuild integration pipelines. SMOCS presents a Kafka-based, containerized framework with layered Kafka abstractions, a three-thread agent architecture for temporally decoupled ingestion, training, and inference, and a configuration-driven Docker deployment model enabling continuous online learning.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/smocs-a-streaming-framework-for-simplified-deployment-monitoring-and-optimization-of-ml-systems-in-production/327560/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/smocs-a-streaming-framework-for-simplified-deployment-monitoring-and-optimization-of-ml-systems-in-production/327560.png","ImageObject",300,407,{"name":42,"@type":43},"Maeve","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-09-21",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",14,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does SMOCS address in ML deployments for scientific facilities?","Question",{"text":63,"@type":64},"SMOCS targets the gap between ML algorithm development and operational deployment, caused by mismatches between ML environments and facility-specific data protocols, formats, and infrastructure constraints.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does SMOCS simplify integration with streaming data systems?",{"text":68,"@type":64},"SMOCS provides a layered abstraction over Apache Kafka that hides messaging infrastructure behind extension points, letting developers implement domain logic without distributed-systems expertise.",{"name":70,"@type":61,"acceptedAnswer":71},"How does SMOCS enable continuous online learning without interrupting inference?",{"text":72,"@type":64},"SMOCS uses a three-thread agent architecture that temporally decouples data ingestion, model training, and real-time inference, supporting continuous learning from live streams while keeping service running.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},327560,1790487449,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":33,"preview_urls":147},5909877438554,"https://ap-avatar.wpscdn.com/avatar/5600025385ad2bf12a7?_k=1778553567797529272","arXiv :2607 .0273 1v 1 [ cs . SE] 2 Jul 2026  \nSMOCS: A Streaming Framework for Simplified Deployment, Monitoring, and Optimization of ML Systems in Production  \nArmen Kasparian Kishansingh Rajput Malachi Schram  \nJohn Vennekate  \nMarch 2026  \nAbstract  \nMachine learning has demonstrated significant potential for real-time monitoring, optimization, and control of scientific facilities. However, deploying and maintaining ML models in operational environments remains a substantial engineering challenge. Each facility presents unique data protocols, non-standard formats, and infrastructure constraints, forcing teams to rebuild integration pipelines for every new application. We present SMOCS (Streaming Monitoring Optimization and Control System), a Kafka-based containerized framework that addresses this challenge through three contributions: 1) a layered abstraction over Apache Kafka that separates infrastructure from application logic, 2) a threethread agent architecture that temporally decouples data ingestion, model training, and real-time inference enabling continuous online learning from live data streams, and 3) a configuration-driven deployment model that enables domain experts to operate ML pipelines without software engineering expertise. SMOCS is facility platform-agnostic, fault-isolated by design, and horizontally scalable through Docker containerization. The framework is publicly available as open-source software at [https://github](https://github) . com/JeffersonLab/SMOCS with documentation at [https://pages.jlab](https://pages.jlab) . org/datascience/smocs_docs/ .  \n1 Metadata  \nTable 1: Code metadata  \n\n| C1 | Current code version | Alpha 1.0 |\n| --- | --- | --- |\n| C2 | Permanent link to code/repository | [https://github.com/](https://github.com/)[ ](https://github.com/)JeffersonLab/SMOCS |\n| C3 | Legal Code License | MIT |\n| C4 | Code versioning system used | Git |\n| C5 | Software code languages, tools, and services used | Python, Docker, Apache Kafka |\n| C6 | Compilation requirements & dependencies | Docker |\n| C7 | Link to developer documentation | [https://pages.jlab.org/](https://pages.jlab.org/)[ ](https://pages.jlab.org/)[datascience/smocs_docs/](datascience/smocs_docs/) |\n| C8 | Support email for questions | [armenk@jlab.org](armenk@jlab.org & kishan@)[ &](armenk@jlab.org & kishan@)[ kishan@](armenk@jlab.org & kishan@)[ ](armenk@jlab.org & kishan@)[jlab.org](jlab.org) |\n\n2 Introduction  \nMachine learning is increasingly applied to real-time tasks in scientific facilities, from anomaly detection in particle accelerator beam lines to predictive maintenance in fusion experiments. Yet the path from a trained model to an operational deployment remains disproportionately difficult. For example, a researcher who develops an anomaly detection model may face weeks or months of integration work before that model can process live sensor data, retrain on new observations, and produce actionable diagnostics in real time. This gap between algorithmic development and operational deployment represents one of the most significant barriers to broader adoption of ML in experimental science.  \nThese challenges arise from fundamental mismatches between ML development environments and facility infrastructure, not from any single technical obstacle. Scientific facilities typically stream data through domain-specific protocols such as Experimental Physics and Industrial Control System (EPICS) Channel Access [3] or Message Queuing Telemetry Transport (MQTT) [2], using non-standard formats and timing conventions that vary across installations. Deploying an ML application on this data requires building custom protocol adapters, managing format conversions, and ensuring that the application’s dependencies do not conflict with the facility’s control systems. Each deployment becomes a bespoke engineering project. When another usecase and/or facility wishes to adopt the same workflow, the integration effort must largely be repeated bec","cbCaiuCyVgnibW97","https://ap.wps.com/l/cbCaiuCyVgnibW97","pdf",969580,22,"English","# Abstract\n# Metadata\n## Table 1: Code metadata\n# Introduction\n# Related work and paper organization\n## Section 3: Related work\n## Section 4: System architecture","[{\"question\":\"What problem does SMOCS address in ML deployments for scientific facilities?\",\"answer\":\"SMOCS targets the gap between ML algorithm development and operational deployment, caused by mismatches between ML environments and facility-specific data protocols, formats, and infrastructure constraints.\"},{\"question\":\"How does SMOCS simplify integration with streaming data systems?\",\"answer\":\"SMOCS provides a layered abstraction over Apache Kafka that hides messaging infrastructure behind extension points, letting developers implement domain logic without distributed-systems expertise.\"},{\"question\":\"How does SMOCS enable continuous online learning without interrupting inference?\",\"answer\":\"SMOCS uses a three-thread agent architecture that temporally decouples data ingestion, model training, and real-time inference, supporting continuous learning from live streams while keeping service running.\"}]","SMOCS - A Streaming Framework for Simplified Deployment, Monitoring, and Optimization of ML Systems in Production | PDF",1789977543,55,[148,152,156,160],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/02a10ed53df6fd099a1f499a8e7965c9.webp",983,1272,{"page_no":26,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/70124b0c5aa771d47a7131f9a3546768.webp",982,1270,{"page_no":30,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/08f6d4bf452dd1b20e4bee83532c2efd.webp",981,1269,{"page_no":33,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d4fb7e38d33993b1496a483ed344fc5f.webp",980,1268]