O documento discute a performance e escalabilidade do site e aplicativo de emagrecimento Minha Vida, que tem 80 milhões de usuários. O site recebe 50 milhões de visualizações por mês e usa 4 servidores web, banco de dados SQL e cache para dar suporte a alta demanda. A versão mobile também é discutida como essencial para fornecer uma boa experiência ao usuário.
4. prover a melhor solução possível
para uma oportunidade de negócio!
Visual Studio Summit 2013
5. página ‹nº›
O Maior portal de saúde,
alimentação e bem-estar do Brasil.
6. 80.000.000 users
Brazil internet population: 100.000.000
página ‹nº›
Últimos 12 meses (2013/11 to 2014/10)
Google Analytics; Estimativa Anatel; PubliAbril
SEO friendly, 70% of the origin
partners
7. page views/month
scalability
delivering health
50,000,000
15,000,000
5,000
average online visitors
6,800
rpm web servers
1,700
rpm each server
40 TB
data tranfer/month
4 vm
web servers
visitors/month
8. users and
applications
Data/State
SQL Cluster
SOLR
Rabbit MQ
Cache
Memcached
Worker
Win 2012
Web & API
IIS
IIS
IIS
IIS
Static files
html
json
css js
images
NGINX CDN
9. technologies
ASP.NET MVC 5 ASP.NET Web API
Entity Framework 6
IIS 7.5
Memcached
Hyper-V
SQL Server 2012
Nginx
CentOS
SOLR
RabbitMQ
10. Não tem uma versão mobile?
Visual Studio Summit 2013
65. 2013 - users lost more than 500,000 kilograms
~ 1,102,311 pounds
página ‹nº›
2013 numbers and 2014 goals
2014 – users will lost more than 1,000,000 kilograms
~ 2,204,622 pounds
66. in 2014 our users will practice more
than 700,000 hours of fitness activity
67. api hits/month
scalability
100,000,000
27,000,000
6,000,000
page views/month (web)
1,200
average online visitors (web)
4.200
rpm servers (web)
+10
platforms consuming
5 vm
API servers
mobile app page views/month
68. users, apps
and mobile
Data/State
SQL Cluster
Memcached
Rabbit MQ
API
IIS
IIS
IIS
IIS
Web
IIS IIS
IIS
Static files
NGINX CDN
Worker
Win 2012
css js
images
html
json
71. ASP.NET MVC 5 ASP.NET Web
API
IIS 8
Memcached Entity Framework 6
Hyper-V
SQL Server 2012
CentOS
Nginx
Lucene
RabbitMQ
technologies
Windows Server 2012 R2
AngularJS
72. Referências
Visual Studio Summit 2013
Maximiliano Firtman - http://firt.mobi/
Sérgio Lopes - http://sergiolopes.org/
Brad Frost Web - http://bradfrostweb.com