-
Notifications
You must be signed in to change notification settings - Fork 6
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
How can I create a multi-worker environment? #11
Comments
Hi @prnr . At the present multi-worker is not supported. Each video can be worked on by only one annotator at a time. On the other hand, at least different annotators can work on different videos simultaneously. So, a temporary work around can be to split your data into different image sets, and let different people work on them, but each one occupies a single video at a time. |
Is this how you organize what you said? The tt-spare comes in different s3 buckets. https://prnr-task.p-e.kr/app/_/project/4 Even if you split it like this and work in different spaces, you're getting the same error message (I split my bucket about 36 hours ago, and it's been happening constantly since right after I split it). Is there any error log that I can provide? Could it be a problem caused by the performance limitations of AWS free-tier? |
@prnr I don't think it is due to the limitation of free-tier. Presumably your network speed is fine. Do you have more than one annotators? If so, let's call two annotators X and Y. Which of the following cases is true?
The latter case will cause the error, since currently it is not supported to have more than one annotators working on the same video(image set). The former case should be fine, and if it is your case, something must be wrong and I'll look into it. And by the way, where do you deploy your nutsh server? On an EC2 machine? |
|
In this case, first I want to suggest that make sure each worker is working on one video solely. Do not let two people working on a same video. Secondly, there is another potential reason for this error to show, namely your editing speed is faster than your server's speed to save data. The underneath reason is:
Therefore, if you make some editing, and BEFORE the modification is successfully persisted to the database you make another editing, the "sync failed" error will show. You can do the followings to check which is the case:
So, could you follow the above instruction, and let me know which case it is? It would be better if you can record a video with your nutsh and DevTools side by side while you edit something to trigger the error. Also, can you tell me your EC2 instance type? Besides, I noticed https://prnr-task.p-e.kr/app/_/project/4 is publicly accessible, which means anyone can edit your dataset. You may add a layer of HTTP Basic Authentication (e.g. using Nginx) to protect your deployment. |
If I check the error this evening, I will capture the information and send it to you. Later, while using this tool, I will neatly organize what I thought needed improvement and what I want to add to the issue. It's a really light and easy-to-use tool, so I hope it helps in my ability. |
@prnr Thanks so much! Indeed this tool is still in its early stage and under active developing. Do let me know any troubles you run into or thoughts you have. I am glad to assist you in solving your problems, and help you with your work! Concerning the current issue, it will be great if you can do more observations and send me the result. I have recorded a video for your reference. sync_error.mp4 |
I understand that using a single video (image set) for a single project is a problem.
So I'm working on creating a work with different addresses by uploading each of the same image sets to different s3 buckets, but an error is occurring when two or more people work at the same time.
Is there a limit to traffic with free tier S3? Is it a problem because there are too many requests?
The text was updated successfully, but these errors were encountered: