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

Hello fast_jsonapi

Hello fast_jsonapi

usecase fast_jsonapi

Kaoru Hotate

June 06, 2019
Tweet

More Decks by Kaoru Hotate

Other Decks in Technology

Transcript

  1. GBTU@KTPOBQJ ͷಛ௃  ಛ௃GBTU serialization time is at least 25

    times faster than Active Model Serializers on up to current benchmark of 1000 records.
  2. )PXEPFTGBTU@KTPOBQJ HFUTPGBTU  IUUQTHJUIVCDPN/FUGMJYGBTU@KTPOBQJJTTVFT  $BDIJOH UIFBUUSJCVUFEFGJOJUJPOT SFMBUJPOTIJQEFGJOJUJPOT  LFZUSBOTGPSNTFUD

    NBLFTTFSJBMJ[JOHIPNPHFOFPVTMJTUT GBTUFS  8FEPOUDSFBUFPCKFDUTXIFOFWFSXFDBOBWPJEPCKFDU DSFBUJPO  )BWJOHQFSGPSNBODFUFTUTGSPNUIFCFHJOOJOHIFMQFEVT VOEFSTUBOEUIFQFSGPSNBODFJNQBDUPGGFBUVSFTXFCVJMU
  3. KTPOBQJ͕࣮ݱ͍ͨ͜͠ͱ  IUUQTKTPOBQJPSHGPSNBUGFUDIJOHJODMVEFT ʮ *ODMVTJPOPG3FMBUFE3FTPVSDFTʯ "OFOEQPJOU .": BMTPTVQQPSUBO JODMVEF SFRVFTU

    QBSBNFUFSUPBMMPXUIFDMJFOUUPDVTUPNJ[FXIJDISFMBUFE SFTPVSDFTTIPVMECFSFUVSOFE &YBNQMF (&5BSUJDMFT JODMVEFDPNNFOUT BSUJDMFTʹDPNNFOUTΛKPJOͯ͠ฦ͢
  4. KTPOBQJ͕࣮ݱ͍ͨ͜͠ͱ  IUUQTKTPOBQJPSHGPSNBUGFUDIJOHTQBSTFGJFMETFUT ʮ 4QBSTF'JFMETFUT ʯ "DMJFOU .": SFRVFTUUIBUBOFOEQPJOUSFUVSOPOMZ TQFDJGJD

    GJFMET JOUIFSFTQPOTFPOBQFSUZQFCBTJTCZ JODMVEJOHB GJFMET<5:1&> QBSBNFUFS &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