Comments (13)
Maybe the fight service makes the most sense/is the least invasive?
from quarkus-super-heroes.
Awesome! Thanks for taking an interest @Jenriksen!
@agoncal / @cescoffier thoughts?
from quarkus-super-heroes.
I would go for a noSQL DB. Mongo is fine, Redis might be interesting too.
Mongo is closer to what we did in the other microservices (we have a Panache layer). So, I would go mongo.
from quarkus-super-heroes.
We certainly could. It would have an effect on running the system via docker compose though. Right now only 1 DB instance is started and 3 schemas are created. That would have to change.
from quarkus-super-heroes.
Or maybe have a simpler setup when using docker compose (only one instance of Postgres, as it is now) and a more complex one when doing K8s ?
from quarkus-super-heroes.
But then the apps would have to have each of the extensions. Isn't that a Quarkus anti-pattern?
By anti-pattern I mean it would be ok to have more than one datasource extension present if the app communicated with more than 1 datasource, but to switch datasource types between environments? Some of the datasource config is fixed at build time.
from quarkus-super-heroes.
BTW I'm not against the idea, just playing devil's advocate and thinking out loud about the repercussions.
from quarkus-super-heroes.
You're right. We could use Quarkus profiles but that could be cumbersome. I'll give it a try and submit a PR is I come up with something that ends up easy to run on docker compose and no too difficult on K8s
from quarkus-super-heroes.
Let me know if you have any questions about the setup and how the k8s/docker compose files are generated. I tried to be detailed in the documentation, but if something doesn't make sense or the documentation needs to be updated I'm happy to modify the docs (or take PRs :) ).
from quarkus-super-heroes.
Looking at eShopOnContainers project from Microsoft might give some ideas, they have implemented a full set of microservices with different databases as well (I believe their older versions of the repo used an even wider range of different db)
from quarkus-super-heroes.
I was thinking about Mongo and/or Cassandra? Although Cassandra doesn't yet have a Dev Service (see datastax/cassandra-quarkus#199) so I'd be hesitant to use it.
from quarkus-super-heroes.
from quarkus-super-heroes.
I like the idea of having several types of databases, APIs and so on. As @edeandrea mentioned, MongoDB has DevServices (which makes lives easier in dev). So, if Cassandra does not have DevServices (yet?), Mongo is a good choice
from quarkus-super-heroes.
Related Issues (20)
- Rewrite UI in a more modern framework HOT 1
- Indicate generated yaml by .gitignore-ing it and including a comment indicating it's generated (to reduce maintenance effort for contributors) HOT 23
- Clean up various kubernetes profiles config HOT 4
- Add a narration microservice that can narrate fights
- Fight microservice website information is outdated
- InvalidDefinitionException with Instant in tests with quarkus dev mode HOT 5
- Missing config key in hero register rest client annotation
- Support native compilation in narration service HOT 1
- Introduce Java 21 HOT 8
- Introduce some gRPC? HOT 1
- Update azure containerapps docs & script with narration service
- Introduce some gRPC?
- Stork env vars not working properly when deployed to k8s HOT 4
- Switch narration app to use quarkus-langchain4j HOT 12
- Change fighters/location UI around a bit to use flip cards
- Add microcks to UI service
- Add openshift-ai integration into narration service
- NoSuchElement on Configuration of rest-fights HOT 2
- Weird CORS bug when pressing "fights" HOT 10
- Weird MongoDB error when running the rest-fights service with Quarkus dev HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus-super-heroes.