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

スケール可能で運用しやすいWebSocketサーバ設計の課題と工夫 / The develop...

mackee
August 23, 2018
19k

スケール可能で運用しやすいWebSocketサーバ設計の課題と工夫 / The development of scalable and operating friendly WebSocket Server

CEDEC 2018

mackee

August 23, 2018
Tweet

More Decks by mackee

Transcript

  1. ύέοτ٧·ΓΛىͯ͜͠࠶ૹ͕ߦΘΕ͍ͯ Δϩά 21:00:47 plack.1 | 1019.259 ms [Furl::HTTP] POST http://XX.XX.XX.XX:9180/send

    | Furl:40 21:00:47 plack.1 | 3017.341 ms [Furl::HTTP] POST http://XX.XX.XX.XX:9180/send | Furl:40 21:00:47 plack.1 | 1017.801 ms [Furl::HTTP] POST http://XX.XX.XX.XX:9180/send | Furl:40 21:00:47 plack.1 | 7174.359 ms [Furl::HTTP] POST http://XX.XX.XX.XX:9180/send | Furl:40 21:00:47 plack.1 | 1025.966 ms [Furl::HTTP] POST http://XX.XX.XX.XX:9180/send | Furl:40 21:00:47 plack.1 | 10010.330 ms [Furl::HTTP] POST http://XX.XX.XX.XX:9180/send | Furl:40 1, 3, 7, 10...ͱ஗Ԇ͍ͯ͠ΔͷͰ࠶ૹͰ٧·͍ͬͯΔͷͰ͸ʁ ͱ ͳͬͨ
  2. A1: ϞόΠϧʹ͓͍ͯ͸ͦͷݶΓͰ͸ͳ͍ • લ൒͕ݻఆޫճઢܦ༝ͷWiFi, ޙ൒͕4G • WiFiͩͱ20 ʙ 30ms, 4Gͩͱ75msʙ

    • LBΛܦ༝͢Δ͜ͱʹΑΔϨΠςϯγ͸1ܻmsఔ౓ • ϞόΠϧʹ͓͍ͯ͸LBʹΑΔϨΠςϯγ͸ࢧ഑తͰ͸ͳ͍