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

Akka streamsを活用したログ集計に優しいデータフローの構築

Shuhei Kimura
December 05, 2018

Akka streamsを活用したログ集計に優しいデータフローの構築

Shuhei Kimura

December 05, 2018
Tweet

More Decks by Shuhei Kimura

Other Decks in Technology

Transcript

  1. 1SPpMF ໊લ  ໦ଜऺฏ4IVIFJ,JNVSB   IUUQTXXXGBDFCPPLDPNTIVIFJLJNVSB ॴଐ  גࣜձࣾαΠόʔΤʔδΣϯτ

      ΞυςΫຊ෦"E5FDI4UVEJP%ZOBMZTU    1SPEVDU.BOBHFS4PGUXBSF&OHJOFFS ܦྺ ೥৽ଔೖࣾ ೥໨  5SBDLJOH 1$"ET 4NBSU 1IPOF"ET %ZOBNJD 3FUBSHFUJOH "ET (MPCBM &YQBOTJPO
  2. ഑৴ϩάΛ4ʹӡͿͨΊͷ(SBQIߏங Kinesis Source Extract Record Flow Upload Log Flow Sink

    ˞ຊ౰͸424NFTTBHJOH'MPX΍ɺ #SPBE$BTUͳͲར༻͍ͯ͠·ׂ͕͢Ѫ
  3. Ͳͷ΁Μ͕ूܭʹ༏͍͠ͷ͔ʁ Kinesis Source Extract Record Flow Upload Log Flow Sink

    ‑‑‑‑‑ TCVDLFUYYYYYYYYZZZZH[ YYYYYY[[[[[H[ ʜ TCVDLFUYYYYZZH[ YY[[H[ ʜ 6QMPBEͨ࣌ؒ͠Ͱ͸ͳ͘ɺ ϩά͕ग़ྗ͞Εͨ࣌ؒϕʔεͰ 4ͷ࣌ؒ۠੾Γͷύʔςʔγϣϯ Ͱ֨ೲ 4QBSL$MVTUFS͸4ͷࢦఆ࣌ؒͷύεͷϩάΛ ର৅ʹूܭॲཧΛ૸ΒͤΔ ूܭ͸ɺIPVSMZ EBJMZ ͕ओ
  4. Ͳͷ΁Μ͕ूܭʹ༏͍͠ͷ͔ʁ Kinesis Source Extract Record Flow Upload Log Flow Sink

    ‑‑‑‑‑ TCVDLFUYYYYYYYYZZZZH[ YYYYYY[[[[[H[ ʜ TCVDLFUYYYYZZH[ YY[[H[ ʜ Before After BufferType Memory Local Disc S3 Object Size 5mbલޙ 15mbલޙ ूܭ࣌ؒ 30min 15min
  5. ͓·͚ɿ&$4ͷDPNQVUF3FTPVSDFʹ΋༏͍͠࡞Γʹ Kinesis Source Extract Record Flow Upload Log Flow Sink

    ‑‑‑‑‑ 'MPXͷத਎ ,JOFTJT3FDPSE͔Βɺඞཁͳ৘ใΛൈ͖ग़ͯ͠ɺΩϨΠʹ͢Δ ύʔςΟγϣϯ͝ͱʹ-PDBMͷετϨʔδʹϩάΛόοϑΝϦϯά ϝϞϦফඅ཈੍ʢ(#(#ʣ Ұఆ༰ྔҰఆ࣌ؒܦա͢Δͱ4ʹ1VU0CKFDU ‑‑‑‑‑