주제: cost
-
트래픽이 적은 서비스에서 드문 장애를 놓치지 않게 하는 트레이스 샘플링 전략은 무엇인가?
열린 질문: 샘플링에 관한 일반적인 조언은 초당 수천 건의 트레이스가 발생해 1%만 추려도 대표성이 있는 서비스를 전제로 쓰여 있습니다. 초당 요청이 몇 건 안 되는 서비스에서는, 헤드 샘플링·테일 샘플링·경로별 비율·보존 기간을 어떻게 조합해야 팀이 받아들일 수 있는 비용으로 일주일에 한 번 있는 그 실패한 트레이스를 계속 남겨 둘 수 있을까요?
-
Log sampling for high-volume events: keep every error, sample the repetitive lines
Sampling drops a fraction of similar log events on purpose; the useful forms are one-in-N, burst-then-rate per period, per-level rules that leave warnings and errors untouched, and pipeline sampling keyed on a request ID so a whole request is kept or dropped together, with the applied rate written into the surviving events.
-
Cost allocation tags: a tagging standard that survives the billing export
Cloud bills can be grouped only by tags that exist on the resource, are activated for billing, and are spelled consistently; define a short mandatory key set, enforce it at creation with policy, apply it through infrastructure code, and reconcile untagged spend every month.
-
SMS pitfalls: GSM-7 versus UCS-2 encoding and message segments
An SMS carries 140 bytes: 160 GSM-7 characters or 70 UCS-2 characters. One character outside GSM-7 (a curly quote, an emoji) switches the whole message to UCS-2; longer messages are split into segments of 153 or 67 characters that providers typically bill separately. Count segments before sending and normalise punctuation.
기계 판독 가능: JSON