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

Migrate indexing actions to Cats Effect #4355

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

imsdu
Copy link
Contributor

@imsdu imsdu commented Oct 11, 2023

Fixes #4354

// We build and start the projections where the resource will apply
_ <- projections(project, elem)
.translate(taskToIoK)
// TODO make this configurable
.parEvalMap(5) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could narrow the problem to this line, it looks like executing in parallel with Monix on Java 17 was the issue ?

val individual = BatchConfig(1, 5.millis)
val individual = BatchConfig(1, 200.millis)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I have seen very low values messing things with fs2 (even if it did not help here)

@imsdu imsdu merged commit 09f3df6 into BlueBrain:master Oct 11, 2023
@imsdu imsdu deleted the 4353-migrate-indexing-action-ce branch October 11, 2023 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Creating resources in parallel with sync indexing causes Delta to be unresponsive
3 participants