Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LINE LIVE's Development Challenge - 2021 early

LINE LIVE's Development Challenge - 2021 early

TECH STAND #4 常時接続SNS~ライブ配信基盤を支える技術~

「LINE LIVEで経験してきた課題や解決策などをぶっちゃける」
LINE株式会社 開発3センター サービス開発1室 室長 大沢和宏 (@Yappo : https://twitter.com/Yappo )

LINE Developers

May 14, 2021
Tweet

More Decks by LINE Developers

Other Decks in Technology

Transcript

  1. LINE LIVEͰܦݧ͖ͯͨ͠ ՝୊΍ղܾࡦͳͲΛͿͬͪΌ͚Δ > Kazuhiro Osawa / @Yappo TECH STAND

    #4 ৗ࣌઀ଓSNS~ϥΠϒ഑৴ج൫Λࢧ͑Δٕज़~ 2021/05/14
  2. αʔϏε֓ཁ › ϦϦʔεલ: LINE Appͷதʹੜ഑৴ΛࢹௌͰ͖Δػೳ͕ఏڙ͞Ε͍ͯͨ › 2015೥: ܳೳਓ΍ΞʔςΟετͳͲͷੜ഑৴ΛࢹௌͰ͖Δ LINE LIVE

    AppΛϦϦʔε › 2016೥: ݸਓͰ΋ಈը഑৴ΛՄೳʹ͢Δ഑৴ػೳΛఏڙ › LINE AppͷதͷLIVEϓϨΠϠʔͱLINE LIVE AppͷϓϨΠϠʔͷ ιʔείʔυΛڞ௨ʹ͢Δ։ൃମ੍੔උ(࠷ۙ͸৭ʑߟ͑ͯ෼཭͢Δ͜ͱʹͨ͠) › 2020೥: ༗ྉΠϕϯτͳͲͷΦϯϥΠϯ഑৴Λߦ͏LINE LIVE-VIEWINGΛ։࢝
  3. Tech Stack › Java, Kotlin, Spring Boot, Akka › Private

    Cloud › MySQL, Redis, Elasticsearch, Kafka › WebSocket, RTMP, HLS › Native app͸Swift, Kotlin › ※ಈըαʔό͸ࣗࣾ։ൃ
  4. Object Storage Media Servers Host CDN LINE Talk Server LIVE

    Billing CMS API Server LINE LIVE Architecture RTMP Chat Server JSON API WebSocket Upload HLS files Cache
  5. Object Storage Media Servers Host CDN LINE Talk Server Billing

    CMS API Server LINE LIVE Architecture (LINE app) RTMP Chat Server JSON API Upload HLS files Cache LINE App WebSocket
  6. ࣮͸਺ଟ͘ͷPivotΛ͍ͯ͠Δ › গ਺ͷஶ໊ͳํ͕େن໛ͳࢹௌऀʹ഑৴Λఏڙ͢ΔαʔϏε͔Βɺଟ਺ͷҰൠ഑৴ऀ͕খத ن໛ͷࢹௌऀʹ഑৴Λఏڙ͢ΔαʔϏε΁ › LINE LIVE appͷΈࢹௌͰ͖͍͕ͯͨLINE app͔Β΋ࢹௌՄೳʹ ›

    LINE appͷ୆࿷ɺλΠɺΠϯυωγΞͷϢʔβʹରͯ͠ػೳఏڙ › ݸਓ഑৴ऀ͕ΑΓ׆༂͕ՄೳʹͳΔαʔϏεڧԽΛ࣮ࢪ › LINE NEWSͳͲͱͷϦΞϧλΠϜ࿈ܞ › ༗ྉ഑৴։࢝ › (ٕज़తʹ͸Web ϑϨʔϜϫʔΫ΍ࣾ಺Πϯϑϥͷมߋ࡞ۀͳͲͳͲ΋͋Γ)
  7. Load Testing Architecture Slack Bot API Lode Test Manager GitHub

    Sync scenario files Load Test Node Load Test Node Load Test Node Target Servers with exporters MySQL Redis .stress and scenario ID Alert Manager Detect dashboard urls and send images Datasource
  8. › Engineers can execute test via slack › Engineers can

    specify “load variable” like › simultaneous viewers num “.stress” for Load Testing Repeatability
  9. › Abstract of the result is notified to Slack ›

    Important server metrics is also notified via Bot Result Notification Understandability
  10. ҰॹʹαʔϏεΛਐԽͤͯ͘͞ΕΔ ஥ؒΛઈࢍٸืதͰ͢ʂ › αʔόʔαΠυΤϯδχΞ / LINEϑΝϛϦʔαʔϏε https://linecorp.com/ja/career/position/241 › iOS/Android /

    LINEϑΝϛϦʔαʔϏε https://linecorp.com/ja/career/position/859 › ςΫχΧϧϓϩμΫτϚωʔδϟʔ / LINEϑΝϛϦʔαʔϏε https://linecorp.com/ja/career/position/2246