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

repairの実装 #42

Open
hrtwt opened this issue May 4, 2022 · 1 comment
Open

repairの実装 #42

hrtwt opened this issue May 4, 2022 · 1 comment
Labels
backend enhancement New feature or request

Comments

@hrtwt
Copy link
Contributor

hrtwt commented May 4, 2022

現状はkdemoを使っている.
fldemo-backendに実装したほうが良い.

実装案

kgpをどう起動するかで2案

A. スレッド

pros.

プロセスより速い.
kgp.jarが不要.

cons.

kgpが吐くlogを取るのが難しい.
kgpはlogbackで標準出力にログを吐く.
backendも同様.
標準出力にログが混ざる.

さらに,kgpは複数プロセス同時に起動できるべき.
複数起動されたkgpのログをスレッド別に取る必要がある.

B. プロセス

pros.

kgpの出力を取るのが楽.
kgpがスレッドセーフかを気にする必要がない.

cons.

重い.
kgp.jarが必要.

@hrtwt
Copy link
Contributor Author

hrtwt commented Aug 18, 2022

How to log multiple threads in different log files?
https://stackoverflow.com/questions/8355847/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant