Skip to content

Parallel query execution across backends #26

@renecannao

Description

@renecannao

Current distributed execution is sequential — queries to multiple backends are sent one at a time. Total latency = sum of all backend latencies.

Options:

  • Thread per backend query (std::async / thread pool)
  • Non-blocking MySQL/PgSQL APIs (mysql_real_query_nonblocking / PQsendQuery + PQgetResult)
  • Event loop (epoll/kqueue)

The RemoteExecutor interface already abstracts this — swap the sequential implementation for a parallel one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions