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

Asynchronous Reindexing on Object-Commit #289

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Asynchronous Reindexing on Object-Commit #289

wants to merge 1 commit into from

Conversation

drfho
Copy link
Contributor

@drfho drfho commented Jun 19, 2024

Incremental reindexing wll privide a better UX if waiting for the backend response is omitted. To archieve this a daemon for transferring the content to the search server asynchronously is added.

Screenimage-1: Opensearch-server is available: saving (and reindexing) a text-block takes 0.15s

reindex_async_1

Screenimage-2: Opensearch-server is not available: saving a text-block takes 0.15s too, unsuccessfully trying the reindexing runs non-blocking in the background.

reindex_async_0

@drfho drfho requested a review from zmsdev June 19, 2024 20:04
@zmsdev zmsdev removed their request for review June 20, 2024 20:16
@zmsdev zmsdev self-assigned this Jun 20, 2024
@zmsdev
Copy link
Contributor

zmsdev commented Jun 20, 2024

Async incremental reindex can be deactivated:
ZMSZCatalogAdapter.reindex_node.async=0

@drfho drfho self-assigned this Jun 20, 2024
Copy link
Contributor

@zmsdev zmsdev left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants