On ly 2.0 project Review

  • View
    1.280

  • Download
    0

Embed Size (px)

Transcript

  • On-ly 2.0 Project () ,

    2015.07.31

    soeun@embian.com

    mo@embian.com

  • 0. On-ly 2.0 ?1. On-ly 2.0 History

    1.1. On-ly 2.0 1.2. On-ly 2.0 1.3. On-ly 2.0

    2. On-ly 2.0 2.1. On-ly 2.0 System Architecture2.2. On-ly 2.0 System

    3. On-ly 2.0 3.1. AWS

    4.

    2

  • 3

    0. On-ly 2.0?

    On-ly https://prezi.com/z5dymyp27jfj/on-ly/

    https://prezi.com/z5dymyp27jfj/on-ly/https://prezi.com/z5dymyp27jfj/on-ly/https://prezi.com/z5dymyp27jfj/on-ly/

  • 4

    1. On-ly 2.0 History

  • 1.1 On-ly 2.0

    5

    1. On-ly 2.0 History

    On-ly 2.0 : On-ly . On-ly 2.0

    a. b. c. d. , .e. item .

    .

    .

    . 17 Idea

    [On-ly 2.0 ]

    2015.04.02On-ly 2.0

    2015.05.08On-ly 2.0

    2015.06.17On-ly 2.0

  • 6

    1.2 On-ly 2.0 1. On-ly 2.0 History

    1. Elasticsearch 2. Facebook 3. 4. ( ?,

    ?, ?)

    5. On-ly 2.0 6. 7. (/)

    Ideas

    [On-ly 2.0 ]On-ly 2.0 http://www.slideshare.net/embian/on-ly2150617083348lva1app6891

    2015.04.02On-ly 2.0

    2015.05.08On-ly 2.0

    1

    2015.06.17On-ly 2.0

    http://www.slideshare.net/embian/on-ly2150617083348lva1app6891

  • 7

    1.3 On-ly 2.0 1. On-ly 2.0 History

    Ideas

    [ Idea On-ly 2.0 ]

    2015.04.02On-ly 2.0

    2015.05.08On-ly 2.0

    2015.06.17On-ly 2.0

    1

    1. Elasticsearch 2. Facebook 3. 4. ( ?,

    ?, ?)

    5. On-ly 2.0 6. 7. (/)

  • 8

    2. On-ly 2.0

  • 9

    2.1 On-ly 2.0 System Architecture 2. On-ly 2.0 GPTLog(Game Play Time Log):

    GPTInfo(Game Play Time Info): API ( )

    System Architecture

    1. Elasticsearch

    2. Facebook 3. 4. 5. On-ly 2.0 6. 7. (/)

    [On-ly 1.0 System Architecture]

    [On-ly 2.0 System Architecture]

  • a. Agent

    - GPTLog(Game Play Time Log) 1 , 5 5 Log GPTLog Collector

    [ Log ]ex)

    10

    2. On-ly 2.0

    {"key":"27a871ab-a75f-472f-a150-9f2d3e171302","appid":"com.supercell.clashofclans","ctimestamp":"2015-06-24T12:09:22.940+09:00","appversion":"44"}

    2.3 On-ly 2.0

    Field Value Desc

    key UUID27a871ab-a75f-472f-a150-9f2d3e171302

    (128bit Universally Unique Identifier)

    appidpackage name com.supercell.clashofclans

    ctimestamp 2015-06-24T12:09:22.940+09:00

    appversoin On-ly 44

    2.3.1 On-ly 2.0

  • a. MQTT(formely MQ Telementry Transport)- - On-ly GPTLog

    b. GPT(Game Play Time)Log Indexer - GPTLog Elasticsearch

    c. PlayStoreCrawler- Google Play Store - Redis unknown Google Play Store , Redis Elasticsearch 11

    2. On-ly 2.0

    2.3 On-ly 2.0 2.3.2 GPTLog Collector

    Field Value Desc

    key UUID 27a871ab-a75f-472f-a150-9f2d3e171302(36 bytes string)

    appid package namecom.supercell.clashofclans

    (avg. 26 bytes string)

    ctimestamp 2015-06-24T12:09:22.940+09:00

    appversoin On-ly 44

    Field Value Desc

    key UID165

    (8 bytes signed integer)

    appid AID3062

    (8 bytes signed integer)

    @timestamp 2015-06-24T12:09:22.940+09:00

    doctype category game

    appversoin On-ly 44

    [GPTLOG ][GPTLOG ]

    {"key":"27a871ab-a75f-472f-a150-9f2d3e171302","appid":"com.supercell.clashofclans","ctimestamp":"2015-06-24T12:09:22.940+09:00","appversion":"44"}

  • 12

    2. On-ly 2.0

    a. Redis

    [Redis ]

    - On-ly 1.0 (Cache) Redis . - Redis ,

    Prefix Key Value Type Value Desc

    app

    appid Strings 64bit signed Integer ID (AID)

    AID Hashes (id, name, icon url, desc)

    aid_incr Integer AID Autoincrement

    user

    UUID Strings 64bit signed Integer ID (UID)

    UID Hashes (key, fid, week, daily, gcm, etc..)

    FID Strings 64bit signed Integer ID (UID)

    uid_incr Integer UID Autoincrement

    - app_set Sets Set of appid

    - unknown_set Sets Set of appid

    [Redis ]

    On-ly 2.0

    2.3 On-ly 2.0 2.3.3 Storage

    com.progimax.shotgun.free8e9ec614-403b-4c6f-ba86-191519dd8a8c

  • - On-ly Search search Elasticsearch - GPTInfo API - GPTLog Collector GPTLog

    13

    2. On-ly 2.0

    Field Value Desc

    _index index name only-YYYY.mm

    _type types logs

    _id index id

    _score score

    @version index version

    key UID 165 (64bit signed integer)

    appid AID 3062 (64bit signed integer)

    @timestamp 2015-06-24T12:09:22.940+09:00

    doctype category unknown, game, sns, app

    appversoin On-ly 44

    Elasticsearch index

    [Elastcisearch GPTLog]

    2.3 On-ly 2.0 2.3.3 Storage

    b.Elasticsearch

    {"key":"165", "appid":"3062", "@timestamp":"2015-06-24T12:09:22.940+09:00", "doctype":"unknown", "appversion":"44"}

  • 2.3 On-ly 2.0

    14

    GPTInfo(Game Play Time Info) APIGPTInfo API , HTTP Web API GPTLog ", , , GPTInfo 17 API

    2. On-ly 2.0

    [GPTInfo API UI ]

    2.3.4 GPTInfo API

  • 15

    3. On-ly 2.0

  • 3.1 AWS

    16AWS EC2(Amazon Elastic Compute Cloud)

    3. On-ly 2.0

    AWS LVS

    GPTInfo API

    Elsasticsearch

    Instance Type: t2.mediumStorage Size : 16GiB

    Only-01

    GPTInfo API

    Elsasticsearch

    Instance Type: t2.mediumStorage Size : 16GiB

    Only-02

    GPTLog Collector

    Elsasticsearch

    Instance Type: t2.mediumStorage Size : 16GiB

    Only-03

    Redis Elasticsearch Cluster

    API SERVER QUEUE SERVER

  • 17

    4.

  • 18

    4.

    a. On-ly 2.0 - http://blog.embian.com/89b. On-ly 2.0 - http://blog.embian.com/87c. On-ly 2.0 https://prezi.com/z5dymyp27jfj/on-ly/

    http://blog.embian.com/89http://blog.embian.com/89http://blog.embian.com/87http://blog.embian.com/87https://prezi.com/z5dymyp27jfj/on-ly/https://prezi.com/z5dymyp27jfj/on-ly/

  • Thank you

    19