Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Count Queries Parallel #998

Merged
merged 1 commit into from
May 15, 2023
Merged

Make Count Queries Parallel #998

merged 1 commit into from
May 15, 2023

Conversation

alexanderkiel
Copy link
Member

@alexanderkiel alexanderkiel commented May 12, 2023

In this first step only queries with one search param are executed in parallel.

@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Merging #998 (1bfb10b) into develop (9c1ea38) will increase coverage by 0.01%.
The diff coverage is 99.16%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #998      +/-   ##
===========================================
+ Coverage    94.17%   94.19%   +0.01%     
===========================================
  Files          238      238              
  Lines        15112    15197      +85     
  Branches       372      374       +2     
===========================================
+ Hits         14232    14315      +83     
  Misses         508      508              
- Partials       372      374       +2     
Impacted Files Coverage Δ
modules/db/src/blaze/db/impl/search_param/util.clj 98.87% <96.42%> (-1.13%) ⬇️
...assandra/src/blaze/db/resource_store/cassandra.clj 98.00% <100.00%> (ø)
...-resource-store/src/blaze/db/resource_store/kv.clj 100.00% <100.00%> (ø)
modules/db/src/blaze/db/api.clj 83.33% <100.00%> (+0.29%) ⬆️
modules/db/src/blaze/db/impl/batch_db.clj 84.12% <100.00%> (+0.12%) ⬆️
modules/db/src/blaze/db/impl/db.clj 77.14% <100.00%> (+0.67%) ⬆️
modules/db/src/blaze/db/impl/index.clj 98.52% <100.00%> (+0.28%) ⬆️
modules/db/src/blaze/db/impl/search_param.clj 100.00% <100.00%> (ø)
...ules/db/src/blaze/db/impl/search_param/chained.clj 94.82% <100.00%> (-1.61%) ⬇️
.../db/impl/search_param/composite/token_quantity.clj 97.14% <100.00%> (+0.26%) ⬆️
... and 10 more

In this first step only queries with one search param are executed in
parallel.
@alexanderkiel alexanderkiel self-assigned this May 15, 2023
@alexanderkiel alexanderkiel added module:db performance Performance improvement labels May 15, 2023
@alexanderkiel alexanderkiel added this to the v0.20.7 milestone May 15, 2023
@alexanderkiel alexanderkiel merged commit 8cdc40a into develop May 15, 2023
127 checks passed
@alexanderkiel alexanderkiel deleted the parallel-count branch May 15, 2023 06:23
@alexanderkiel alexanderkiel modified the milestones: v0.20.7, v0.21.0 Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:db performance Performance improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant