# M3 - 오픈소스 Metrics 플랫폼

> Clean Markdown view of GeekNews topic #1572. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=1572](https://news.hada.io/topic?id=1572)
- GeekNews Markdown: [https://news.hada.io/topic/1572.md](https://news.hada.io/topic/1572.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-02-23T10:28:21+09:00
- Updated: 2020-02-23T10:28:21+09:00
- Original source: [m3db.io](https://www.m3db.io/)
- Points: 5
- Comments: 2

## Topic Body

- Uber가 엄청난 수의 지표수집/분석에 쓰기위해 만든 오픈소스 솔루션

- M3DB - 분산 시계열DB 자체도 같이 오픈소스

- 클러스터 관리 및 복제기능 내장

- Prometheus 의 저장소로 사용가능

- Gorilla TSZ로 효율적인 압축

## Comments



### Comment 1177

- Author: xguru
- Created: 2020-02-23T10:28:55+09:00
- Points: 2

다른 여러 대안들을 사용해보고 M3를 선택한 사람의 설명

https://news.ycombinator.com/item?id=22393337

Raw Prometheus https://prometheus.io/ - 데이터를 다 넣는게 불가능했음

Thanos https://thanos.io/ - 처음엔 좋았는데, 롱텀캐시 설정이 불가능. Thanos 자체도 Prometheus 저장 포맷을 이용해서, 메트릭 쿼리할때마다 같은 블록에 있는 모든 지표를 다운 받음. 그래서 필요없는 네트웍 트래픽이 발생하고 쿼리 시간이 길어짐.

Cortex https://cortexmetrics.io/ - Thanos 랑 비슷한 문제가 예상되었음

Victoria Metrics https://victoriametrics.com/ - 좋아보이는데 메인테이너가 혼자라서 불안

M3DB - 비용과 속도면에서 현재 M3 대체제는 없어보임. 꽤 많은 양의 메모리가 필요하지만 쿼리 속도가 빠름. Prometheus 보다 적은 저장공간을 사용.

### Comment 1176

- Author: xguru
- Created: 2020-02-23T10:28:35+09:00
- Points: 2

M3의 테크리드였다가 현재는 M3를 이용한 모니터링 플랫폼 https://chronosphere.io/ 를 창업한 Rob Skillington 의 발표

Querying millions to billions of metrics with M3DB's inverted index - https://fosdem.org/2020/schedule/event/m3db/

- M3가 처음엔 Elastic Search / Cassandra를 혼용하다가 나중엔 모두 M3DB 로 통합 했다고
