Changes for page H2 Database, Function

Last modified by Danniar Firdausy on 2024/09/16 15:49

From version 26.2
edited by eMagiz
on 2022/06/08 15:21
Change comment: Update document after refactoring.
To version 29.1
edited by Erik Bakker
on 2022/08/25 12:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -intermediate-solution-architecture-function-of-h2-database
1 +H2 Database, Function
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.marijn
1 +XWiki.ebakker
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">
4 -
5 -<div class="doc">
6 -
7 -
8 -
9 -= H2 Database, Function =
10 -
1 +{{container}}
2 +{{container layoutStyle="columns"}}
3 +(((
11 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 12  
13 -Should you have any questions, please contact academy@emagiz.com.
6 +Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
14 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
... ... @@ -28,10 +28,10 @@
28 28  The focal point of this microlearning will be to figure out why the H2 database is part of any auto-generated entry.
29 29  
30 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
21 + ** H2 Database temporarily stores data
22 + ** Acts as a bridge between the entry (where data arrives or is retrieved) and the first queue (the onramp)
23 + ** Holds data in case the queue (the onramp) cannot be reached
24 + ** Smoothen the amount of data that is transported from the connector to the container runtime as it periodically checks for new data
35 35  
36 36  
37 37  
... ... @@ -42,18 +42,18 @@
42 42  The focal point of this microlearning will be to figure out why the H2 database is part of any auto-generated entry.
43 43  
44 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
35 + ** H2 Database temporarily stores data
36 + ** Acts as a bridge between the entry (where data arrives or is retrieved) and the first queue (the onramp)
37 + ** Holds data in case the queue (the onramp) cannot be reached
38 + ** Smoothen the amount of data that is transported from the connector to the container runtime as it periodically checks for new data
49 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>
42 +[[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>
46 +[[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,14 +61,12 @@
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>
54 +[[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 guaranteed delivery of messages within the platform.
69 -
70 -===== Practice =====
71 -
58 +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
59 +
72 72  == 4. Assignment ==
73 73  
74 74  Reflect on the choices made within various projects and see if you would, with what you know now, change the specific implementation.
... ... @@ -76,10 +76,10 @@
76 76  == 5. Key takeaways ==
77 77  
78 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
67 + ** H2 Database temporarily stores data
68 + ** Acts as a bridge between the entry (where data arrives or is retrieved) and the first queue (the onramp)
69 + ** Holds data in case the queue (the onramp) cannot be reached
70 + ** Smoothen the amount of data that is transported from the connector to the container runtime as it periodically checks for new data
83 83  
84 84  
85 85  
... ... @@ -90,10 +90,7 @@
90 90  == 7. Silent demonstration video ==
91 91  
92 92  As this is a more theoretical microlearning we have no video for this
81 +)))
93 93  
94 -</div>
95 -
96 -</div>
97 -</div>
98 -
99 -{{/html}}
83 +((({{toc/}}))){{/container}}
84 +{{/container}}