라인은 어떻게 글로벌 메신저 플랫폼이 되었는가

ऐसा लगता है कि आप बहुत तेज़ी से काम करके इस सुविधा का दुरुपयोग कर रहे हैं. आपको इसका उपयोग करने से अस्थायी रूप से ब्लॉक कर दिया गया है.

अगर आपको लगता है कि यह हमारे कम्युनिटी स्टैंडर्ड के विरुद्ध नहीं है, तो हमें बताएँ.

  • / 4 LINE+

    LINE

  • CONTENTS

    LINE? Global Platform LINE

    Client Analytics Apps

    Global Network

    LINE Game

    Big Data Security

  • 490+ Million Users

  • Q&A

    6+ Global Branch

    6 Engineering

    Base

    4 Regional CS Center

    Global Platform

    8 Global POP

    100+Gbps thru

    100+ Peering 20,000 Servers

    9 Supported

    OS

    20 : 80 Japan : World

    1B Downs 71 Apps

  • Q&A

    1. Ranked #1 in 60 countries

    2. 71/179 Family Apps, 17+ Language Support, 9 OS Supported and more 3. Glocalization : emoji, stickers, UX, event

    But, 2 1. ,

    2. ()!

    Global Problem 2

  • Q&A

    1. ? , , ,

    2. ?

    3. ?

    4. ?

    5. ?

    6. ? ?

    v : boss ?

  • 2012 12 Spain, ( Telegram)

    2013 2 , Spain

    2 ~ 6 Client/Server 3 ~ 5

    GPRS, Edge, 3G/3G+, 4G/LTE and Airplane WiFi

    , , , ,

    , , ,

    - LINE

  • Taiwan

    Indonesia

    India

    Spain

    LINE

  • ()

    Welcome to Hell : Transparent Cache/Proxy 503, sessions, image, header Transparent images, Content-Length, X-Capital-Header:

    : IP, DNS blackhole, VoIP, DPI, / 3G , http://helloworld.naver.com/helloworld/111111 High DNS resolving failures : 40-60% at peak time on some carriers Philippines, Vietnam, Indonesia, India, China, Iran

  • : HTTPS and SPDY on 443/tcp : No one magic protocol,

    SPDY, HTTPS, HTTP protocols are supported on a single 443/tcp : , peering, zero rating

    [email protected] : less round trips, less bytes, light UI

    Async operations, pre-fetching, background sync Warmup 3G(Ping) and TCP(pre-connection) CDN, Cloud DNS on BGP Anycast , UX :

  • , App Reviews Client Analytics

    New features Zombie WiFi(Captive portal) More compact protocol Typing ping

    Troubleshooting, Improvements SPDY protocol In-flight WiFi Battery

  • () 2013.04, 1

    , Android : Package File invalid Google, Android iOS X beta : beta major, minor bugs, crashes , , Phone, OS, /UX : Features comparison by Apps : WhatsApp vs LINE (), Tag Cloud Weekly Review by Language/Region

    App Reviews

  • App Reviews

  • App Reviews

  • User Behavior Analytics , Performance & problem trending WiFi , App Big Data , , OS & App version tracking

    , . () QMS, Gomez, Google Analytics ?

    Client Analytics

  • Time to send, receive Text / Audio / Video / Sticker / Themes Size and speed to send, receive Multimedia files Error types, error rates of each operations

    Net connect and DNS resolving Battery usage in bg/fg, # of run per day

    Client Analytics

  • Only SPDY

    SPDY, SPDY, SPDY : 99.8% http(s) connection : +1 RTT, , TCP window size

    SPDY server-side push

  • More compact protocol

    send helloOut (DATA)

    send helloIn (ACK)

    get helloIn (DATA)

    get helloout (ACK)

    WhatsApp 56 44 97 43 LINE 83 100 (63) 244 166

    Chunghwa : 8~9

    In 200byte + Out 200byte , 3G FACH ~ DCH transition delay 3G RRC transition delay , FACH

    , P4 : P5 = 244.8 : 194.7 (19.5% ) 1000byte = 149.4 : 117.9 (21.2% )

  • In-flight WiFi

    : 300~1000ms RTT, 1 download 5Mbps & upload 1Mbps

    WiFi HTTPS SPDY

    => light but strong encryption NSpeedEm, Apples Network Link Conditioner simulation

  • Light but strong encryption

    SSL mobile connection : 1 RTT max 1 .

    Server Certificate

    RSA + AES Redis session cache

    HTTPS () (OS)

    size, SSL handshaking

    HTTPS () (OS)

    SSL handshaking

    Public Key + AES

  • : looping Server side ping than client side ping Push notification

    Stop background polling for inactive users

    Timeout wake-lock

    WLD .

    Android Battery, WLD, BetterBatteryStats

    Android battery

  • Android battery

    Total mA Total 3G Total CPUGCM only 538 1,604 387 Client Ping 3, 731 12,474 1,333 Server Ping 2,596 8,126 1,482

    Client Side Ping Timer: heartbeating every X seconds Network: upstream

    Server Side Ping 30% less than client side ping Timer : reset and start when received ping Network: downstream

  • , , : App , ! since year 2012 By OS, App Version, Country, Carrier, WiFi or Mobile

    UI, protocol, push, failover, max #, interval, address, , workaround (, )

    , J ( )

    /

  • Performance & battery (Android)

    Fixing various problems w/ transparent caches Fighting with blockings

    1 1 0 2 , ?

    /

  • POP (2014.6 ) 2. Global Network Async send operation

    nearest POP responds OK first, with late notification if any errors

  • Captive portal High failure rate in DNS resolving IPv6 network : ready ?

    ..

    Topic

  • Storage of LINE

  • Redis

  • , 50+ TB, 10+ clusters, 3000+ shards, 30M+ Op/sec

    Shard Availability

    Redis master-slave replication Auto promotion & recovery

    Cluster robustness Cluster manager , shard

    Service Availability

    Redis , HBase fail-over

    Redis

  • layer Consistency Availability , write call . Read Write failover.

    Read >> Write. Read availability . Failover

    Redis single thread. . Shard , failover .

    Dual-async fail over

    Redis HBase . fail over , redis retry HBase retry .

    Cluster

    Sharding

    Redis

  • HBase, using persistent storage entirely Running 10 x HBase clusters

    Addressbook, messages x 2, backup, stats

    Operation, archive-operation, event, channel, user 1.24 PB capacity for service data, 7PB for statistics, lots of FusionIO (300 ~)

    Operation HBase cluster 220K RPS from 150 node(153TB)

    HBase, Bigger than bigger

  • / , but response time/availability HBase @LINE

    dual cluster : cluster-wide failure

    availability application throughput response time (gc , FusionIO )

    immutable data redis cache : cluster replication , join 0.90 cdh3 , online upgrade ,

    (offline .. )

    HBase cluster replication: pull based replicator (vs push based )

    HBase,

  • Abuser == Social Engineer

    Global Platform means global eco(nomic)-systems for abusers Spamming, Stealing Accounts, Phishing

    Brute force 90% of authentication failures : 5M Gmail Passwords Leaked abusing bots , Tor and China

    5 ID blocking ? Add friend notification : LlNE lndonesia .

    , CS

    Abusing

  • Answers are Email & password

    Strong Authentication 2nd factor, 3rd factor authentication

    Smartphone(SMS) and App as OTP device CAPTCHA, QR Code, PIN code by System OA

    (X) ? (20% ) (O) & 4 ? 1 of 10^8,

    15 2

    Abusing

  • WERE HIRING

    http://recruit.linepluscorp.com/ [email protected]

    LINE Developers Conference

    11/26(), COEX

    http://developers.linecorp.com/blog/

  • Q&A

    THANK YOU