slack을 통해서 여러가지 알림들을 받는게 기본이 된 시대. 의식적으로 채널에 알림연동을 하고, 실제 workin의 결과를 통해서 연동이 잘 되어 있음을 확인 하곤 했었다. 그러다, 최근 실제 working이 되기 전에 어떻게 Test 할 수 있나 라는 뒤늦은 생각이 들었다. 그래서. 기록으로 남겨둔다... slack webhook URL test POST https://hooks.slack.com/services/xxxxxx Content-type: application/json { "text": "Hello, world." } curl curl --request POST \ --url https://hooks.slack.com/services/xxxxxx \ --header 'Content-type..
What’s Kubernetes Probe Probe 설명 livenessProbe livenessProbe를 통과하지 못하면, kubelet은 container를 종료하고, 해당 container는 재시작 정책의 대상이 됩니다. readinessProbe readinessProbe를 통과하지 못하면, endpoint controller는 pod와 연관된 모든 서비스의 endpoint에서 pod의 IP 주소를 제거합니다. startupProbe startupProbe가 시작되면 startupProbe를 통과하기 전까지 다른 Probe는 활성화되지 않습니다. 만약 startupProbe를 통과하지 못하면 kubelet은 container를 종료하고 해당 container는 재시작 정책의 대상이 됩니다. P..
현재 설정 정보 확인 ➜ ~ git config --list credential.helper=osxkeychain init.defaultbranch=main user.name=블라블라(GP Kim) / Tech user.email=gp.kim@sang.com core.excludesfile=/Users/axxxxxxx/.gitignore_global difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE" difftool.sourcetree.path= mergetool.sourcetree.cmd=/Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE"..
Synchronous vs Asynchronous 동기와 비동기를 구준하는 주요 기준은 작업순서의 보장 여부 Synchronous(동기화) 작업의 순서가 보장됨. Thread는 요청한 작업의 결과를 받고 다음 작업 진행 특정 API의 응답 반환 시간이 n분 소요 된다고 하면 이 요청이 실행 되는 n분 동안 Process/Thread는 다른 작업을 하지 못하고, 응답이 반환 되기를 기다려야 한다. 장점 : 설계가 간단하고 직관적이다. 단점 : 요청에 대한 결과가 반환되기 전까지 대기해야 한다. Asynchronous(비동기화) 작업의 순서가 보장 되지 않음. Thread는 요청한 작업의 결과를 받지 않고 다음 작업 진행 특정 API를 실행 하는데 시간이 n분 소요 되어도 그 시간동안 다른 작업을 수행할 수..
https://javascript.plainenglish.io/6-caching-strategies-to-remember-while-designing-cache-system-da058a3757cf 6-Caching Strategies to Remember while designing Cache System How to invalidate the cache, strategies around Read v/s Write Cache,Ways to invalidate the Cache, terminologies around Cache System & Much… javascript.plainenglish.io 캐시 시스템의 주요 성능 지표 캐시 적중률: 이 메트릭은 요청된 항목이 캐시에서 발견된 횟수의 비율을 측정..