IBM / cloud-native-starter

Cloud Native Starter for Java/Jakarta EE based Microservices on Kubernetes and Istio
https://cloud-native-starter.mybluemix.net/
Apache License 2.0
518 stars 273 forks source link

Java Persistence #42

Closed joymallyac closed 4 years ago

joymallyac commented 4 years ago

This repo shows how to gain persistence using JPA and 'Db2 on Cloud'. But this will definitely affect the performance. Is there a way to do this in memory and not using any external database?

thomassuedbroecker commented 4 years ago

@joymallyac Yes, but this project is designed to be as simple as possible for the setup and to use the free Kubernetes Lite Cluster on IBM Cloud in our Workshops, so we don’t use persistence-volumes in Kubernetes. Performance testing of persistence isn't in scope of that example Project. We like to be as less responsible as possible related to managing operations and setup tasks, and we follow the strategy: "Why to setup an own databases, if they are as a service available?" I hope that helps.