從 ES 到 Kylin,鬥魚客戶端性能分析平臺進化之旅

{"type":"doc","content":[{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"一、背景"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"鬥魚是一家面向大衆用戶的在線直播平臺,每天都有超大量的終端用戶在使用鬥魚各客戶端參與線上互動。伴隨業務的迅猛發展,鬥魚需要對客戶端採集到的性能數據進行統計和分析,開發出具有多維度分析圖表和數據監控的 APM (Application Performance Monitoring,應用性能監控) 平臺。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"針對不同的客戶端採集的不同數據,我們需要將各種維度之間相互組合並聚合,最終產出的數據變成指標在圖表中展示。例如:對在時間、地域、網絡環境、客戶端以及 CDN 廠商等維度聚合下的各項指標情況進行"},{"type":"text","marks":[{"type":"strong"}],"text":"多維度分析"},{"type":"text","text":",包括客戶端網絡性能(包含完整請求耗時,請求耗時,響應耗時,DNS 耗時,TCP 耗時,TLS 耗時等等指標)各類錯誤時間段內的佔比以及詳細數量、狀態碼分佈等等。圖一和圖二分別是兩個示例:"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/68\/b6\/68d4fb39af4264ca8929a71468e45cb6.png","alt":null,"title":null,"style":null,"href":null,"fromPaste":true,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":"△ 圖一"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/89\/df\/89d40eyyb7eac9fa8d7b8bce5ee132df.png","alt":null,"title":null,"style":null,"href":null,"fromPaste":true,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":"△ 圖二"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章