五年陈酿 20 万行 Ruby 代码的云端革新经验 肖嘉炜

Razor

2019/08/28 发布于 技术 分类

rubyconf2019 

文字内容
1. SaaS 电商应⽤用运维优化经验 a new Rubyist’s perspective 肖嘉炜 友好速搭 基础架构中⼼心负责⼈人
2. About me Dev ~ 5 years Ops ~ 2 years Ruby ~ 1 year Rugby ~ 13 years
4. Rugby Player Is Fast And Strong
9. 王有钱 Billion.Wang C¥0
10. 猫的⽇日常
11. 技术栈 Padrino Sinatra Sidekiq Sequel PostgreSQL Redis MongoDB Kubernetes Prometheus Grafana ELK ElasticAPM Bearychat
12. 技术栈 Off Rails
13. Lessons Learned
14. Tune Your Database Config
18. Sequence
19. id integer not null default nextval(‘store_domains_id_seq’::regclass)
20. CREATE SEQUENCE serial START 101; SELECT nextval(‘serial’); nextval --------102
21. QPS 150 -> 8000
22. advisory lock
23. advisory lock 实现⾼高并发⾮非堵塞式 业务锁 by 德哥 https://github.com/digoal/blog/
24. Nginx 微缓存
27. #microcache+nginx
28. N+1 Query
29. ElasticAPM
31. Too Many N+1 Queries Transaction.has_many Span
32. asset_url {{ 'header.png' asset_url }} //cdn_domain/4e7020cb7cac81af7136236b/header.png
33. asset_url {{ 'header.png' asset_url }} //cdn_domain/4e7020cb7cac81af7136236b/header.png
35. asset_url {{ 'header.png' asset_url }} //cdn_domain/c/424242/header.png
36. I Like Rugby Ruby Is Fast And Strong I Like Ruby
37. Scaling Ruby Team We are hiring
38. THX youhaosuda xiaojiawei@yeezon.com