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

PHPで学ぶCacheの距離の話

 PHPで学ぶCacheの距離の話

Cacheの距離について

Ryo Tomidokoro

October 31, 2018
Tweet

More Decks by Ryo Tomidokoro

Other Decks in Programming

Transcript

  1. Oxford Dictionary ΑΓ An auxilirary memory from which high speed

    retrieval is possible ߴ଎Ͱσʔλऔಘ͕Ͱ͖ΔهԱ૷ஔ
  2. 5$1઀ଓ $16ԋࢉ %JTL*0 MySQL + + ΫΤϦ݁ՌΛಘΔ·Ͱͷ࣌ؒ - RedisʹCache 5$1઀ଓ

    .FNPSZ*0 Redis + ಉҰωοτϫʔΫ಺ͷDBͷΫΤϦ݁ՌΛCache ΫΤϦ݁ՌΛಘΔ·Ͱͷ࣌ؒ
  3. PHPͰϩʔΧϧCache ϩʔΧϧRedis, Memcached -> ਏ͍ ϑΝΠϧ -> ͍͍͚Ͳ… APCu(ϝϞϦ) ->

    ྑͦ͞͏ աڈͷऔΓ૊Έ - ແཧ΍ΓOPCache࢖͏Cache https://speakerdeck.com/hanhan1978/cachegasu-ifalsekaque-ren-suruhua