料理を支える技術2012

2997ec7879942bd0415690c85731e328?s=47 Yuichi Tateno
September 18, 2012
10k

 料理を支える技術2012

2997ec7879942bd0415690c85731e328?s=128

Yuichi Tateno

September 18, 2012
Tweet

Transcript

  1. 2.
  2. 7.
  3. 11.
  4. 24.

    $  bundle  exec  rake  cookpad:spec FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFF...F....F.FFFFFFFFF FFFFFF.FFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

    FFFFFFFFFFFFFF...FFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFF.FFFFFFFFFFFFFFF..FFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFF...FFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFF..F.FFFFFFFF.FFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFF....F...FFFFF
  5. 25.

    $  bundle  exec  rake  cookpad:spec FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFF...F....F.FFFFFFFFF FFFFFF.FFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

    FFFFFFFFFFFFFF...FFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFF.FFFFFFFFFFFFFFF..FFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFF...FFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFF..F.FFFFFFFF.FFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFF....F...FFFFF ʗ ?P? ʘ
  6. 39.

  7. 43.

    $  spec  -­‐l  139  spec/controller/ recipe_spec.rb write:  normal/spec/controller/ recipe_spec.rb:139.html $

     RAILS_XSS=1  spec  -­‐l  139  spec/ controller/recipe_spec.rb write:  htmlsafe/spec/controller/ recipe_spec.rb:139.html
  8. 44.
  9. 47.
  10. 48.
  11. 49.
  12. 52.

    $  bundle  exec  rake  cookpad:spec ......FFF...................... ...............F...FFF......... ............................... ............................... ....FFF........................

    ............................... ..............................F ..............................F ............................... ..............FF............... ............................... ...............F.F............. ....FFFFFF..................... ......................F..F.....
  13. 53.

    $  bundle  exec  rake  cookpad:spec ......FFF...................... ...............F...FFF......... ............................... ............................... ....FFF........................

    ............................... ..............................F ..............................F ............................... ..............FF............... ............................... ...............F.F............. ....FFFFFF..................... ......................F..F..... $  RAILS_ENV=production bundle  exec  rails  server
  14. 61.
  15. 68.
  16. 70.

       disabled  =  GC.enable    GC.start    GC.disable  if  disabled

    after_fork  do  |server,  worker|    GC.disable  if  RAILS_ENV=='production'
  17. 71.
  18. 72.
  19. 73.
  20. 77.

    $  bundle  exec  rake  cookpad:spec ............................... .....................F......... ............................... ............................... .....F.........................

    ............................... ............................... ............................... ............................... ............................... ............................... ............................... ............................... .........................F.....
  21. 82.

    em-proxy app Rails 2.3 app Rails 3.0 (readonly) proxy request

    only https://github.com/igrigorik/em-proxy/blob/master/examples/duplex.rb dup request
  22. 84.

    $  bundle  exec  rake  cookpad:spec ............................... ............................... ............................... ............................... ...............................

    ............................... ............................... ............................... ............................... ............................... ............................... ............................... ............................... ...............................
  23. 92.

    AWS EC2 app Rails 2.3 app Rails 2.3 app Rails

    2.3 app Rails 2.3 x50 proxy app Rails 3.0 app Rails 3.0 app Rails 3.0 app Rails 3.0 x50
  24. 93.

    AWS EC2 app Rails 2.3 app Rails 2.3 app Rails

    2.3 app Rails 2.3 x50 proxy app Rails 3.0 app Rails 3.0 app Rails 3.0 app Rails 3.0 x50
  25. 97.
  26. 105.
  27. 106.
  28. 108.

  29. 109.

  30. 110.

  31. 111.

  32. 113.
  33. 136.

    + AWS + Chanko (open source) + kuroko (new batch

    system) + IMon (new monitoring system) etcetc...
  34. 138.