Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Webflux postgresql

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.

like image 991
Jan Wytze Avatar asked Oct 29 '25 05:10

Jan Wytze


1 Answers

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 :)

like image 52
Montassar El Béhi Avatar answered Oct 31 '25 20:10

Montassar El Béhi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!