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

テスト駆動検索のススメ [第3回Elasticsearch勉強会]

tadyjp
February 07, 2014

テスト駆動検索のススメ [第3回Elasticsearch勉強会]

2014-02-07に開催された第3回ElasticSearch勉強会での発表スライド。
内容を一部修正しました。

株式会社じげん 多田雅斗@tady_jp

tadyjp

February 07, 2014
Tweet

More Decks by tadyjp

Other Decks in Programming

Transcript

  1. p ʮΫϥ΢υʯ࣌୅ʹϚονͨ͠εέʔϥ ϏϦςΟ p  4IBSEͷࣗಈ഑ஔ p  3FQMJDBͷࣗಈ෮ؼ p  ϊʔυΛ௥Ճ͢Ε͹উखʹz࢖͑Δz p 1MVHJOίϛϡχςΟ p 

    ׆ൃ p 3&45GVMMͳJOEFYઃఆ p  *OEFYNBQQJOH৘ใ͕HJUͰ࢒Δͱخ͍͠ https://github.com/tadyjp/test_driven_search 
  2. p  ެࣜαΠτ p  େମ͜͜Ͱ଍ΓΔ p  ॻ੶ p  ֓ཁΛ೺Ѳ͢Δͷʹศར p  ͔͠͠ӳޠ

    p  4UBDL0WFS'MPX p  ͋ͳ͕ͨϋϚΔͱ͜͸ɼΈΜͳϋϚ͍ͬͯΔ p  .BJMJOH-JTU p  ݕࡧੑ͕ɽɽɽ p  ௚઀ΫΤϦΛௐࠪ p  $ISPNFr4FOTF͕ศར https://github.com/tadyjp/test_driven_search 
  3. [http://www.elasticsearch.org/case-studies/] 3.6 million query / day 460 million documents 14

    million users Million updates 4 million users 8 million codes & events 110 million events 20 million prices 400 million documents 30 million users 10+ million conetnts https://github.com/tadyjp/test_driven_search 
  4. ࠷ѱɺ"QQ%#ଆͰ୅ସՄೳ p  શจݕࡧ p  ෳ਺ΧϥϜʹ·͕ͨͬͨݕࡧ p  ߴ౓ͳείΞϦϯά p  #PPTURVFSZ p 

    ϑΝηοτݕࡧ p  'BDFUTRVFSZ p  ෳࡶͳάϧʔϐϯάػೳ p  &MBTUJD4FBSDIʹ͸·ͩ͜ͷػೳ͕ͳ͍ʂʁ p  /FTUػೳɺ1BSFOU$IJMEػೳͰҰ෦୅ସՄೳ p  αδΣετػೳ p  ΋͔ͯ͠͠ʁ p  ΦʔτίϯϓϦʔτ p  ϋΠϥΠτػೳ p  "QQଆͰॲཧ p  Ң౓ܦ౓ݕࡧ p  .ZTRMQPJOUܕͱ͔1PTUHSFTͱ͔ https://github.com/tadyjp/test_driven_search 
  5. p  ςελʔʮ͜Εɺඞཁͳจॻ͕)JU͠ͳ͍Αʯ p  ։ൃऀɹʮ͢Μ·ͤΜʯʢʉʔʉ ʎ p  ςελʔʮ͜Εɺअຐͳจॻ͕ࠞ͟Γ͗͢͡Όͳ͍ʁʯ p  ։ൃऀɹʮ͢Μ·ͤΜʯʋ ʔ@ʔ

    ϊ p  Ӧۀɹɹʮ͝ΊʔΜɻΫϥΠΞϯτ͔ΒͷϑΥʔϚοτมΘͬͨʯ p  ઃܭऀɹʮ͠Όʔͳ͍ͳɻ ɹɹɹɹɹɹɹೲظ৳ͼͯ΋͍͍͔Β։ൃऀΑΖ͘͠ʂʯ p  ։ൃऀɹʮ͑ͬʯ ʄϩʄ  p  σβΠφʮݕࡧϑΥʔϜʹΦʔτίϯϓϦʔτ௥Ճ͍ͨ͠ʯ p  ։ൃऀɹʮͦΕૣ͘ݴͬͯཉ͔ͬͨ͠ͳ͊ʯ ʄʄʣ p  Ϛʔέɹʮෆཁͳϖʔδʹ͸ϦϯΫΛுͬͯ΄͘͠ͳ͍Αʯ p  ։ൃऀɹʮͦΕ΋ૣ͘ݴͬͯཉ͔ͬͨ͠ͳ͊ʯᵇ ʉʔʉ ᵃ p  ઃܭऀɹʮಉ͡ݕࡧ৚݅ͳΒ˛˛Λ˙˙ΑΓ্Ґʹग़ͯ͠ཉ͍͠ʯ p  ։ൃऀɹʮͦΜͳ࢓༷ฉ͍ͯͳ͍ʂ͢Μ·ͤΜʯ ϊшɾɻ  https://github.com/tadyjp/test_driven_search 
  6. ݕࡧ ߜΓࠐΈ 'BDFUT  ݅਺΋ग़Δ σʔλ͸ %#͔Β &MBTUJD4FBSDI .Z42- *%ͷΈ

    ҾͬுΔ https://github.com/tadyjp/test_driven_search