Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sinatraで触れる生SQL

715 views

Published on

Shinjuku.rb #55
https://shinjukurb.connpass.com/event/71662/

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Sinatraで触れる生SQL

  1. 1. Sinatra SQL 2017/11/22 Shinjuku.rb #55 @treby006
  2. 2. • treby ( @treby006 ) • Shinjuku.rb • : Enumerable#each_with_object •
  3. 3. • Repro Software Engineer • Rails :) • • jQuery → Vue component • ALB target group • PO
  4. 4. • 1
  5. 5. • 12/16( ) @ • https://imas.connpass.com/event/70592/
  6. 6. • ISUCON Ruby Sinatra Web
  7. 7. IM@Square •
  8. 8. • ISUCON Ruby Sinatra Web • https://github.com/imas/imasquare
  9. 9. ISUCON • Iikanjini Speed Up CONtest • Web (8 ) • • Ruby, Python, PHP, Perl, Go… • Ruby Sinatra
  10. 10. • • Rails • • capistrano deploy • docker • ridgepole migration • ( )
  11. 11. • MySQL App • (ALB ) ( ) nginx, unicorn, mysql
  12. 12. gem • sinatra ( ) • capistrano ( ) • mysql2, mysql2-cs-bind ( ) • ridgepole (migration) • redcarpet (markdown) • omniauth, omniauth-slack (slack ) • pry ( )
  13. 13. • • XSS •
  14. 14. SQL
  15. 15. SQL • mysql2 gem query Hash /SELECT • fetch • typo -> (^o^) • SELECT column ->
  16. 16. 400 app.rb • •
  17. 17. 400 app.rb • Web • • • →
  18. 18. …… • • sinatra simple DSL
  19. 19. • • Rails • Rails
  20. 20. • https://imasquare.treby.info/ • • WebPage Test
  21. 21. Rails : 3.469s
  22. 22. dev.to : 2.517s
  23. 23. imasquare: 1.845s
  24. 24. : 0.381s
  25. 25. • • • • • ( ) • Ruby Rails ( )

×