[{"data":1,"prerenderedAt":255},["ShallowReactive",2],{"breadcrumb-blog-post":3,"resources-index-es":175},{"id":4,"title":5,"author":6,"body":7,"category":160,"date":161,"description":162,"extension":163,"featured":164,"geo":6,"image":165,"manual_override":164,"meta":166,"navigation":167,"path":168,"readTime":169,"schema":6,"section_hashes":6,"seo":170,"sitemap":171,"source_hash":6,"source_locale":6,"stem":172,"tier":173,"tier_1_approved":164,"tier_1_approved_at":6,"tier_1_approved_by":6,"tier_1_deadline":6,"tier_1_reviewer":6,"translated_at":6,"translated_from_hash":6,"translation_model":6,"translation_provider":6,"translation_status":6,"__hash__":174},"blog/blog/2022-02-08-data-pressure.md","Dealing with data-pressure in message-based systems",null,{"type":8,"value":9,"toc":152},"minimark",[10,15,19,22,34,37,41,44,47,50,60,63,66,88,95,106,112,116,119,125,129],[11,12,14],"h2",{"id":13},"what-is-data-pressure","What is data-pressure?",[16,17,18],"p",{},"You hear a lot about data-pressure when it comes to non-stop systems. What is it and why is it so important?",[16,20,21],{},"Pressure in the physical sense describes an imbalance between gas or fluid between two confined compartments. It goes both ways until an equilibrium is reached. If you want to manage it, you usually put a valve between the two.",[16,23,24,25,29,30,33],{},"In data processing systems ",[26,27,28],"strong",{},"data-pressure",", or ",[26,31,32],{},"upstream-pressure"," describes the amount of data which is ready for processing. For file based (batch) solutions this simply describes the amount of files which are waiting to be processed (asynchronous). Processing speed is purely based on the processing power of the downstream actors and is demand based. Data-pressure in batch usually is no threat to system overload because it is implicit. The batch processing system will always only process as much as it can.",[16,35,36],{},"It's a very different story in modern, message-driven, real-time processing environments, however, where data-pressure is explicit because data needs to be processed as it arrives.",[11,38,40],{"id":39},"importance-of-back-pressure-in-non-stop-real-time-systems","Importance of back-pressure in non-stop real-time systems",[16,42,43],{},"Message-driven use-cases usually require that data should be handled in real-time, at all times. Therefore, systems have to be able to scale elastically in order to handle peak loads, or free up unneeded resources during low data-pressure windows.",[16,45,46],{},"There are countless examples of architectures which clog-up when dealing with large data loads. This often results in a vicious-cycle which typically leads to cardiac-arrest of such an architecture. The main conundrum is a missing negative demand-signal (or high data back-pressure-signal) to upstream actors upon which they can react. If there were such a signal, appropriate actions could be taken.",[16,48,49],{},"Such actions could be:",[51,52,53,57],"ul",{},[54,55,56],"li",{},"slowing processing down overall up the data stream, or",[54,58,59],{},"spawning more processing power to handle the added pressure",[16,61,62],{},"Once upstream data-pressure decreases, the counter-measures can be reversed. More data can again be delivered, or previously activated processing power can be decommissioned.",[16,64,65],{},"So to summarize, we have:",[67,68,69,79],"ol",{},[54,70,71,72,75,76,78],{},"a ",[26,73,74],{},"data-signal"," or ",[26,77,32],{}," which signals that data is available for processing, and we have",[54,80,71,81,75,84,87],{},[26,82,83],{},"demand-signal",[26,85,86],{},"back-pressure"," which signals how loaded the downstream actors are, and whether pressure from upstream actors can be relieved on to downstream actors.",[16,89,90],{},[91,92],"img",{"alt":93,"src":94},"Data-pressure Reactivity","/images/blog/2022-02-08/e436ddd5.png",[16,96,97,98,105],{},"Using these signals, the system is able to negotiate an equilibrium between all participants which ensures that processing never stops, but rather slows down (or additional capacity is automatically made available). This problem is well recognized and defined in the ",[99,100,104],"a",{"href":101,"rel":102},"https://www.reactivemanifesto.org/",[103],"nofollow","Reactive Manifesto"," which requires systems to be message-driven, elastic and resilient, and therefore responsive to load. Systems which cater to these requirements are called \"Reactive\".",[16,107,108],{},[91,109],{"alt":110,"src":111},"Reactive Manifesto: Means - Form - Value","/images/blog/2022-02-08/f8cdb1ba.png",[11,113,115],{"id":114},"how-laylineio-handles-it","How layline.io handles it",[16,117,118],{},"It sounds like the solution to the back-pressure challenge is simple. But it's actually hard to solve since all participants in this dance need to be data-pressure aware, both ways. Reactive stream management has solved this problem which is why layline.io takes full advantage it under the hood. It's not for the faint-of-heart, however, and comes with a steep learning and experience curve attached. layline.io shields its users from this complexity in an easy-to-use platform, which provides all production necessary features like UI-driven low-code configurability, one-click deployment, monitoring and much more.",[16,120,121],{},[91,122],{"alt":123,"src":124},"layline.io Project Configuration","/images/blog/2022-02-08/project_workflow_04.webp",[11,126,128],{"id":127},"resources","Resources",[51,130,131,136,145],{},[54,132,133],{},[99,134,104],{"href":101,"rel":135},[103],[54,137,138,139,144],{},"Read more about layline.io ",[99,140,143],{"href":141,"rel":142},"https://layline.io/",[103],"here",".",[54,146,147,148,144],{},"Contact us at ",[99,149,151],{"href":150},"mailto:hello@layline.io","hello@layline.io",{"title":153,"searchDepth":154,"depth":154,"links":155},"",2,[156,157,158,159],{"id":13,"depth":154,"text":14},{"id":39,"depth":154,"text":40},{"id":114,"depth":154,"text":115},{"id":127,"depth":154,"text":128},"Article","2022-02-08","How to deal with data pressure in non-stop message-driven solutions and ensure non-stop uptime under load.","md",false,"/images/blog/2022-02-08/lucas-van-oort-_FjIWDrtfmU-unsplash.webp",{},true,"/blog/2022-02-08-data-pressure","4 min",{"title":5,"description":162},{"loc":168},"blog/2022-02-08-data-pressure","2","x0f2ib8nEa9ZPX713ZxgzY6LLnFGIWWB6pktWteME5k",{"doc":176,"isFallback":164,"effectiveLocale":254},{"title":177,"description":178,"hero":179,"resources":186,"quickLinks":222,"finalCta":246,"body":153},"Recursos","Accede a los recursos de layline.io, incluyendo documentación, artículos de blog e información de contacto. Todo lo que necesitas para tener éxito con layline.io.",{"badge":180,"titlePrefix":183,"titleHighlight":184,"description":185},{"label":177,"icon":181,"accent":182},"i-ph-books","indigo","Todo lo que necesitas para","Tener Éxito","Documentación, tutoriales, artículos de blog y soporte directo. Encuentra los recursos que necesitas para construir potentes flujos de trabajo de datos con layline.io.",{"titlePrefix":187,"titleHighlight":177,"description":188,"documentation":189,"blog":200,"contact":211},"Explora Nuestros","Ya sea que estés comenzando o buscando orientación avanzada, estamos aquí para ayudarte.",{"title":190,"description":191,"href":192,"icon":193,"linkLabel":194,"external":167,"features":195},"Documentación","Guías completas, referencias de API y tutoriales para ayudarte a aprovechar al máximo layline.io.","https://doc.layline.io","i-ph-book-open","Visitar Documentación",[196,197,198,199],"Guías para Comenzar","Referencia de API","Mejores Prácticas","Tutoriales en Video",{"title":201,"description":202,"href":203,"icon":204,"linkLabel":205,"features":206},"Blog","Perspectivas, tutoriales y actualizaciones del equipo de layline.io. Aprende sobre las mejores prácticas de ingeniería de datos.","/resources/blog","i-ph-newspaper","Ir al Blog",[207,208,209,210],"Análisis Técnicos Detallados","Casos de Uso","Actualizaciones de Producto","Perspectivas de la Industria",{"title":212,"description":213,"href":214,"icon":215,"linkLabel":216,"features":217},"Contáctanos","Ponte en contacto con nuestro equipo para consultas de ventas, soporte u oportunidades de asociación.","/resources/contact","i-ph-chat-circle","Ir a Contacto",[218,219,220,221],"Consultas de Ventas","Soporte Técnico","Oportunidades de Asociación","Preguntas Generales",{"title":223,"description":224,"links":225},"Enlaces Rápidos","Ve directamente a lo que necesitas",[226,231,236,241],{"label":227,"to":228,"icon":229,"accent":230},"Comienza Gratis","/get-started","i-ph-download","cyan",{"label":232,"to":233,"icon":234,"accent":235},"Reserva una Demo","/resources/booking","i-ph-calendar","blue",{"label":237,"to":238,"icon":239,"accent":240},"Obtén una Cotización","/editions/quote","i-ph-file-text","purple",{"label":242,"to":243,"icon":244,"accent":245},"Compara Ediciones","/editions/comparison","i-ph-grid-four","emerald",{"title":247,"description":248,"primaryCta":249,"secondaryCta":250},"¿No Encuentras lo que Necesitas?","Nuestro equipo está aquí para ayudarte. Contáctanos y te orientaremos en la dirección correcta.",{"label":212,"to":214,"icon":215},{"label":251,"href":252,"icon":253},"Únete a Discord","https://discord.gg/layline","i-simple-icons-discord","es",1787332398707]