Changes for page H2 Database, Function
Last modified by Danniar Firdausy on 2024/09/16 15:49
From version 26.1
edited by marijn
on 2022/06/08 15:21
on 2022/06/08 15:21
Change comment:
Renamed from xwiki:Migrated Pages.H2 Database, Function
To version 36.9
edited by Danniar Firdausy
on 2024/09/16 15:49
on 2024/09/16 15:49
Change comment:
There is no comment for this version
Summary
-
Page properties (5 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +H2 Database, Function - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. marijn1 +XWiki.dfirdausy - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Content
-
... ... @@ -1,20 +1,10 @@ 1 -{{html wiki="true"}} 2 -<div class="ez-academy"> 3 - <div class="ez-academy_body"> 1 +{{container}} 2 +{{container layoutStyle="columns"}} 3 +((( 4 +When you create a new entry in eMagiz, you might notice that the H2 database component is automatically included. This can sometimes lead to confusion about its role and purpose. In this microlearning, we will clarify what the H2 database does and why it's an essential part of every new entry. We will break down its functions, including how it temporarily stores data, acts as a bridge between the entry and the queue, and helps manage data flow. 4 4 5 - <divclass="doc">6 +Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 6 6 7 - 8 - 9 -= H2 Database, Function = 10 - 11 -When you utilize the messaging platform you are bound to see this component automatically appear in all your entries when you create those entries for the first time. However, we see that there is quite some confusion on what the function of this component is in the entry. In this microlearning, we will try our best to explain that function to you. In another microlearning, further down the road, we will discuss other applications of the H2 database. 12 - 13 -Should you have any questions, please contact academy@emagiz.com. 14 - 15 -* Last update: July 29th, 2021 16 -* Required reading time: 5 minutes 17 - 18 18 == 1. Prerequisites == 19 19 20 20 * Basic knowledge of the eMagiz platform ... ... @@ -23,37 +23,25 @@ 23 23 24 24 This microlearning centers on the function of the H2 Database. 25 25 26 -With H2 Database we mean: A database structured that can be created and used with the help of eMagiz components 16 +* With H2 Database we mean: A database structured that can be created and used with the help of eMagiz components. 27 27 28 -The focal point of this microlearning will be to figure out why the H2 database is part of any auto-generated entry. 18 +The focal point of this microlearning will be to figure out why the H2 database is part of any auto-generated entry. The key aspects are: 19 + * H2 Database temporarily stores data. 20 + * Acts as a bridge between the entry (where data arrives or is retrieved) and the first queue (the onramp). 21 + * Holds data in case the queue (the onramp) cannot be reached. 22 + * Smoothen the amount of data that is transported from the connector to the container runtime as it periodically checks for new data. 29 29 30 -* The key aspects are: 31 - * H2 Database temporarily stores data 32 - * Acts as a bridge between the entry (where data arrives or is retrieved) and the first queue (the onramp) 33 - * Holds data in case the queue (the onramp) cannot be reached 34 - * Smoothen the amount of data that is transported from the connector to the container runtime as it periodically checks for new data 35 - 36 - 37 - 38 38 == 3. H2 Database, Function == 39 39 40 -When you utilize the messaging platform you are bound to see this component automatically appear in all your entries when you create those entries for the first time. However, we see that there is quite some confusion on what the function of this component is in the entry. In this microlearning, we will try our best to explain that function to you. In another microlearning, further down the road, we will discuss other applications of the H2 database. 26 +When you utilize the messaging platform you are bound to see this component automatically appear in all your entries when you create those entries for the first time. However, we see that there is quite some confusion on what the function of this component is in the entry. In this microlearning, we will try our best to explain that function to you. In another microlearning, further down the road, we will discuss [[other applications>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-h2-database-for-other-applications||target="blank"]] of the H2 database. 41 41 42 -The focal point of this microlearning will be to figure out why the H2 database is part of any auto-generated entry. 43 - 44 -* The key aspects are: 45 - * H2 Database temporarily stores data 46 - * Acts as a bridge between the entry (where data arrives or is retrieved) and the first queue (the onramp) 47 - * Holds data in case the queue (the onramp) cannot be reached 48 - * Smoothen the amount of data that is transported from the connector to the container runtime as it periodically checks for new data 49 - 50 50 As you probably noticed by now is that every time you create a new entry in eMagiz some components are automatically generated for you. 51 51 52 - <p align="center">[[image:intermediate-solution-architecture-function-of-h2-database--auto-generation-entry.png||]]</p>30 +[[image:Main.Images.Microlearning.WebHome@intermediate-solution-architecture-function-of-h2-database--auto-generation-entry.png]] 53 53 54 54 A subset of these components creates the desired H2 database including structure to receive and process messages. Those components are highlighted in the picture below. 55 55 56 - <p align="center">[[image:intermediate-solution-architecture-function-of-h2-database--auto-generation-entry-h2-components.png||]]</p>34 +[[image:Main.Images.Microlearning.WebHome@intermediate-solution-architecture-function-of-h2-database--auto-generation-entry-h2-components.png]] 57 57 58 58 The support objects ensure that the H2 database is created and that the data in it is encrypted. Furthermore, they make sure that the database is stored in the proper location and has the correct structure. All of this is nothing you as a user should worry about. Those support objects are created with the best possible settings. 59 59 ... ... @@ -61,39 +61,32 @@ 61 61 62 62 Furthermore, this message bridge is linked to a support object (transaction manager). This configuration allows the poller action to be part of the transaction and therefore gives the ability to perform a rollback in case of error. This is crucial when you want to guarantee message delivery. If you would not have something like this and for whatever reason, the connection between the entry and the queue (the onramp) is gone messages will be lost. 63 63 64 - <p align="center">[[image:intermediate-solution-architecture-function-of-h2-database--auto-generation-entry-h2-transaction-manager.png||]]</p>42 +[[image:Main.Images.Microlearning.WebHome@intermediate-solution-architecture-function-of-h2-database--auto-generation-entry-h2-transaction-manager.png]] 65 65 66 66 So what eMagiz gives you is a standardized database structure that temporarily stores messages (in case of connection issues). This is to ensure guaranteed delivery of the incoming message on the first queue in eMagiz (the onramp). As a bonus, the component helps you to smooth out the messages that are placed on the queue for further processing. With the help of this component, you prevent that when an external system offers 1000 messages within seconds all 1000 will end up on the queue at the same time. If that would happen you could run the risk of overloading your queue leading to larger issues (potentially even an 'out of memory' of the container). 67 67 68 -Hopefully, this microlearning will give you some context on why the H2 database is automatically generated by eMagiz in every entry and plays a crucial role in holding up to the promise of guaranteeddeliveryofmessageswithin the platform.46 +Hopefully, this microlearning will give you some context on why the H2 database is automatically generated by eMagiz in every entry and plays a crucial role in holding up to the promise of delivering messages. 69 69 70 -== ===Practice =====48 +== 4. Key takeaways == 71 71 72 -== 4. Assignment == 50 +* The H2 Database temporarily stores incoming data to ensure it is not lost if there are issues with the connection to the queue (the onramp). 51 +* The H2 Database acts as an intermediary between the entry point where data arrives and the first queue, facilitating smooth data transfer. 52 +* In case the queue cannot be reached, the H2 Database holds the data until the connection is restored, ensuring no data is lost. 53 +* By periodically checking for new data, the H2 Database helps to regulate the flow of data from the connector to the container runtime, preventing overload and maintaining system performance. 54 +* The component aids in managing message throughput to avoid overwhelming the queue, contributing to efficient and reliable message processing. 73 73 74 - Reflectonthechoicesmadewithinvariousprojectsandseeif you would, with what you know now, change thespecificimplementation.56 +== 5. Suggested Additional Readings == 75 75 76 - ==5.Keytakeaways==58 +If you are interested in this topic and want more information on it please read the release notes provided by eMagiz and see the following links: 77 77 78 -* The key aspects are: 79 - * H2 Database temporarily stores data 80 - * Acts as a bridge between the entry (where data arrives or is retrieved) and the first queue (the onramp) 81 - * Holds data in case the queue (the onramp) cannot be reached 82 - * Smoothen the amount of data that is transported from the connector to the container runtime as it periodically checks for new data 60 +* [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.WebHome||target="blank"]] 61 +** [[eMagiz Runtime Management (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.WebHome||target="blank"]] 62 +*** [[Reset H2 Database (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-runtime-management-reset-h2.WebHome||target="blank"]] 63 +* [[Expert Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.WebHome||target="blank"]] 64 +** [[Solution Architecture (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.WebHome||target="blank"]] 65 +*** [[H2 Database for other applications (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-h2-database-for-other-applications||target="blank"]] 66 +* [[H2 Database (Search Result)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=1%2FMain.eMagiz+Academy.&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22h2+database%22||target="blank"]] 67 +))) 83 83 84 - 85 - 86 -== 6. Suggested Additional Readings == 87 - 88 -If you are interested in this topic and want more information on it please read the help texts provided by eMagiz 89 - 90 -== 7. Silent demonstration video == 91 - 92 -As this is a more theoretical microlearning we have no video for this 93 - 94 -</div> 95 - 96 -</div> 97 -</div> 98 - 99 -{{/html}} 69 +((({{toc/}}))){{/container}} 70 +{{/container}}