Pyohwan/english-study

[Announce] Week 3 homework

Closed this issue · 3 comments

Week 3 homework

  • Article reading and make a word list
  • Stackoverflow experience
    • Ask your question or answer any question at Stackoverflow.
    • Explain about the question or answer.

Wordlist

  • heuristics : 발견법? 시간이나 정보가 불충분하여 합리적인 판단을 할 수 없거나, 굳이 체계적이고 합리적인 판단을 할 필요가 없는 상황에서 신속하게 사용하는 어림짐작의 기술
    • However, there are cases when the default heuristics or default configurations for them provide suboptimal results.
  • piggybacked : ~에 업혀 가다[편승하다]
    • This phase is piggybacked on a normal (STW) young garbage collection.
  • built on : ~을 기반으로 하다
    • By combining its industry-leading container engine technology, an enterprise-grade container platform and world-class services, Docker enables you to bring traditional and cloud native applications built on Windows Server, Linux and mainframe into an automated and secure supply chain, advancing dev to ops collaboration and reducing time to value.

G1 GC를 사용할때 힙사이즈를 조절해야 하는 시기는 어떻게 알까?

오라클의 G1 GC 문서를 살펴보면, G1 GC는 처리량과 레이턴시가 안정적이라 JVM 옵션 수정을 권하지 않는다. 하지만 서버의 힙 사이즈를 어느 정도로 해야 적당한지 안내하는 페이지는 찾을 수 없었다.
서버의 용도와 트래픽 양은 다양하다. 간단한 Restful API 만 있을수도 있고, 긴 시간을 소모하는 작업일 수도 있다.
이에 따라 서버 용도에 따라 Heap 크기는 달라져야 합니다.
또한 힙 사이즈가 부족하게 되면 Full GC가 여러번 발생할것이고 결국 심각한 문제를 야기한다. 결국 언젠가는 힙 사이즈를 늘려야 할것이다.

  1. 적당한 초기 힙 사이즈는 어떻게 정하는가?
  2. 언제 힙 사이즈를 늘려야 하는가?
  3. 이상 징조를 모니터링 하는 방법 및 도구가 있는가?