Bitrix24 (DevConf)

  • Published on
    08-May-2015

  • View
    685

  • Download
    9

Embed Size (px)

DESCRIPTION

Bitrix24 (DevConf)

Transcript

<ul><li>1. . 24. , 1- 24</li></ul> <p>2. 2012 2012 Bitrix24 Project- Task- Social CRM - , -, 3. SaaS SaaS , SLA : , , 4. 5. - ( ) MultiTenancy ( ) API : 6. - - 7. : - ( MySQL) MySQL (memcached) - ( ) -: ( ) 8. 1- ( HTTP)- 1 - 2MySQLMySQLmemcachedmemcached 1masterslave 2 9. 2- - master-master-, -, -.- --- - .- -, - -- 10. - - - --- -- (master) (Amazon S3, Azure, Google Storage, (master) OpenStack Swift) + CDNslaveslave 11. : ( ) (FriendFeed), , - Amazon (AWS). . , , Facebook 12. Amazon . 13. Bitrix24ElasticLoad Balancing Web 1Web 2 Web NS3Web 1 Web 2 Web N 1 MySQL MySQL 2mastermaster- master master CloudWatch + CloudWatch +AutoScalingAutoScalingmanagement, monitoring,MySQL backup 14. Web Elastic Load Balancing +CloudWatch + Auto Scaling Elastic Load BalancingWeb 1 Web 2 Web N CloudWatch + Auto Scaling 15. Web Elastic Load Balancing +CloudWatch + Auto Scaling , CPU 40% , 20% , ( ) 16. web- , MySQL) : - , .Read only. -, . . 17. web- Apache. PHP-FPM + nginx MySQL) PHP: , , 18. S3 url , .. 19. ElasticElasticLoad Balancing Load Balancing Web 1Web 2Web NS3Web 1 Web 2Web N 1MySQL MySQL 2 master master-mastermaster CloudWatch + CloudWatch +AutoScaling AutoScaling management,monitoring, MySQL backup 20. master-master MySQL MySQL: auto_increment_increment auto_increment_offset , : , . . . , - :SET sql_log_bin = 0 replicate-wild-ignore-table = %.b_sec_session% 21. 1: -ElasticLoad Balancing Web 1Web 2 Web NS3Web 1 Web 2 Web N 1 MySQL MySQL 2mastermaster- mastermaster CloudWatch + CloudWatch +AutoScalingAutoScaling 22. 1: - Load Balancing , 23. 1: -ElasticLoad Balancing Web 1Web 2 Web NS3Web 1 Web 2 Web N 1 MySQL MySQL 2mastermaster- mastermaster CloudWatch + CloudWatch +AutoScalingAutoScaling 24. 2: ElasticElasticElasticLoad Balancing Load Balancing Load Balancing Web 1Web 2Web NS3Web 1Web 2Web N 1MySQL MySQL 2 mastermaster- master master CloudWatch + CloudWatch +AutoScaling AutoScaling 25. 2: 26. 3: ElasticLoad Balancing Web 1Web 2 Web NS3Web 1 Web 2 Web N 1 MySQL MySQL 2mastermaster- mastermaster CloudWatch + CloudWatch +AutoScalingAutoScaling 27. 3: CloudWatch AutoScaling - , , , 28. MySQL? Percona Server! : fork MySQL Percona Server( MySQL) Multitenancy XtraDB XtraBackupBLOB, TEXT MEMORY (HEAP) 29. MySQL MySQL) (EC2), RDS . EBS Amazon software RAID. RAID-10, , . 30. : . (AMI) RAID, , freeze snapshot . (mysqldump) (Xtrabackup) , . slave, . . 31. web- , ( ) AMI Web 1 ElasticLoad Web 2BalancingWeb N 32. web-Nginx http_sub_modulenginx_substitutions_filterlocation / {subs_filter </p>