Recipes of Recipe Search

Recipes of Recipe Search

"Recipes of Recipe Search" (レシピ検索開発のレシピ)
13 Jan, 2013 at Tokyo Ruby Kaigi #10 (#tkrk10)

3e809b3e856f5eed33e279cf93657d3c?s=128

Shimpei Makimoto

January 13, 2013
Tweet

Transcript

  1. Recipes of Recipe Search Ϩγϐݕࡧ։ൃͷϨγϐ Shimpei Makimoto, COOKPAD Inc. https://github.com/makimoto

    https://twitter.com/makimoto 13 Jan, 2013 | Tokyo Ruby Kaigi #10 ࢖༻ॻମখ௩ΰγοΫ130/Yanone Kaffeesatz
  2. whoami

  3. Shimpei Makimoto / ຀ຊ৻ฏ Software Engineer at Search Team, Service

    Infrastructures Group, Technology Div., COOKPAD Inc. ΫοΫύουגࣜձࣾ ٕज़෦αʔϏεΠϯϑϥετϥΫνϟʔάϧʔϓ ݕࡧνʔϜ https://{github,twitter}.com/makimoto
  4. None
  5. ۙگ ࡱӨઍ༿ࢢඒ඿จԽϗʔϧ

  6. ۃΊͯॏཁͳ͜ͱ఺

  7. We’re hiring http://info.cookpad.com/jobs/ http://info.cookpad.com/graduates/

  8. ϓϨϛΞϜαʔϏε ԁ݄

  9. ຊ୊ ඃࣸମউؒ͞Μ

  10. ࠓ೔࿩͢͜ͱ

  11. ࠓ೔࿩͢͜ͱ ΫοΫύουͷݕࡧνʔϜͷ ͍ͭ΋ͷ࢓ࣄʹ͍ͭͯ࿩͠·͢ɻ

  12. None
  13. wϨγϐ\౤ߘ ݕࡧ^αʔϏε w݄ؒ66ສਓ wϨγϐ਺ສ w3VCZPO3BJMT  wΤϯδχΞਓ͘Β͍ ΫοΫύου

  14. ؘ໺༞Ұ ྉཧΛࢧ͑Δٕज़ ࡳຈ3VCZձٞ IUUQTTQFBLFSEFDLDPNIPUDIQPUDIMJBPMJXP[IJFSVKJTIV ࢀߟࢿྉ 

  15. ݉ࢁݩଠ 4PMSΛ࢖ͬͨϨγϐݕࡧͷϓϩτλΠϐϯά Ϟʔγϣϊϩδʔ IUUQXXXTMJEFTIBSFOFUQFOHVJOBOBTPMS ࢀߟࢿྉ 

  16. Ϩγϐݕࡧ wΫοΫύουͷओཁػೳ ͷҰͭ wਓؾॱݕࡧɺΧςΰϦɺؔ࿈Ωʔ ϫʔυFUD wϨγϐΛͷͤΔਓͱ͕͢͞ਓΛܨ͙

  17. ݕࡧνʔϜ wϝϯό໊ wݕࡧʹ͔͔ΘΔ͢΂ͯʹ੹೚Λෛ͏ w ΄΅ ਓͰϢʔβສਓͷ ʮԿͨ΂Α͏ʯΛࢧ͑Δ @PENGUINANA_ @makimoto ࡱӨനۚ୆ͲΜ͙Γࣇಐ༡Ԃ

  18. ։ൃ͢Δ ӡ༻͢Δ ࡱӨΦϑΟε

  19. Puppet ͔Β CSS ·Ͱ

  20. master repeater repeater slave slave slave slave cache cache apps

    batch ˞αʔόͷ਺͸ద౰Ͱ͢ write replication read page cache
  21. None
  22. None
  23. None
  24. Ϩγϐݕࡧ͸ ओཁػೳ ͷҰͭ ࠶ܝ

  25. ˺ ݹ͍ϩδοΫ͕ ଟ͍ ࡱӨ+3۝भࡾ֯ઢॅ٢Ӻ

  26. ˺ ݹ͍ϩδοΫ͕ ଟ͍ ࡱӨ+3۝भࡾ֯ઢॅ٢Ӻ

  27. ࡱӨ෬ݟҴՙେࣾ ݹ͍΋ͷΛ ৽͍͠΋ͷʹ ஔ͖׵͑Δ

  28. - Senna/Tritonn + Solr

  29. - MySQL based logging + Fluentd/TreasureData

  30. - (Tritonn/)MySQL 5.0 + MySQL 5.5

  31. Refactoring ࡱӨ೔ൺ୩ઢ޿ඌӺલ

  32. - +

  33. - # => 140.hours + # => 4.hours a_batch.process_time ࣮࿩

  34. ࡱӨͱΜ͔ͭͱΜ͖໨ࠇళ ޱ͸ग़͢͠ ख΋ಈ͔͢

  35. None
  36. None
  37. ྫ͑͹ ύϑΥʔϚϯενϡʔχϯά

  38. ݕࡧ͸ ൺֱత ॏ͍ ࡱӨ࣮Ոͷۙॴ

  39. master repeater repeater slave slave slave slave cache cache apps

    batch ˞αʔόͷ਺͸ద౰Ͱ͢ write replication read page cache
  40. ϖʔδΩϟογϡΛ؏௨ͨ͠ ϨεϙϯελΠϜΛ؂ࢹ

  41. None
  42. ύϑΥʔϚϯε͕ѱԽͨ͠Β ࣮૷ऀͱҰॹʹ௚͢

  43. caches_action Ͱݕࡧ݁Ռ ΛΩϟογϡ

  44. ΩϟογϡΛద༻

  45. wrapping up ࡱӨΦϑΟε

  46. ࠓ೔࿩͢͜ͱ ΫοΫύουͷݕࡧνʔϜͷ ͍ͭ΋ͷ࢓ࣄʹ͍ͭͯ࿩͠·͢ɻ

  47. ։ൃ͢Δ ӡ༻͢Δ ࡱӨΦϑΟε

  48. ࡱӨ෬ݟҴՙେࣾ ݹ͍΋ͷΛ ৽͍͠΋ͷʹ ஔ͖׵͑Δ

  49. ࡱӨͱΜ͔ͭͱΜ͖໨ࠇళ ޱ͸ग़͢͠ ख΋ಈ͔͢

  50. Recipes of Recipe Search Ϩγϐݕࡧ։ൃͷϨγϐ Shimpei Makimoto, COOKPAD Inc. https://github.com/makimoto

    https://twitter.com/makimoto 13 Jan, 2013 | Tokyo Ruby Kaigi #10 ࢖༻ॻମখ௩ΰγοΫ130/Yanone Kaffeesatz