Skip to content

Reactive Persistence (Spring Data, Mongo, Cassandra, Couchbase, R2DBC)

Notifications You must be signed in to change notification settings

aigor/reactive-persistence

Repository files navigation

ReactivePersistence

Reactive Persistence (R2DBC)

Idea

UI with:

  • status bar (threads, requests)
  • some useful operations

Application Logic

                 |= External WebService
UI = WebService =|
                 |= Database

Open questions

  • WebFlux Netty does not support HTTP/2, only Tomcat
  • Do we need TLS for HTTP/2
  • May we somehow interact with the audience?

The Flow of Examples

  • Blocking Web App (Spring WebMVC)
  • Rx Web App (Spring WebFlux)
  • Rx Web App with Blocking External Request (Http 11 Client)
  • Rx Web App with Rx External Request (WebClient)
  • Rx Web App with Rx External Request and Reactive DB
    • Cassandra
    • MongoDB
    • Couchbase
  • Rx Web App with Rx External Request and Postgres
    • JDBC wrapped in Thread Pool
    • R2DBC

Code snippets

sudo PATH=$JAVA_HOME/bin:$PATH ./gradlew dockerBuildImage

About

Reactive Persistence (Spring Data, Mongo, Cassandra, Couchbase, R2DBC)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published