Skip to content

Spring Data R2DBC two times slower than Spring Data JDBC for Flux response #203

@Aleksandr-Filichkin

Description

@Aleksandr-Filichkin

Hi,

I've compared Spring Data R2DBC with Spring Data JDBC (Postgres DB) and see that add/get/delete performance almost the same. But for the method
public Flux<User> getWithLimit(@RequestParam int limit) { return userRepository.findWithLimit(limit); }

@Query("select * from blog.user limit $1") Flux<User> findWithLimit(int limit);

the throughput two times worse.

Here

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions