<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Paul Perez on Medium]]></title>
        <description><![CDATA[Stories by Paul Perez on Medium]]></description>
        <link>https://medium.com/@paul.perez?source=rss-fa7973a97e7f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Paul Perez on Medium</title>
            <link>https://medium.com/@paul.perez?source=rss-fa7973a97e7f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:08:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@paul.perez/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Integrating IoT Projects]]></title>
            <link>https://medium.com/@paul.perez/integrating-iot-projects-bcac8907e8f2?source=rss-fa7973a97e7f------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcac8907e8f2</guid>
            <category><![CDATA[iot-observability]]></category>
            <category><![CDATA[iotintegration]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[iot-security]]></category>
            <category><![CDATA[integration-architecture]]></category>
            <dc:creator><![CDATA[Paul Perez]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 09:22:15 GMT</pubDate>
            <atom:updated>2026-11-19T09:22:15.498Z</atom:updated>
            <content:encoded><![CDATA[<p>What the Business Specifications Do Not Tell the Integration Architect</p><h3>Introduction</h3><p>In a traditional IT project, applications usually exchange information over infrastructures with relatively similar communication, computing and storage capacities. This does not mean that all these systems are the same. However, the differences are often limited enough that decisions about where to communicate and process information are more a matter of optimisation or cost than of technical feasibility.</p><p>This is not always true for IoT projects. Messages may travel through very different environments, from sensors with limited resources to platforms with substantial capacity. There are also the constraints of the physical world: connections may be interrupted, and devices may operate in conditions that are difficult to control.</p><p>We call this succession of technically different layers the “IoT Millefeuille.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f1xvW6kGZFxFVihHmKd40w.png" /><figcaption>The IoT Millefeuille</figcaption></figure><p>These differences have a direct impact on integration. An exchange that is perfectly possible in one layer may face bandwidth, computing or storage limits in another, to the point where it becomes impossible to implement. This is made more difficult by the fact that business specifications are mainly written to describe the services the business expects. They do not always take into account the limits of the technical environments that will support those services. This is understandable: it is not their main purpose.</p><p>The integration architect therefore faces a particular difficulty. They need to assess whether exchanges and processing operations are feasible across the relevant layers, while the information needed for this assessment may not always be included in the business specifications. A requirement that causes no difficulty in a traditional IT environment may become a major constraint in an IoT project.</p><p>This article proposes a set of questions to help integration architects identify these requirements and, where necessary, ask the business for more precise information. It does not introduce a new approach for designing integration architectures, nor does it define rules for placing communication and processing points. These decisions depend on the architect’s experience and judgement. Our aim is simply to help them gather the information they need to make those decisions, taking into account the specific nature of the IoT Millefeuille.</p><h3>The Role of the Integration Architect</h3><p>To understand the role of the integration architect in the IoT Millefeuille, we first need to distinguish two elements involved in the journey of a message: communication points and processing points. Communication points allow messages to move between layers or between the domains of different partners. They represent a transport capability rather than a specific physical location. Processing points are places where the information being exchanged is transformed, correlated, aggregated or stored.</p><p>Consider a temperature reading sent by a sensor. It travels over a radio network to a server in the cloud, where it is stored. Several communication points are involved along the way. If the server then calculates an hourly average from the readings it has received, that calculation takes place at a processing point. So far, there is nothing unusual: messages are transported, and processing takes place where the necessary resources are available.</p><p>Difficulties arise when a layer does not have enough capacity to support the planned communication or processing. A calculation that is easy to perform on a server may require more resources than a microcontroller can provide. Similarly, a low-bandwidth radio network may not be able to carry all the messages produced by the sensors. Other options then need to be considered, such as aggregating information before transmission or sending only some of the readings, provided the business requirements allow it.</p><p>This is where the location of communication and processing points becomes important. The question is no longer simply which of several technically possible solutions to choose. Sometimes the challenge is to make an exchange possible at all, despite the limits of the layers it must cross. A processing function may need to be moved, a communication path reorganised, or an intermediate mechanism added.</p><p>These decisions belong to the integration architect. Their responsibility covers exchanges between partners, from the moment messages are sent until they are received. It does not include the internal design of devices or the definition of the business process itself. To decide where communication and processing points should be placed, the architect needs to know what the different environments can support and what the business expects from the exchanges. Without both, it is difficult to tell the difference between an architectural choice and a real limit on feasibility.</p><h3>The Three Characteristics</h3><p>To examine integration specifications in the context of the IoT Millefeuille, we have chosen three characteristics: the criticality of exchanges and service requirements, the volume of exchanges and processing, and security.</p><p>This is our choice. We believe these three characteristics are particularly useful when dealing with the differences between the layers of the IoT Millefeuille, but we do not claim that they cover everything. Other characteristics may be relevant, depending on the project and the architect’s experience.</p><p>They allow us to look at the same specification from different angles. The aim is to identify information that may seem secondary in a traditional IT environment but can become essential when messages cross layers with very different capabilities.</p><h3>Criticality of Exchanges and Service Requirements</h3><p>Not all messages have the same importance to the business. Losing a temperature reading used for statistics does not necessarily have the same consequences as losing an alarm that warns of a dangerous situation. These consequences are what help us assess the criticality of an exchange.</p><p>But knowing how critical an exchange is does not tell us everything. We also need to understand the guarantees expected by the business. How much delay is acceptable? What happens if a message is lost or received more than once? Does the order of messages matter? When a maximum delay is specified, we also need to know exactly where that delay starts and ends.</p><p>These questions are particularly important in IoT, where communication can be intermittent and different layers cannot always provide the same guarantees. Can a temporary interruption be accepted? Should readings be kept during the interruption and sent when the connection returns? Do some functions need to continue working locally?</p><p>We may also need to examine any validation or consistency checks required by the business. Depending on what these checks do and how critical they are, their location in the Millefeuille can have a significant effect on whether the exchanges are feasible.</p><h3>Volume of Exchanges and Processing</h3><p>In a traditional IT environment, message size or sending frequency is not always a major constraint. In IoT, a few extra bytes multiplied by hundreds or thousands of sensors can make a real difference when the messages must travel over a low-bandwidth network.</p><p>The number of devices alone is therefore not enough to assess traffic volume. We also need to look at message size, frequency and how messages are distributed over time. Traffic that is manageable during normal operation may become a problem when an incident triggers many alarms at once, or when readings collected during an outage all have to be sent afterwards.</p><p>The system may also grow. How many additional sensors might be installed? Could the frequency of exchanges change?</p><p>Volume is not only about communication. Transforming, aggregating, correlating and storing data also require resources. An operation that is easy on a central server may be difficult on a device with very little memory or computing power.</p><h3>Security of Exchanges</h3><p>A temperature reading sent to a monitoring system and a command that can change how a device operates do not carry the same risks. The protection needed therefore depends on the type of message, its destination and the possible consequences of unauthorised use.</p><p>When discussing the security of exchanges, we usually think first about protecting messages: partner authentication, data integrity and confidentiality, access control, and protection against message replay. These mechanisms are essential, but implementing them can be difficult in some layers of the IoT Millefeuille. Not all devices have the same resources or support the same security mechanisms.</p><p>Another aspect is worth considering: the security of message content. A message may come from a properly authenticated partner, reach its destination without being altered, and still contain suspicious information. In other words, a properly protected message does not necessarily carry reliable information.</p><p>The cyberattacks that affected refrigeration systems in European supermarkets in October and November 2026 provide an example. Attackers remotely changed the settings of refrigeration controllers, disrupting operations in hundreds of stores and causing the loss of goods. These incidents first highlight the need to protect access to equipment. But they also show the value of monitoring commands and operational data: unusual changes to settings or abnormal temperature trends could have triggered alerts, although there is no evidence that such monitoring would have prevented the attacks.</p><p>This is what we mean here by observability of message content: having the information needed to identify anomalies in messages, in their sequence or in how they change over time. This may involve checking whether certain values are consistent, comparing them with previous readings, or examining information from several devices together. Depending on the requirements, these checks may use simple rules or more advanced analysis, including time-series analysis. An anomaly does not necessarily indicate an attack; it may also reveal a device failure or an error.</p><p>For the integration architect, this raises additional questions. What information needs to be monitored? Is it necessary to keep a history of messages? Should data be analysed separately or compared with information from other devices? How quickly must an anomaly be detected, and what response is expected?</p><p>The answers may influence where communication and processing points are placed. Local analysis may be limited by the resources available, while centralised analysis may require more communication and storage capacity. The consequences of interruptions between layers must also be considered.</p><p>This analysis should be carried out in collaboration with security architects. The integration architect is not responsible for defining security policies or detection mechanisms, but for understanding the requirements they create and ensuring that the necessary exchanges and processing can be supported across the different layers of the IoT Millefeuille.</p><h3>Distinct Characteristics</h3><p>These three characteristics let us examine the same specification from different angles. A requirement to transmit sensor readings, for example, raises questions about the expected level of service, the amount of data to be carried and the protection that data needs.</p><p>Looking at each characteristic separately helps prevent one aspect of an exchange from hiding another. The information collected can then be compared with the capabilities of the IoT Millefeuille layers, using the question grid presented in the next chapter.</p><h3>Using the Question Grid</h3><p>Our question grid is based on a three-dimensional model: integration specifications derived from business needs, the layers of the IoT Millefeuille, and the three characteristics introduced in the previous chapter: criticality, volume and security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fyifZjc8GYUwzFlR7NiK7A.png" /><figcaption>The question grid</figcaption></figure><p>To make this model easier to use, we represent it as a series of two-dimensional tables, one for each integration specification. The IoT Millefeuille layers appear in the rows, and the three characteristics in the columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*yOtLSpsGJV1dnl-s66s7ew.png" /></figure><p>Each table makes it possible to examine one integration specification across the relevant layers and to identify the questions raised by their capabilities and limitations.</p><p>To illustrate this approach, we will use selected specifications from an environmental monitoring project at the UK’s <em>The National Archives</em>. Its tender documents are publicly available.</p><h3>Identifying the IoT Millefeuille Layers</h3><p>Before using the question grid, we need to identify the IoT Millefeuille layers involved in the exchanges. How they are divided depends on the project and on the technical environments through which the messages will travel.</p><p>Take the environmental monitoring project at The National Archives. For our example, we can identify four layers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*TRWSxUFgZ6JVXrnx5AlJIg.png" /></figure><p>This is a deliberately simplified division. It does not claim to show the actual architecture of The National Archives. It simply helps us distinguish the environments whose capabilities must be considered in our analysis.</p><h3>Identifying Integration Specifications</h3><p>Once the IoT Millefeuille layers have been identified, we can examine the business specifications that concern exchanges between partners and the processing performed during those exchanges.</p><p>The National Archives project plans to install around 400 environmental sensors that use a LoRaWAN network to send their readings. LoRaWAN is a radio communication technology designed for connected devices. It allows low-power equipment to send information over relatively long distances, but it has limits in terms of bandwidth and transmission capacity. These limits need to be considered when designing the integration architecture.</p><p>Of the project’s specifications, we will focus on the requirement to collect, transmit and record readings at five-minute intervals, as clarified in the tender questions and answers (see Appendix, document 2).</p><p>This specification covers the full journey of the readings, from the sensors to the systems that receive and store them. Its analysis must therefore take into account the communication and processing capabilities of the relevant layers.</p><h3>Applying the Question Grid</h3><p>We can now examine the selected specification by combining the four layers identified above with our three characteristics.</p><p>Specification: collect, transmit and record readings every five minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*YMnXxlrl4ty_18qUyv-0Pg.png" /></figure><p>For one specification, this grid brings together the questions that may influence integration choices. Some answers may already be in the tender documents or the technical specifications of the equipment. Others may require clarification from the people involved.</p><p>The grid does not decide where communication and processing points should be placed. It is up to the integration architect, using their knowledge of the environments and the information collected, to assess the technical constraints and the options available.</p><h3>Examples of Possible Architectural Choices</h3><p>To show how the grid might be used, let us take three of its cells and consider different possible answers. The situations and solutions below are deliberately theoretical and simplified. They are neither an analysis of The National Archives’ architecture nor recommendations for that project. They simply show how the information collected can guide the integration architect’s thinking.</p><h4>LoRaWAN network — Volume</h4><p>Business requirement: Readings from the 400 sensors must be transmitted every five minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*KE4t0ec7sAC4R0LFQ1qixw.png" /></figure><h4>Environmental sensors — Criticality and service requirements</h4><p>Business requirement (illustrative assumption): The business needs access to environmental readings after a temporary communication outage, subject to the agreed data retention requirements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*fc7tj-LhxiV6ssguMTZMpw.png" /></figure><h4>Data collection platform and destination systems — Security</h4><p>Business requirement (illustrative assumption): Environmental readings must be made available to destination systems in line with the security and access permissions defined for the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*2mJmp-iaN917pQoNaYfNXg.png" /></figure><p>These examples are not intended to show what an architect should decide in each situation. They simply illustrate how different answers to the same question may lead to different architectural options. The final choice will always depend on the architect’s knowledge of the environments, the project’s constraints and the trade-offs they consider appropriate.</p><h3>Conclusion</h3><p>The purpose of this article was not to propose a new approach for designing IoT integration architectures, still less a set of rules for deciding where communication and processing points should be placed. These choices remain the responsibility of the integration architect, who draws on experience, knowledge of the technical environments and the constraints of each project.</p><p>Instead, we have tried to offer a way to examine business specifications while taking into account the particular difficulties of the IoT Millefeuille. Differences in capacity between layers may make some requirements difficult, or even impossible, to meet when they would not necessarily cause problems in a traditional IT environment.</p><p>Our question grid is intended to highlight the information architects need in order to assess these constraints. It is not exhaustive: the three characteristics reflect our choice, and others can be added depending on the project.</p><p>The theoretical situations in the previous chapter show how different answers may lead to very different architectural options. The grid does not provide any of these solutions. It simply helps the architect prepare their work and, where necessary, have a more precise discussion with the business.</p><p>That, in the end, is the aim of this approach: not to tell architects how to design an architecture, but to help them obtain the information they need to do so.</p><h3>Documentation</h3><p>The example in this article is based on two publicly available documents relating to the environmental monitoring project at The National Archives (UK, 2024) and refrigeration attacks:</p><ol><li>Tender specification — Environmental Monitoring System <a href="https://www.contractsfinder.service.gov.uk/Notice/Attachment/32820408-47dc-482a-9b6b-08960b79a4de">https://www.contractsfinder.service.gov.uk/Notice/Attachment/32820408-47dc-482a-9b6b-08960b79a4de</a></li><li>Tender questions and answers <a href="https://www.contractsfinder.service.gov.uk/Notice/Attachment/238cdcf7-c5f1-4853-a2e0-48d62cf23966">https://www.contractsfinder.service.gov.uk/Notice/Attachment/238cdcf7-c5f1-4853-a2e0-48d62cf23966</a></li><li>Refrigeration Controller Hack Spoils Food Across European Supermarkets** (SecurityWeek, 2026), on the attacks on French supermarkets in October 2026 <a href="https://www.securityweek.com/refrigeration-controller-hack-spoils-food-across-european-supermarkets/">https://www.securityweek.com/refrigeration-controller-hack-spoils-food-across-european-supermarkets/</a></li><li>Hackers disrupt refrigeration systems at European supermarkets (BleepingComputer, 2 November 2026), on the second wave of attacks in several European countries <a href="https://www.bleepingcomputer.com/news/security/hackers-disrupt-refrigeration-systems-at-european-supermarkets/">https://www.bleepingcomputer.com/news/security/hackers-disrupt-refrigeration-systems-at-european-supermarkets/</a></li></ol><h3>Where the Term “IoT Millefeuille” Comes From</h3><p>A <em>millefeuille</em> is a French pastry made of several layers of puff pastry separated by pastry cream.</p><p>We use this image to describe the technical layers that messages cross in an IoT environment. Unlike the layers of a real millefeuille, those in an IoT architecture can have very different characteristics and capacities.</p><h3>About the Author</h3><p>Paul Perez is a solution and integration architect with several decades of experience in systems integration. He served as Principal Architect of OpenESB, an open-source integration project, for ten years. He also contributes to OurExchanges project, a post-quantum IoT middleware, and has been involved in IoT initiatives, including NEOM in Saudi Arabia.</p><p>He currently works as a solution architect for a major European retail group.</p><p>Contact: <a href="/service/mailto:paul.perez@pymma.com">paul.perez@pymma.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcac8907e8f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apache Geode: capabilities and regions]]></title>
            <link>https://medium.com/@paul.perez/apache-geode-capabilities-and-regions-7c2f8e962324?source=rss-fa7973a97e7f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c2f8e962324</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[high-scalability]]></category>
            <category><![CDATA[cache-memory]]></category>
            <category><![CDATA[distributed-computing]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Paul Perez]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 17:20:33 GMT</pubDate>
            <atom:updated>2026-01-20T17:20:33.409Z</atom:updated>
            <content:encoded><![CDATA[<h3>Architect’s view of a product</h3><p>The way an architect (solution, integration, etc.) discovers a product is often different from that of other IT roles. While some people focus first on technical aspects such as development or deployment, an architect mainly tries to understand what capabilities the product provides. The analysis work then consists in identifying how, and to what extent, these capabilities can help define a coherent architecture that can meet specific constraints such as availability, data consistency, performance, scalability, or security.</p><p>With this approach in mind, this article aims to present the main capabilities of Apache Geode and to provide guidance to understand what Geode can bring to architectures that operate under strong constraints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hujMvaJ96wQ_zDZXJ2rt4A.png" /></figure><h3>Geode: a legacy built for performance</h3><p>Apache Geode is a reference solution in the field of distributed systems. Originating from GemFire in the early 2000s, it benefits from more than twenty years of production feedback in critical environments. This long history gives it a level of robustness that is rare, proven in demanding sectors such as finance, transport, and logistics.</p><p>Geode was designed to address complex scalability challenges. It targets distributed architectures where ultra-fast data access, consistency, and high availability are mandatory, and where traditional solutions struggle to guarantee all these requirements at the same time.</p><p>Despite its strong technical qualities, the evolution of the product went through a period of slowdown due to poor management decisions in the past. However, its status as a Top-Level project within the Apache Foundation has preserved a neutral and sustainable development framework.</p><p>The recent release of Apache Geode 2.0 (late 2025 / early 2026) marks an important turning point. This version significantly modernises the project, through its alignment with current Java standards. This context makes a renewed look at Geode relevant today and justifies presenting its key capabilities from a strictly architectural perspective.</p><h3>What are Geode’s main capabilities?</h3><p>Apache Geode makes it possible to share and synchronise data across a very large number of distributed components, while ensuring that any change is consistent and immediately visible to all, with very high performance.</p><p>Beyond simple data access, Geode also allows these changes to be propagated as events, in order to trigger processing, analysis, or workflows in highly reactive distributed architectures.</p><h3>Application examples: data in action</h3><p>To illustrate this approach in a concrete way, here are three use cases where the ability to share consistent, reactive data and to generate events on updates becomes a strategic advantage.</p><h3>Finance and risk management</h3><p>An update to a price, a position, or a critical threshold generates an event that can immediately trigger controls or alerts. This immediate reaction happens without consumer systems needing to periodically query a central database, while still ensuring that the information remains consistent and that related events are propagated across the entire system.</p><h3>Transport and rail traffic</h3><p>An update to a train’s status (delay, incident, platform change) generates events that are propagated in real time to many components: passenger information, supervision, planning. Once the event is received, each component has immediate access to updated and consistent data, allowing it to act or refresh its state without ambiguity. This event-driven propagation is continuous and consistent, without relying on polling mechanisms or batch synchronisation.</p><h3>Logistics and supply chain</h3><p>A change in stock level or order status leads to the emission of business events that can be immediately used by all systems involved (preparation, transport, invoicing). The architecture is based on shared data whose changes trigger events, enabling real-time operational decisions, rather than relying on periodic consolidation mechanisms.</p><h3>The Regions: the foundation of shared data</h3><p>Apache Geode is built on two fundamental capabilities that structure its entire model: distributed data sharing and event management. The first one is the foundation of the system and is based on the concept of a Region, while the second makes this data active and reactive within the architecture. Event management will be covered in more detail in the following articles.</p><p>In Apache Geode, a Region is the basic unit of data storage. Far more than a simple storage space, it makes it possible to group data that share the same business constraints.</p><p>For an architect, defining a Region means setting the rules for a specific set of data:</p><ul><li>Behaviour: what level of consistency is required? What is the tolerance to failures or delays?</li><li>Requirements: what are the performance, availability, and resilience constraints?</li></ul><p>In short, a Region is not created to meet a purely technical constraint, but to isolate and govern data that have the same processing needs. This choice makes it possible to apply, in a uniform way, distribution, replication, and event management strategies that are perfectly adapted to the processes the architecture must support.</p><h3>Why define multiple Regions?</h3><p>In a distributed architecture, not all data have the same business importance or the same processing requirements. Defining multiple Regions makes it possible to isolate sets of data and apply configuration strategies adapted to their role.</p><p>With Geode, it is therefore possible to configure differently:</p><ul><li>Critical Regions (e.g. balances, financial positions, risk thresholds). Here, strong consistency is prioritised. Any divergence, even temporary, is excluded in order to guarantee that every component accesses the same truth at the same time.</li><li>Operational Regions (e.g. train status, order status). In this case, availability comes first. A slight update latency is acceptable, as long as the information quickly converges across all consumers.</li><li>Observation Regions (e.g. metrics, logs, statistics). Here, raw performance and throughput are prioritised. Occasional data loss is acceptable if it helps reduce control and synchronisation mechanisms.</li></ul><p>The main benefit is that, where a traditional database often imposes a uniform behaviour across all its tables, Apache Geode allows fine-grained tuning (consistency, replication, persistence) at the level of each Region. This avoids applying costly mechanisms to secondary data, while maximising the protection of critical data.</p><p>Geode defines two main types of regions: “<strong>Partitioned</strong>” regions and “<strong>Replicated</strong>” regions.</p><h3>Partitioned Region: prioritising horizontal scalability</h3><p>A partitioned Region is split into several logical units distributed across Apache Geode instances, and each Geode instance manages only a portion of the whole. This naturally distributes both memory load and data access.</p><p>From the application point of view, this organisation is invisible. The Region is seen as a single data space, while internally Geode orchestrates the distribution of its segments across the different instances.</p><p>Imagine a partitioned region deployed on two instances, each with 30 GB of memory. The total capacity of the region is 60 GB. If data volume or required throughput increases, new instances can simply be added. By moving to five servers, the region is automatically redistributed, and its capacity grows to 150 GB, without any change to the application architecture.</p><p>This mechanism supports the growth of regions in a progressive way. Scaling is achieved without revisiting the initial design choices, simply by adding physical resources.</p><p>There is, however, a structural trade-off. Since each instance holds only part of the region, some accesses may involve internal network exchanges between servers. Similarly, resilience to failures relies on redundancy mechanisms (copies of segments) managed by Geode.</p><p>The positioning is therefore clear: a partitioned region prioritises overall capacity and scalability. It is ideal for large and dynamic datasets, such as:</p><ul><li>Financial positions or accounts.</li><li>Large-scale user sessions.</li><li>Operational states (ongoing transactions, active processes), where volume and update frequency require load distribution.</li></ul><p>This need for scale and distribution explains the existence of a complementary model: replicated Regions, which make the opposite trade-off by prioritising immediate local access.</p><h3>Replicated Region: prioritising locality and simplicity</h3><p>In contrast to the partitioned model, a replicated Region is fully present on every Apache Geode instance participating in the Region. Each instance holds a complete and identical copy of the entire dataset.</p><p>For an architect, the main benefit is immediate: the data is always local. It is always available on the instance that processes it. An application component can therefore read information directly from memory, without triggering any network exchange to fetch missing data from another instance. Read response times are optimal and fully predictable.</p><p>This model is particularly well suited to heavily accessed reference data, such as price lists, product catalogues, or system configurations. These data sets are relatively stable, but essential to the correct functioning of processes, and must remain available at all times.</p><p>This approach does, however, have clear structural limits.</p><p>The first concerns capacity: the maximum size of the Region is constrained by the memory capacity of each instance. Unlike partitioning, adding instances does not increase overall storage capacity; it only multiplies copies of the same data.</p><p>The second limit concerns “writes”. When data is modified on one instance, Geode must propagate this update to all other instances to maintain consistency. As the number of instances grows, the synchronisation cost associated with writes becomes significant. This model is therefore less suitable for large volumes of data or for data that changes very frequently.</p><p>Choosing a replicated Region is thus a clear trade-off. Availability and fast data access are prioritised, at the cost of limited capacity and higher overhead during updates.</p><p>In summary, where the partitioned Region is the tool for scalability and capacity, the replicated Region is the tool for resilience and direct access to data that is essential to process execution.</p><h3>Replication strategies: ensuring partitioned region high availability</h3><p>In a distributed system, the question is not whether an instance will fail, but when. A robust architecture must therefore treat failure as a normal operating condition. In Apache Geode, service continuity relies on controlled data duplication, using different mechanisms depending on the type of region.</p><h3>Native resilience of replicated Regions</h3><p>A replicated Region is, by design, highly available. Each instance that is a member of the Region holds a complete and identical copy of the data. The loss of an instance therefore causes no functional interruption: as long as at least one instance remains active, the data is still accessible.</p><p>This model provides strong operational safety and very simple read access. It is particularly well suited to data that is critical to the system, must remain permanently available, and whose volume is compatible with full replication.</p><h3>Controlled redundancy of partitioned Regions</h3><p>For partitioned Regions, high availability is not implicit; it is the result of an explicit design choice. Since data is distributed across instances, Geode allows a redundancy level to be defined in order to avoid any loss of access in the event of a failure.</p><p>The architect chooses the number of copies maintained for each piece of data. When an instance becomes unavailable, another instance holding a copy automatically takes over, in a way that is transparent to consuming components. The system continues to operate without interruption or reconfiguration.</p><p>This approach offers a high degree of flexibility. It makes it possible to increase the level of protection for sensitive data, or to limit it for more volatile data, in order to optimise memory usage and internal network exchanges. Resilience thus becomes an adjustable parameter, directly linked to the business importance of the data and to its volume.</p><h3>Architectural choice</h3><p>In both models, the objective is the same: to eliminate single points of failure and guarantee service continuity. The difference lies in the trade-off that is chosen.</p><p>Replication prioritises simplicity and immediate availability, at the cost of fully duplicating data on each instance. Partitioning, on the other hand, allows the cost of high availability to be finely controlled, by adjusting the level of redundancy as closely as possible to business needs.</p><p>Apache Geode therefore provides architects with a clear framework for designing architectures that can absorb failures without sacrificing performance or resource control.</p><h3>Conclusion: Geode as an architectural building block</h3><p>Through these first elements, Apache Geode appears above all as an architectural building block dedicated to large-scale shared data management. Its model is based on simple concepts — Regions, partitioning, replication, redundancy — but these combine to offer architects a particularly rich set of choices.</p><p>Geode does not impose a single model. It allows data with very different requirements to coexist within the same system, by finely adjusting their distribution, availability, and resilience. This ability to govern data according to its business role is a major differentiator compared to more uniform solutions. Designed from the outset to support highly demanding distributed applications in terms of performance, low latency, scalability, and continuous availability, Geode is used in contexts where data volumes and access rates grow significantly as scale increases.</p><p>This positioning explains why Geode has historically been used in critical production environments, with requirements for constant performance and 24×7 availability, for example in finance or logistics, where more traditional solutions struggle to combine speed, scalability, and availability.</p><p>The mechanisms presented here form the core of the shared data model. They provide the foundation for another essential dimension of Geode: event management and distributed reactivity. This second “leg”, which makes it possible to build event-driven architectures where data changes are immediately exploited by third-party systems or business processing, will be the subject of the next articles in this series.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c2f8e962324" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The emergence of the 4th generation of integration platforms]]></title>
            <link>https://medium.com/@paul.perez/the-emergence-of-the-4th-generation-of-integration-platforms-b063af90f1a?source=rss-fa7973a97e7f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b063af90f1a</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[mqtt]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[intégration]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Paul Perez]]></dc:creator>
            <pubDate>Wed, 22 Feb 2023 14:02:27 GMT</pubDate>
            <atom:updated>2023-02-22T14:03:06.106Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Twe5tJuh7j58wsLJr02u2g.png" /><figcaption>Fourth generation of integration platform with the Post-Office design pattern (Pymma)</figcaption></figure><h3>Introduction</h3><p>Integration platforms have evolved over time. With each generation, new technologies and approaches have been introduced to address the complexity of integrating heterogeneous systems. In the last three decades, the uniformity of the system IT has disappeared and a single technology, language, environment and localisation in a project is a thing of the past.</p><p>On the other hand, the diversity and number of interactions between heterogeneous systems have increased dramatically. Under the influence of the internet, the cloud and now the IoT, the importance of integration has increased and will become the largest budget item in IT projects by 2020. Almost every decade corresponds to a generation of integration platforms.</p><h3>The first generation</h3><p>The first generation of integration platforms was made possible by the standardisation of exchange protocols such as CORBA. CORBA (Common Object Request Broker Architecture) was developed in the early 1990s by a consortium of software vendors and users that aimed to create open standards for distributed computing. At its peak in the late 1990s and early 2000s, CORBA was a popular middleware technology in a variety of industries, including finance, telecommunications, and government. However, as newer technologies such as web services and RESTful APIs emerged, CORBA became less popular due to its complexity and the effort required to maintain its infrastructure.</p><h3>Second generation</h3><p>In the 2000s, the second generation of integration platforms triggered the emergence of more centralised integration platforms such as EAIs and ESBs around the concept of bus and endpoints. The second generation is organised around an integration platform where messaging routings to service endpoints are defined within the platform. Each service connects to the platform and does not need to connect to all partners using that service. The effort for developers is focused on defining the routing process. A typical example of developer concerns from this period is summarised in the famous book Enterprise Integration Patterns. Integration products like MuleSoft ESB or WSO2 are typically from the second generation.</p><h3>Third generation</h3><p>The third generation looks like the second generation, with the difference that the routing process targets a service definition rather than an implementation endpoint. This difference is at the design level fundamental and provides an additional degree of freedom in the choice of service implementation (OpenESB, Oracle SOA Suite).</p><h3>« Smart Endpoints, Dumb Pipes » disillusionment</h3><p>For reasons too long to go into, the second and third generation of integration platforms have been severely challenged by the “Smart Endpoints, Dumb Pipes” principle established by Martin Fowler in 2004. This principle states that in a distributed environment, a service must also be responsible for its interoperability with other partner services and that communication and connectivity between these services must take place via dump pipes. While this principle offers some flexibility initially, it has major disadvantages as the number of partners increases. Managing the connections between partners becomes a burden on the services (smart endpoints). Service developers may not have the skills, budget or time to develop efficient communication systems between partners.</p><p>Despite the fact that the slogan “Smart Endpoints and Dump Pipe” is still propagated by architects (who are somewhat overwhelmed with the new environments), new integration projects are reconsidering the need for an integration platform to manage the connections between services.</p><p>This realisation does not absolve integration architects from considering how delicate the management of connections between partners is. Contrary to Martin Fowler’s adage, we opt for the “smart endpoint and smart pipe” formula on the premise that the goal of pipes is not to interfere with the business part of integration but to focus on the automated management of connections between partners. The fourth generation of integration platforms must respond to this requirement.</p><h3>Fourth generation</h3><p>The fourth-generation integration platform aims to automatically manage the connections between partners and free service developers from this worry. This constraint is even more true when we think of the integration of the 20 trillion devices that need to be connected to Data mesh and other back-office applications.</p><blockquote><em>Free the developer from the connection burden</em></blockquote><p>The basic idea of the fourth generation is that if the main effort is to define the routing of messages between partners, we should create a communication channel for every interaction between partners. I repeat so that you read correctly: We want to create a communication channel for every exchange (publication and consummation of services) between two partners.</p><p>The first reaction that comes to your mind is how many connections are needed when the number of partners connected to a platform is large. And if the connection between the partners takes as much time and resources as the connection to my web server, then this solution is quickly doomed.</p><p>This instinctive thinking is strongly influenced by inappropriate ideas. Take the example of a platform to which 5000 services and devices are connected. The formula for determining the maximum number of connections, which is (N*(N-1)/2), gives about 12.5 million connections to manage. However, this figure is theoretical and statistics show that the formula for N partners is generally MxN, where m is the average number of services published or consumed per partner. This number is usually less than 5 and on average close to 2, especially when IoT devices are considered. This limits the number of connections to between 10K and 25K.</p><p>This number is important when you refer to technologies such as HTTP, but it becomes the norm when you use protocols or tools such as MQTT or NATS.io. Creating communication channels with these tools is extremely light and efficient and hundreds of thousands or even millions of channels can be created. Recently, Hive MQ (2023 Q1) published a benchmark where 200 million connections were created on an MQTT server. Nats.io offers the same kind of performance.</p><p>The other important idea that defines the fourth generation of integration platforms is that every message published on the integration platform must be associated with a service name. This makes it easy for the platform to send the message through the channel associated with the service. The platform must enable the automatic creation of channels with properties compatible with the business needs of the service. (MEP, QoS, HA…)</p><p>This property completely frees the developers of the service from managing the routing, as they must create the “Service” property in the message header.</p><h3>Conclusion</h3><p>We have seen that the tendency to consider endpoints as smart and pipes as dumb does not solve the integration problems when the number of partners increases. On the other hand, using an integration platform to establish connections between partners or to define the message routing process required a significant effort for the projects. The goal of the fourth generation is to drastically simplify this effort by transferring this difficulty to the processes for automatically creating communication channels between partners. In a future article, I will present an implementation of this fourth-generation integration platform using the post-office integration pattern.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PeYUeHrcx4dIoVGlUhKHdA.png" /><figcaption>The post-office design pattern (pymma)</figcaption></figure><p>Do not hesitate to let me know what you think in the comments and if you would like to implement this kind of architecture for your projects, do not hesitate to contact me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b063af90f1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>