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

코드리뷰 질문 예시 #4

Closed
GHeeJeon opened this issue Jul 26, 2022 · 0 comments
Closed

코드리뷰 질문 예시 #4

GHeeJeon opened this issue Jul 26, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@GHeeJeon
Copy link
Collaborator

  1. 지금보다 충분한 시간이 주어진다면 어떻게 코드를 짜고 싶은지? 클래스 메소드 나누어서?
    로그 한 줄 한 줄을 추상화하는 클래스는 어때? 상태코드를 enum으로? 예외처리 클래스도!
  2. 로그 파일의 용량이 매우 클 경우 어떻게 처리하면 좋을지?
    스트리밍을 활용하는 거야! 매우 커지기 전에 바로 읽고 바로 분석해서 바로 쓰되, 버퍼 사이즈 적당히 조절해서!
  3. 처리 속도를 빠르게 하려면 어떻게 해야 할까?
    멀티스레드를 활용한다! 컴퓨터 여러 대를 이용해 분산처리한다. 분산처리된 데이터를 취합하는 서버도 필요하겠지?
  4. 유지보수가 용이한 코드를 왜 만들어야 하는가? 변경 및 요구사항에 대응하기 위해서!
@GHeeJeon GHeeJeon added use brain Let's have a think documentation Improvements or additions to documentation and removed use brain Let's have a think labels Jul 26, 2022
@GHeeJeon GHeeJeon pinned this issue Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant