Сверчков Николай
Racoons Group
Предыдущие результаты
http://ylan.segal-family.com/blog/2013/05/20/unicorn-vs-puma-redux/
Development env+ NewRelic
1 запрос(ms)
Webrick + Ruby 1.9.3-p374

2 запрос(ms)

7.500

4.500
Development env + NewRelic
1 запрос(ms)

2 запрос(ms)

Webrick + Ruby 1.9.3-p374

7.500

4.500

Webrick + Ruby 2.1.0

4.60...
Development env+ NewRelic
1 запрос(ms)

2 запрос(ms)

Webrick + Ruby 1.9.3-p374

7.500

4.500

Webrick + Ruby 2.1.0

4.600...
Переход на jruby


Отвалившиеся Gem’ы:


debugger



binding_of_caller



pg



unicorn
Development env+ NewRelic
1 запрос(ms)

2 запрос(ms)

Webrick + Ruby 1.9.3-p374

7.500

4.500

Webrick + Ruby 2.1.0

4.600...
Development env+ NewRelic
1 запрос(ms)

2 запрос(ms)

Webrick + Ruby 1.9.3-p374

7.500

4.500

Webrick + Ruby 2.1.0

4.600...
RAILS_ENV=production

siege –b –c$USER_COUNT –t$TIMEs $URL
1700
1600
1500
1400
1300
1200
1100
1000
900
800
700
600
500
400
300
200
100
0

response

response

Ruby – 2.1.0

2
Unicorn...
1700
1600
1500
1400
1300
1200
1100
1000
900
800
700
600
500
400
300
200
100
0

response

response

Ruby – 2.1.0

2
Unicorn...
1700
1600
1500
1400
1300
1200
1100
1000
900
800
700
600
500
400
300
200
100
0

response

response

Ruby – 2.1.0

2
Unicorn...
1700
1600
1500
1400
1300
1200
1100
1000
900
800
700
600
500
400
300
200
100
0

response

response

Ruby – 2.1.0

2
Unicorn...
1700
1600
1500
1400
1300
1200
1100
1000
900
800
700
600
500
400
300
200
100
0

response

response

Ruby – 2.1.0

2
Unicorn...
Спасибо за внимание!
UNICORN vs PUMA
Upcoming SlideShare
Loading in …5
×

UNICORN vs PUMA

1,499 views

Published on

Данная презентация Сверчкова Николая подробно и наглядно раскрывает тему при помощи графиков и таблиц

Published in: Education, Technology
  • Be the first to comment

UNICORN vs PUMA

  1. 1. Сверчков Николай Racoons Group
  2. 2. Предыдущие результаты http://ylan.segal-family.com/blog/2013/05/20/unicorn-vs-puma-redux/
  3. 3. Development env+ NewRelic 1 запрос(ms) Webrick + Ruby 1.9.3-p374 2 запрос(ms) 7.500 4.500
  4. 4. Development env + NewRelic 1 запрос(ms) 2 запрос(ms) Webrick + Ruby 1.9.3-p374 7.500 4.500 Webrick + Ruby 2.1.0 4.600 2.700
  5. 5. Development env+ NewRelic 1 запрос(ms) 2 запрос(ms) Webrick + Ruby 1.9.3-p374 7.500 4.500 Webrick + Ruby 2.1.0 4.600 2.700 Puma + Ruby 2.1.0 4.300 2.300
  6. 6. Переход на jruby  Отвалившиеся Gem’ы:  debugger  binding_of_caller  pg  unicorn
  7. 7. Development env+ NewRelic 1 запрос(ms) 2 запрос(ms) Webrick + Ruby 1.9.3-p374 7.500 4.500 Webrick + Ruby 2.1.0 4.600 2.700 Puma + Ruby 2.1.0 4.300 2.300 Webrick + jruby1.7.9 12.800 6.700
  8. 8. Development env+ NewRelic 1 запрос(ms) 2 запрос(ms) Webrick + Ruby 1.9.3-p374 7.500 4.500 Webrick + Ruby 2.1.0 4.600 2.700 Puma + Ruby 2.1.0 4.300 2.300 Webrick + jruby1.7.9 12.800 6.700 Puma + jruby1.7.9(8:32) 12.650 6.500
  9. 9. RAILS_ENV=production siege –b –c$USER_COUNT –t$TIMEs $URL
  10. 10. 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 response response Ruby – 2.1.0 2 Unicorn 4 8 16 32 64 128 256 350 jruby – 1.7.9 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 2 4 8 16 32 64 128 256 350
  11. 11. 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 response response Ruby – 2.1.0 2 Unicorn 4 8 16 32 64 128 256 350 jruby – 1.7.9 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 2 4 8 16 32 64 128 256 350 Puma(8:32)
  12. 12. 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 response response Ruby – 2.1.0 2 Unicorn 4 8 16 32 64 128 256 350 jruby – 1.7.9 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 2 4 8 16 32 64 128 256 350 Puma(8:32) Puma(0:16)
  13. 13. 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 response response Ruby – 2.1.0 2 Unicorn 4 8 16 32 64 128 256 350 Puma(0:16) jruby – 1.7.9 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 2 4 8 16 32 64 128 256 350 Puma(8:32) Puma(0:16)
  14. 14. 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 response response Ruby – 2.1.0 2 Unicorn 4 8 16 32 64 128 256 350 Puma(0:16) Puma(0:16)-W3 jruby – 1.7.9 1700 1600 1500 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 2 4 8 16 32 64 128 256 350 Puma(8:32) Puma(0:16)
  15. 15. Спасибо за внимание!

×