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

how is the task log recorded? #1

Open
hansedong opened this issue Jan 14, 2020 · 3 comments
Open

how is the task log recorded? #1

hansedong opened this issue Jan 14, 2020 · 3 comments

Comments

@hansedong
Copy link

Is it stored in a database or written to a file? Or is there any architecture documentation?

@youlu-cn
Copy link
Member

Currently, we collect the std error and std out, and store the messages in mysql.

@hansedong
Copy link
Author

@youlu-cn Thanks for the reply, I would like to ask, if it is stored in the database, is there a limit on the size of each task(stdout and stderr) ? In addition, suppose the machine has 3000 nodes, each node is running 20 tasks at the same time (both write the database), how to solve the problem that there may be a limited number of connections?

@youlu-cn
Copy link
Member

@hansedong Task logs are written in batch by each agent node. Besides, this operation is an interface that you can implement your own behavior.

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