Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1435

Investigate performance of TechEmpower multi-query benchmark

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • None

      The driver's multi-query performance in the multi-query TechEmpower benchmark is significantly lower than that of the axum [postgresql-deadpool] benchmark, which it typically beats. We should investigate why this is the case and see if there are any potential improvements to be made to the driver and/or benchmark implementation.

      As a side note: the actix-web-pg-deadpool version of this benchmark (which I wrote) is also much slower than the corresponding axum one. We should investigate that as well, since that indicates a possible bug in the implementation.

      Results for all Rust frameworks: https://www.techempower.com/benchmarks/#section=data-r21&test=query&l=yyku7z-6bj

      Among MongoDB drivers: https://www.techempower.com/benchmarks/#section=data-r21&test=query&d=e

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: