CDN系统里的流量分析摘要数据条目

一般情况并不需要特别多的数据
对于日志,使用ES平台是必要的,但是对于摘要数据 用于结算的话
没必要使用大型数据仓库,可以降低成本

{ page: 1,
  pages: 15,
  page_size: 50,
  current_page_size: 50,
  total: '741',
  stats:
   [ { size: '1872684732139',
       hit: '70735167',
       noncache_hit: '245454',
       cache_hit: '70489713',
       timestamp: '2016-06-14 00:00:00' },
   // ... results omitted for brevity ...
     { size: '1867865128976',
       hit: '70481301',
       noncache_hit: '224253',
       cache_hit: '70257048',
       timestamp: '2016-06-16 01:00:00' } ],
  summary:
   { size: '1471217376300301',
     hit: '56607422415',
     noncache_hit: '195796301',
     cache_hit: '56411626114' } }

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注