# Matrix-CRDT - Matrix를 백엔드로 사용하는 실시간 협업 오픈소스

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

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=5780](https://news.hada.io/topic?id=5780)
- GeekNews Markdown: [https://news.hada.io/topic/5780.md](https://news.hada.io/topic/5780.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-01-19T10:54:33+09:00
- Updated: 2022-01-19T10:54:33+09:00
- Original source: [github.com](https://github.com/YousefED/Matrix-CRDT)
- Points: 19
- Comments: 1

## Topic Body

- Yjs 프레임워크를 이용해서 CRDT 업데이트 데이터를 Matrix에 채팅 메시지처럼 보내서 저장

ㅤ→ Yjs Documents 를 Matrix Room 으로, Yjs Updates 를 Matrix로 Events로 브릿지

- 채팅메시지 만으로 현재 상태를 재구성하기엔 비효율 적이므로 이전 이벤트를 요약한 Snapshot을 주기적으로 보내서, 쉽고 빠르게 최신 상태로 복원가능

- 아직 500ms 단위로 이벤트를 보내도록 스로틀링하고, Yjs Awareness 업데이트를 지원하지 않지만, WebRTC를 이용해서 실험적으로 이용 가능

ㅤ→ 차후에 Matrix Custom Ephemeral 이벤트 스펙이 완성되면 교체 예정

## Comments



### Comment 8487

- Author: xguru
- Created: 2022-01-19T10:54:50+09:00
- Points: 3

- 제가 틀렸었어요. CRDT가 미래입니다. https://news.hada.io/topic?id=2962

- 더 빠른 CRDT를 위해 최적화 하기 https://news.hada.io/topic?id=4744

- SyncedStore CRDT - React/Vue용 실시간 협동 지원 라이브러리 https://news.hada.io/topic?id=5518

- Matrix - 탈중앙화 방식의 오픈소스 실시간 커뮤니케이션 네트워크 https://news.hada.io/topic?id=1109

- 모질라 재단, 내부 메시징 도구를 IRC에서 Riot/Matrix로 변경하겠다고 발표 https://news.hada.io/topic?id=1110

- Matrix와 Jitsi로 Slack+Zoom 오픈소스 버전 구축하기 https://news.hada.io/topic?id=1848

- Matrix, 모든 개인 대화에 E2E 암호화를 기본값으로 https://news.hada.io/topic?id=2047

- Automattic이 Matrix 에 투자 https://news.hada.io/topic?id=2130

- Matrix, P2P 버전 공개 https://news.hada.io/topic?id=2207

- Matrix 클라이언트 Riot, Element로 이름 변경 https://news.hada.io/topic?id=2461

- Gitter가 Matrix 네트워크에 조인 https://news.hada.io/topic?id=2952
