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

concurrent users? #49

Open
AngledLuffa opened this issue Feb 20, 2025 · 2 comments
Open

concurrent users? #49

AngledLuffa opened this issue Feb 20, 2025 · 2 comments

Comments

@AngledLuffa
Copy link

Any chance to get concurrent users working, at least to the extent that two can be operating on the same file, even if the tree itself gets clobbered?

Aware this would be a potentially complicated operation given the way it uses conllu output as the way to store updates. Some kind of intermediate step which allows for more finegrained updates? Probably asking users to install a DB is overkill...

@jheinecke
Copy link
Member

I've already implemented a thing which avoid double editing of the same tree. If two users use the same server they can edit different sentences concurrently. However if they try to edit the same sentence, the one who saves second gets a warning that somebody else has changed the sentence since the first users loaded the sentence. So trees cannot get clobbered (but all your changes of the current sentence may be lost if somebody modified the sentence quicker than you.
I'd like to keep the tool as "simple" as possible and are hesitating implementing user control and all that which comes with storing partial edits (in particular if they contradictory, if user 1 attaches word 1 to word 2 and user 2 attaches word 1 to word 3 ....

@AngledLuffa
Copy link
Author

Oh, that's great! I was unaware of that feature.

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

No branches or pull requests

2 participants