Skip to content

Improve reactive Repository save operation flow #4838

Closed
@christophstrobl

Description

@christophstrobl

This issue is a follow up on #4804 to improve performance of the save operation by splitting executions in a way to make sure the transaction initialising one runs before any of the potential others, as outlined by @chemicL:

Flux.just(firstItem)
    .flatMap(this::save)
    .concatWith(Flux.fromIterable(remainderOfItems)
            .flatMapSequential(this::save)
    )

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions