Skip to content

Consider parallelizing sorting in Db::query #483

Open
@joepio

Description

@joepio

When Db::query is performed, most of the time we'll get an index hit. These are fast. However, if the index does not exist yet (i.e. because this is the first time that specific QueryFilter is used), it has to be built during this query. That involves running a tpf query and sorting it. The tpf query is pretty fast, as it's indexed, but the sorting could take quite a while.

This is where it could help to have some degree of paralellization. Not sure how this would work, though, but let's use this issue to gather some ideas.

@AlexMikhalev may have some ideas already :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions