How should I implement postgresql in Webflux?
I would like to do it with ReactiveCrudRepository, but JPA isn't reactive... I want to store users and SSH public and private keys. I've read that MongoDB transactions aren't as reliable as postgresql(Correct me if I am wrong). Thats why I want to use postgresql.
But what is the best way to use Postgresql in webflux? I would like to use JPA repositories(or other) and not write full queries, but still be able to program reactively.
Still no official driver for Pg. I didn't really use it but here is a try at this github link.
Take a look at Redis as an alternative to mongodb: It can be both in memory db and ordinary datasource.
Hope was helpful :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With