BellaDati IoT Data Collector is implemented in reactive style, which is a new way of building distributed applications taking advantages of modern CPU architectures and using resources more efficiently. Combined with microservices, it provides a perfect flexibility where each of its modules is individually developed, released, deployed, scaled, updated and reloaded. It also infuses the required resilience into the system to avoid failure cascading and keep the system responsive even when facing failures. Last but not least, the asynchronous communication, promoted by its reactive implementation, copes with the interaction challenges, but also the concurrency required to face load variations. BellaDati IoT Data Collector is distributed reactive system, running on the top of the Java Virtual Machine using an asynchronous and non-blocking development model. Its ecosystem are just JAR files used and has four key properties: - Uses asynchronous message-passing
- Is elastic
- Is resilient
- Is responsive
Each of the collector modules, which are forming the BellaDati IoT Data Collector, interact using asynchronous message-passing regardless of whether these modules are co-located or distributed. Each module reacts to the received message by using an asynchronous non-blocking development model. This allows the collector to more effectively share resources by doing work only in response to outside messages. Collector modules are also elastic, meaning they react to increasing load well because of the architecture highly concurrent and distributed. It also takes advantages of multi-core CPUs. Collector modules are also resilient, treating failure as a first-class citizen --- it can face failures, isolate them, and recovers using sophisticated strategies. The final property, responsive, means the collector is real-time and engaging. It continues to provide its service in a timely-fashion even when the system is facing failures or peak of demand. |