본문 바로가기

전체 글37

Kubernetes Component Master: The system from which you manage your Kubernetes environment.Nodes: One or more systems on which containers are deployed by Kubernetes (nodes were previously called minions).Pods: A pod defines one or more containers to run, as well as options to the docker run command for each container and labels to define the location of services.Services: A service allows a container within a Kuberne.. 2017. 6. 21.
ThreadPoolTaskExecutor RejectedException 발생 Executor 로 스레드 관리가 용이해졌는데, https://docs.spring.io/spring/docs/current/spring-framework-reference/html/scheduling.html 이를 활용해서 비동기로 카프카에 이벤트 발생하여 전달하고 있다. TaskExecutor 가 설정해놓은 사이즈(PoolSize , QueueCapacity) 를 초과하면 OOM 이 발생하여 RejectedException 이 발생하여 중요한 이벤트들이 reject 되어버린다. RejectedExceptionHandler 기본값은 AbortPolicy(task reject 후에 throw exception)인데, ThreadPoolExecutor.CallerRunsPolicy를 설정하여 모니터링 시스.. 2017. 5. 31.
Jolokia - Remote JMX access Jolokia is remote JMX with JSON over HTTP. It is fast, simple, polyglot and has unique features. It's JMX on Capsaicin. Jolokia is a JMX-HTTP bridge giving an alternative to JSR-160 connectors. It is an agent based approach with support for many platforms. In addition to basic JMX operations it enhances JMX remoting with unique features like bulk requests and fine grained security policies. Jolo.. 2017. 3. 9.
Elasticsearch Python API Elasticsearch로 검색 엔진을 적용해보려 한다. 현재는 검색 엔진을 구입하여 사용하고 있는데 신규 서비스에 소급 적용이 될 수 있을 것을 목표로 테스트 및 체험..목적으로 Elasticsearch에서 제공하는 API를 Python으로 개발해보려한다. ++ 한글 형태소 분석기는 은전한닢을 사용하려한다. http://eunjeon.blogspot.kr/ 최근에 5.x 배포가 이뤄졌다. 일단 Python 2.7 이상을 설치하게 되면 pip 도 같이 포함되기 때문에 별 다른 작업은 하지 않는다. pip install elasticsearch cf) elasitcsearch 5.x.x 에 bootstrap checks failed .....this can cause resize pauses and pre.. 2017. 2. 9.
WAS 속도 느림 현상 WAS에 속도 느림에는 여러가지 이유가 있겠지만, 원인 파악을 하는데 어떤 식으로 진행을 하였는지 간단하게 적어보겠다. 제일 먼저 CPU 점유율을 확인하였다. top 실제로 CPU가 굉장히 많이 점유하고 있었다. 문제가 발생했다는 것은 파악하였지만 어떤 원인인지 파악하지 못해 jstat / jmap / jstack으로 GC 및 힙, 스레드 상태를 확인하고 덤프파일로 생성하였다. GC는 Gabarge Collection으로 메모리 관리 기법 중 하나다. 프로그램이 동적으로 할당했던 메모리 영역 중에서 필요없게 된 영역을 해제하는 기능이다. GC의 경우 -verbose옵션으로 log 파일을 생성해줄 수 있다. B.2.3 -verbose:gc OptionThe -verbose:gc option enables .. 2017. 2. 1.
maven 로컬 jar를 dependecy에 추가 Missing artifact # 메이븐 repository에 등록되지 않은 jar파일을 dependency에 추가해주기 위해서 다음과 같이 처리하였다. my-repo-site http://my.site/... 2017. 1. 5.