-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add persistence to example dataGrid in hono chart #443
Comments
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
The example datagrid is just that: an example instance that has been added to quickly get started. We deliberately chose to keep its configuration as simplistic as possible to prevent people from using it in production. @calohmn any thoughts? |
I think in terms of providing a simple example datagrid, we could even make persistence the default here. This would mean the Hono chart user doesn't have to think about restarting the Hono protocol adapters when restarting the datagrid. In general, having to set up an Infinispan Operator deployment adds a fair bit of complexity to the whole Hono deployment, in my view. As a future improvement, to make things easier, we could also consider using the Infinispan Helm chart instead of our |
What's the reasoning behind preventing this to use in production? Why shouldn't we create something that is usable in production? The drawback of deploying a separate data-grid is that you need to update the configuration whenever hono expects something else. We are no experts in data-grid nor do we want to setup a fully separate data-grid cluster, especially if hono is the only service depending on this. |
I played around with the infinispan helm chart as a dependency: https://github.com/BobClaerhout/packages/tree/infinispanHelm |
It would be nice if persistence could be enabled in the example dataGrid for hono. A restart of the datagrid should not result in loss of all the cached data.
The text was updated successfully, but these errors were encountered: