Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure

Enrique Catala Bañuls
Enrique Catala BañulsTechnical Leader at @SolidQ and Microsoft Data Platform MVP
#SQSummit
@enriquecatala
Escalabilidad horizontal y arquitecturas
elásticas en Microsoft Azure
Mentor
ecatala@solidq.com
MVP – MCT – MCSE
Enrique Catalá Bañuls
Agenda
3
1. ¿Qué podemos usar?
2. AlwaysON
3. Arquitecturas elásticas
4. Caching
5. Autoescalado VMs
6. Rendimiento CPU
La informática en la nube definida
Posiciónamiento
4
Cloud computing as four deloyment models, three service models and five
main features
features
Public Cloud
Hybrid Cloud
Private Cloud
CommunityCloud
IaaS
Infrastructure as a Service
PaaS
Platform as a Service
SaaS
Platform as a Service
On-demand
Self Service
BroadNetwork
Access
Resource
Pooling
Rapid
Elasticity
Measured
Service
Modelos de Servicio
5
Soluciones híbridas
6
Tecnologias soportadas
7
Tecnología SQL
Server
Cero
pérdida de
datos
Ámbito Nº secundarios Failover
automático
Leer de
secundarios
Availability
Groups
2012+ Si* DB(s) 4 -> 2012
8 -> 2014
Yes
(w/ additional
cluster
member)**
Si
Database
Mirroring
2008 R2
2012
Si* DB 1 Yes
(w/ Witness)**
Limited
(database
snapshots)
Log
Shipping
2005+ No DB Ilimitadas No Limited
(standby
state)
Replicacion 2008+ No Articulos ***Ilimitadas No Si
Tamaños de VM
8
Cores Memoria Temp
Ancho
de
banda
Discos
de
datos
IOPs
total
SQL
Standard
Coste/ hora
ExtraSmall 1 - Shared 768 MB 20 GB 5 1 500 €0,015/h
Small 1 1.75 GB 70 GB 100 2 1000 €0,068/h
Medium 2 3.5 GB 135 GB 200 4 2000 €0,135/h
Large 4 7 GB 285 GB 400 8 4000 €0,269/h
ExtraLarge 8 14 GB 605 GB 800 16 8000 €0,537/h
A5 2 14GB 605 GB 200 4 2000
€0,298/h
A6 4 28 GB 285 GB 1,000 8 4000 €0,596/h
A7 8 56 GB 605 GB 2,000 16 8000 €1,192/h
A8
8
2.6 Ghz
56 Gb
1600 Mhz
382 Gb 1,000
40,000**
16 8000 €1,183/h
A9
16
2.6 Ghz
112 Gb
1600 Mhz
382 Gb 1,000
40,000**
16 8000 €3,65/h
Bajada de precio en SQL VMs
SQL Standard (a fecha de 12-05-2014)
9
2013 2014 (basic) 2014 (standard)
ExtraSmall €0.425/hr €0,014/hr €0,015/hr
Small €0.477/hr €0,056/hr €0,068/hr
Medium €0.544/hr €0,111/hr €0,135/hr
Large €0.678/hr €0,221/hr €0,269/hr
ExtraLarge €1.356/hr €0,441/hr €0,537/hr
A6 €1.17/hr €0,596/hr €0,596/hr
A7 €2.339/hr €1,192/hr €1,192/hr
Agenda
10
1. ¿Qué podemos usar?
2. AlwaysON
3. Arquitecturas elásticas
4. Caching
5. Autoescalado VMs
6. Rendimiento CPU
Diagrama arquitectura
AlwaysOn SQL Server 2012+
11
Windows Cluster
Availability Group
On-Premises
SecondaryPrimary
Diagrama arquitectura
12
Windows Cluster
Availability Group
On-Premises
Secondary
Cloud
SecondaryPrimary
Diagrama arquitectura
13
Windows Cluster Windows Cluster
Availability GroupAvailability Group
Primary Secondary
On-Premises (NY) On-Premises (NJ)
Secondary
Cloud
Diagrama arquitectura
14
Windows Cluster
Availability Group
Cloud On-Premises
SecondarySecondaryPrimary
AlwaysOn
15
DEMO
16
Elasticidad con AlwaysOn
híbrido
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure
Agenda
41
1. ¿Qué podemos usar?
2. AlwaysON
3. Arquitecturas elásticas
4. Caching
5. Autoescalado VMs
6. Rendimiento CPU
Diagrama arquitectura
Elasticidad
42
DBreplica1
Replica1 Replica2 Replica n
DBreplica2 DBreplica3
Azure Republicador
(opcional)
Transactional
replication
SYNC
WAN
SQL1 (onpremise)
ON PREMISE Azure
 Nodos secundarios
replicación
 Capa de base de datos,
suscriptores (5s-15s
delay)
 SQL Standard Edition
 Nodo publicador
 Instancia OnPremise que
contiene los datos maestros a
replicar mediante replicación
transaccional
DEMO
43
Configurar entorno
Grupo de afinidad
44
Network Service
45
Infraestructura
46
Dominio Active Directory
47
Añadir el rol de Active Directory
48
Añadir DNS
49
Añadir republicador
50
DEMO
51
Elasticidad flexible
• Las VM no pueden ser basic*
• Usa VPN o encripta tu conexión
• Automatiza los despliegues con sysprep y
scripts
Conceptos clave
52
Agenda
53
1. ¿Qué podemos usar?
2. AlwaysON
3. Arquitecturas elásticas
4. Caching
5. Autoescalado VMs
6. Rendimiento CPU
IaaS y VMs
54
Windows Azure Caching concepts
Microsoft Azure Cache is a family of
distributed, in-memory, scalable solutions
that enable you to build highly scalable and
responsive applications by providing super-
fast access to your data.
Microsoft Azure Cache is available in the
following flavors.
– Azure Redis Cache (Preview)
– Managed Cache Service
– In-Role Cache
Managed Cache Service
Azure Managed Cache Service is based on
the AppFabric Cache engine.
It also gives you access to a secure,
dedicated cache that is managed by
Microsoft.
A cache created using the Managed Cache
Service is also accessible from applications
within Azure running on Azure Web Sites,
Web & Worker Roles and Virtual Machines.
For more information
Using Managed Cache
// Cache client configured by settings in application
// configuration file.
DataCacheFactoryConfiguration config =
new DataCacheFactoryConfiguration("default");
DataCacheFactory cacheFactory = new DataCacheFactory(config);
DataCache defaultCache = cacheFactory.GetDefaultCache();
// Put and retrieve a test object from the default cache.
defaultCache.Put("testkey", "testobject");
string strObject = (string)defaultCache.Get("testkey");
In-Role Caching
Based on the AppFabric Cache engine.
Allows you to perform caching by using a dedicated web or worker
role instance in an application deployed to Microsoft Azure Cloud
Services.
This provides flexibility in terms of deployment options and size but
you manage the cache yourself.
//add string object to cache with key "Key0"
myCache.Add("Key0", "object added with Key0");
//add or replace string object in cache using key "Key0"
myCache.Put("Key0", "object replaced or added using Key0");
//remove object in cache using key "Key0"
myCache.Remove("Key0");
Use Cloud Caching: the Right
Reasons
Speed of access to data
Azure SQL database
Azure storage
Remote storage and services
Avoiding hitting rate limits
Up to 5,000 entities/messages/blobs per second
per account
Up to 500 messages per second from a single
queue
Up to 500 entities per second from a single table
partition
Using Caching in your applications
Stores session state in shared memory
Required for Web Farms
Faster than SQL
Simple configuration change to your web app
Enables session state to be cached across a
cluster
Uses cache-aside, not RT+WB (session is Activity
Data)
TIP: Use HA to reduce the chances of sessions
state loss
Example: ASP.NET App Session state provider
60
<sessionState mode="Custom" customProvider="SessionStoreProvider">
<providers>
<add name="SessionStoreProvider“
type="Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider,
Microsoft.ApplicationServer.Caching.Client, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35“
cacheName=“MyCache"/>
</providers>
</sessionState>
Azure Redis Cache (PREVIEW)
Microsoft Azure Redis Cache (Preview) is based on the
popular open source Redis Cache. It gives you access
to a secure, dedicated Redis cache, managed by
Microsoft. A cache created using Azure Redis Cache is
accessible from any application within Microsoft
Azure.
Azure Redis Cache (Preview) is available in the
following two tiers.
– Basic – single node, multiple sizes.
– Standard – Two node Master/Slave, multiple sizes. Once
the preview period is over, the standard tier offering will
have a 99.9% SLA.
Azure Redis Cache
Azure Redis Cache (use)
using StackExchange.Redis;
ConnectionMultiplexer connection =
ConnectionMultiplexer.Connect("contoso5.redis.cache.
windows.net,ssl=true,password=...");
// connection referes to a previously configured
//ConnectionMultiplexer
IDatabase cache = connection.GetDatabase();
ConnectionMultiplexer connection =
ConnectionMultiplexer.Connect(
"contoso5.redis.cache.windows.net...");
IDatabase cache = connection.GetDatabase();
// Perform cache operations using the cache object...
// Simple put of integral data types into the cache
cache.StringSet("key1", "value");
cache.StringSet("key2", 25);
// Simple get of data types from the cache
string key1 = cache.StringGet("key1");
int key2 = (int)cache.StringGet("key2");
DEMO
64
Caching
Agenda
65
1. ¿Qué podemos usar?
2. AlwaysON
3. Arquitecturas elásticas
4. Caching
5. Autoescalado VMs
6. Rendimiento CPU
DEMO
66
Autoscale VM
Autoscale VM
Dos nodos, 1 parado
67
Autoscale VM
Máquina1
68
Autoscale VM
Log de operaciones
69
Autoscale VM
Detectado evento…aprovisionando
70
Autoscale VM
Aprovisionando
71
Autoscale VM
Aparece en el log
72
Autoscale VM
Log del evento
73
Agenda
74
1. ¿Qué podemos usar?
2. AlwaysON
3. Arquitecturas elásticas
4. Caching
5. Autoescalado VMs
6. Rendimiento CPU
Rendimiento CPU
Benchmark simple
75
Máquina
Puntuación single-
thread
Puntuación multi-
thread
Descripción
Portatil Enrique Catalá 1911 4826 Intel i7 1.73Ghz
Entorno Web Role (A3) 1068 3729 AMD Opteron 4171 2.1Ghz
Entorno VM A3 (4cores) 1066 3635 AMD Opteron 4171 2.1Ghz
Entorno VM A4 (8cores) 1072 6617 AMD Opteron 4171 2.1Ghz
Entorno VM A7 (AMD) 1077 5622 AMD Opteron 4171 2.1Ghz
Entorno VM A7 (Intel) 1115 6680 Intel Xeon E5-2660 2.2Ghz
Entorno A9 2460 10580 Intel Xeon E5-2670 2.6Ghz
Rendimiento CPU
76
Azure
OnPremise
Azure
OnPremise
Azure
OnPremise
Rendimiento CPU
También a nivel SQL
77
Solución IaaS real (eLearning)
78
AS_DCAD
AS_Cluster_SQL_AO
AS_FE_MOOD
AS_FE_LAMS
AG
80
80
Arquitecturas elásticas en SQL
• De serie con AlwaysOn
• “sin límite” con replicación
Elasticidad flexible
• Web y worker roles
• VMS
Caché
Conclusión
Azure mola…pero úsalo para lo que necesitas 
79
¿Preguntas?
80
¡Gracias!
Siéntate a comer con nosotros o tómate un café y aclara tus
dudas 
@enriquecatala
Mentor – MVP SQL Server
Enrique Catala Bañuls
81
1 of 80

Recommended

Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ... by
Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...
Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...SolidQ
1.5K views79 slides
Abhishek Kumar - CloudStack Locking Service by
Abhishek Kumar - CloudStack Locking ServiceAbhishek Kumar - CloudStack Locking Service
Abhishek Kumar - CloudStack Locking ServiceShapeBlue
489 views28 slides
Protect your app from Outages by
Protect your app from OutagesProtect your app from Outages
Protect your app from OutagesRon Zavner
1K views32 slides
OpenStack Glance by
OpenStack GlanceOpenStack Glance
OpenStack Glanceopenstackstl
2.6K views17 slides
Hazelcast by
HazelcastHazelcast
Hazelcastoztalip
11K views40 slides
Midwest PHP Presentation - New MSQL Features by
Midwest PHP Presentation - New MSQL FeaturesMidwest PHP Presentation - New MSQL Features
Midwest PHP Presentation - New MSQL FeaturesDave Stokes
104 views59 slides

More Related Content

What's hot

Paris Cassandra Meetup - Overview of New Cassandra Drivers by
Paris Cassandra Meetup - Overview of New Cassandra DriversParis Cassandra Meetup - Overview of New Cassandra Drivers
Paris Cassandra Meetup - Overview of New Cassandra DriversMichaël Figuière
1.1K views18 slides
Third Party Auth in WebObjects by
Third Party Auth in WebObjectsThird Party Auth in WebObjects
Third Party Auth in WebObjectsWO Community
2.2K views38 slides
Coursera Cassandra Driver by
Coursera Cassandra DriverCoursera Cassandra Driver
Coursera Cassandra DriverDataStax Academy
1.4K views42 slides
Cloudstack vs Openstack by
Cloudstack vs OpenstackCloudstack vs Openstack
Cloudstack vs OpenstackHuzefa Husain
1.5K views8 slides
Support distributed computing and caching avec hazelcast by
Support distributed computing and caching avec hazelcastSupport distributed computing and caching avec hazelcast
Support distributed computing and caching avec hazelcastENSET, Université Hassan II Casablanca
12.5K views40 slides
Oracle made it easy: Cloud DB Vergleich by
Oracle made it easy: Cloud DB VergleichOracle made it easy: Cloud DB Vergleich
Oracle made it easy: Cloud DB VergleichOPITZ CONSULTING Deutschland
1.1K views27 slides

What's hot(20)

Paris Cassandra Meetup - Overview of New Cassandra Drivers by Michaël Figuière
Paris Cassandra Meetup - Overview of New Cassandra DriversParis Cassandra Meetup - Overview of New Cassandra Drivers
Paris Cassandra Meetup - Overview of New Cassandra Drivers
Michaël Figuière1.1K views
Third Party Auth in WebObjects by WO Community
Third Party Auth in WebObjectsThird Party Auth in WebObjects
Third Party Auth in WebObjects
WO Community2.2K views
Cloudstack vs Openstack by Huzefa Husain
Cloudstack vs OpenstackCloudstack vs Openstack
Cloudstack vs Openstack
Huzefa Husain1.5K views
Think Distributed: The Hazelcast Way by Rahul Gupta
Think Distributed: The Hazelcast WayThink Distributed: The Hazelcast Way
Think Distributed: The Hazelcast Way
Rahul Gupta1.5K views
Jenkins, jclouds, CloudStack, and CentOS by David Nalley by buildacloud
Jenkins, jclouds, CloudStack, and CentOS by David NalleyJenkins, jclouds, CloudStack, and CentOS by David Nalley
Jenkins, jclouds, CloudStack, and CentOS by David Nalley
buildacloud892 views
Openstack glance by SHAMEEM F
Openstack glanceOpenstack glance
Openstack glance
SHAMEEM F301 views
DataStax | Data Science with DataStax Enterprise (Brian Hess) | Cassandra Sum... by DataStax
DataStax | Data Science with DataStax Enterprise (Brian Hess) | Cassandra Sum...DataStax | Data Science with DataStax Enterprise (Brian Hess) | Cassandra Sum...
DataStax | Data Science with DataStax Enterprise (Brian Hess) | Cassandra Sum...
DataStax631 views
Distributed Caching in Kubernetes with Hazelcast by Mesut Celik
Distributed Caching in Kubernetes with HazelcastDistributed Caching in Kubernetes with Hazelcast
Distributed Caching in Kubernetes with Hazelcast
Mesut Celik2.1K views
CloudStack Meetup London - Primary Storage Presentation by SolidFire by NetApp
CloudStack Meetup London - Primary Storage Presentation by SolidFire CloudStack Meetup London - Primary Storage Presentation by SolidFire
CloudStack Meetup London - Primary Storage Presentation by SolidFire
NetApp198 views
EclipseCon - Building an IDE for Apache Cassandra by Michaël Figuière
EclipseCon - Building an IDE for Apache CassandraEclipseCon - Building an IDE for Apache Cassandra
EclipseCon - Building an IDE for Apache Cassandra
Michaël Figuière2.3K views
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison by bizalgo
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
bizalgo32.4K views
Cloud Application Blueprints with Apache Brooklyn by Alex Henevald by buildacloud
Cloud Application Blueprints with Apache Brooklyn by Alex HenevaldCloud Application Blueprints with Apache Brooklyn by Alex Henevald
Cloud Application Blueprints with Apache Brooklyn by Alex Henevald
buildacloud1.3K views
Ruby Driver Explained: DataStax Webinar May 5th 2015 by DataStax
Ruby Driver Explained: DataStax Webinar May 5th 2015Ruby Driver Explained: DataStax Webinar May 5th 2015
Ruby Driver Explained: DataStax Webinar May 5th 2015
DataStax1.1K views

Viewers also liked

Variables, tipos de datos, operadores by
Variables, tipos de datos, operadores Variables, tipos de datos, operadores
Variables, tipos de datos, operadores juan ventura
933 views19 slides
Unidad 1 algoritmos y programas by
Unidad 1 algoritmos y programasUnidad 1 algoritmos y programas
Unidad 1 algoritmos y programasRoberth Camana
2.3K views48 slides
Spatial Data in SQL Server by
Spatial Data in SQL ServerSpatial Data in SQL Server
Spatial Data in SQL ServerEduardo Castro
978 views9 slides
Analizando la performance del subsistema de IO by
Analizando la performance del subsistema de IOAnalizando la performance del subsistema de IO
Analizando la performance del subsistema de IOSpanishPASSVC
1.2K views29 slides
Diagnostico y resolución de problemas en sql server by
Diagnostico y resolución de problemas en sql serverDiagnostico y resolución de problemas en sql server
Diagnostico y resolución de problemas en sql serverSpanishPASSVC
2.9K views38 slides
Tipos de Datos y Operadores by
Tipos de Datos y OperadoresTipos de Datos y Operadores
Tipos de Datos y OperadoresOswaldo Basurto
1.5K views8 slides

Viewers also liked(20)

Variables, tipos de datos, operadores by juan ventura
Variables, tipos de datos, operadores Variables, tipos de datos, operadores
Variables, tipos de datos, operadores
juan ventura933 views
Unidad 1 algoritmos y programas by Roberth Camana
Unidad 1 algoritmos y programasUnidad 1 algoritmos y programas
Unidad 1 algoritmos y programas
Roberth Camana2.3K views
Analizando la performance del subsistema de IO by SpanishPASSVC
Analizando la performance del subsistema de IOAnalizando la performance del subsistema de IO
Analizando la performance del subsistema de IO
SpanishPASSVC1.2K views
Diagnostico y resolución de problemas en sql server by SpanishPASSVC
Diagnostico y resolución de problemas en sql serverDiagnostico y resolución de problemas en sql server
Diagnostico y resolución de problemas en sql server
SpanishPASSVC2.9K views
Indices Columnares en SQL Server 2014 by SpanishPASSVC
Indices Columnares en SQL Server 2014Indices Columnares en SQL Server 2014
Indices Columnares en SQL Server 2014
SpanishPASSVC939 views
Identificadores Graficos by bloody-crow
Identificadores GraficosIdentificadores Graficos
Identificadores Graficos
bloody-crow813 views
Modern Branding en SharePoint desde todos los ángulos con HTML5 y Responsive ... by Santiago Porras Rodríguez
Modern Branding en SharePoint desde todos los ángulos con HTML5 y Responsive ...Modern Branding en SharePoint desde todos los ángulos con HTML5 y Responsive ...
Modern Branding en SharePoint desde todos los ángulos con HTML5 y Responsive ...
Creación de un modelo de análisis predictivo en la nube by SpanishPASSVC
Creación de un modelo de análisis predictivo en la nubeCreación de un modelo de análisis predictivo en la nube
Creación de un modelo de análisis predictivo en la nube
SpanishPASSVC1.1K views
Foro Universidades 2014. Pensando en la nube - SharePoint como Web Corporativa by www.encamina.com
Foro Universidades 2014. Pensando en la nube - SharePoint como Web CorporativaForo Universidades 2014. Pensando en la nube - SharePoint como Web Corporativa
Foro Universidades 2014. Pensando en la nube - SharePoint como Web Corporativa
www.encamina.com618 views
Consideraciones de discos sql server hardware by Eduardo Castro
Consideraciones de discos sql server hardwareConsideraciones de discos sql server hardware
Consideraciones de discos sql server hardware
Eduardo Castro251 views
SQL Server Wait Types Everyone Should Know by Dean Richards
SQL Server Wait Types Everyone Should KnowSQL Server Wait Types Everyone Should Know
SQL Server Wait Types Everyone Should Know
Dean Richards5.2K views
Servicios cognitivos y su integración by Eduardo Castro
Servicios cognitivos y su integraciónServicios cognitivos y su integración
Servicios cognitivos y su integración
Eduardo Castro688 views

Similar to Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure

Three Degrees of Mediation: Challenges and Lessons in building Cloud-agnostic... by
Three Degrees of Mediation: Challenges and Lessons in building Cloud-agnostic...Three Degrees of Mediation: Challenges and Lessons in building Cloud-agnostic...
Three Degrees of Mediation: Challenges and Lessons in building Cloud-agnostic...Alex Maclinovsky
1.6K views19 slides
Reusable, composable, battle-tested Terraform modules by
Reusable, composable, battle-tested Terraform modulesReusable, composable, battle-tested Terraform modules
Reusable, composable, battle-tested Terraform modulesYevgeniy Brikman
28.4K views150 slides
Automating CloudStack with Puppet - David Nalley by
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyPuppet
2.9K views53 slides
Day2 by
Day2Day2
Day2madamewoolf
373 views41 slides
Microsoft Azure - Introduction by
Microsoft Azure - IntroductionMicrosoft Azure - Introduction
Microsoft Azure - IntroductionKashif Imran
573 views35 slides
Automating Your CloudStack Cloud with Puppet by
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppetbuildacloud
981 views53 slides

Similar to Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure(20)

Three Degrees of Mediation: Challenges and Lessons in building Cloud-agnostic... by Alex Maclinovsky
Three Degrees of Mediation: Challenges and Lessons in building Cloud-agnostic...Three Degrees of Mediation: Challenges and Lessons in building Cloud-agnostic...
Three Degrees of Mediation: Challenges and Lessons in building Cloud-agnostic...
Alex Maclinovsky1.6K views
Reusable, composable, battle-tested Terraform modules by Yevgeniy Brikman
Reusable, composable, battle-tested Terraform modulesReusable, composable, battle-tested Terraform modules
Reusable, composable, battle-tested Terraform modules
Yevgeniy Brikman28.4K views
Automating CloudStack with Puppet - David Nalley by Puppet
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David Nalley
Puppet2.9K views
Microsoft Azure - Introduction by Kashif Imran
Microsoft Azure - IntroductionMicrosoft Azure - Introduction
Microsoft Azure - Introduction
Kashif Imran573 views
Automating Your CloudStack Cloud with Puppet by buildacloud
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
buildacloud981 views
DBA Tasks in Oracle Autonomous Database by SinanPetrusToma
DBA Tasks in Oracle Autonomous DatabaseDBA Tasks in Oracle Autonomous Database
DBA Tasks in Oracle Autonomous Database
SinanPetrusToma119 views
AWS CSA Associate 06-07 by Heitor Vital
AWS CSA Associate 06-07AWS CSA Associate 06-07
AWS CSA Associate 06-07
Heitor Vital1K views
An Engineer's Intro to Oracle Coherence by Oracle
An Engineer's Intro to Oracle CoherenceAn Engineer's Intro to Oracle Coherence
An Engineer's Intro to Oracle Coherence
Oracle3.1K views
More Cache for Less Cash (DevLink 2014) by Michael Collier
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)
Michael Collier8K views
Jclouds Intro by guesta31f61
Jclouds IntroJclouds Intro
Jclouds Intro
guesta31f612.2K views
How to get started with Oracle Cloud Infrastructure by Simo Vilmunen
How to get started with Oracle Cloud InfrastructureHow to get started with Oracle Cloud Infrastructure
How to get started with Oracle Cloud Infrastructure
Simo Vilmunen714 views
Developing on SQL Azure by Ike Ellis
Developing on SQL AzureDeveloping on SQL Azure
Developing on SQL Azure
Ike Ellis939 views
Architecting .NET solutions in a Docker ecosystem - .NET Fest Kyiv 2019 by Alex Thissen
Architecting .NET solutions in a Docker ecosystem - .NET Fest Kyiv 2019Architecting .NET solutions in a Docker ecosystem - .NET Fest Kyiv 2019
Architecting .NET solutions in a Docker ecosystem - .NET Fest Kyiv 2019
Alex Thissen279 views
.NET Fest 2019. Alex Thissen. Architecting .NET solutions in a Docker ecosystem by NETFest
.NET Fest 2019. Alex Thissen. Architecting .NET solutions in a Docker ecosystem.NET Fest 2019. Alex Thissen. Architecting .NET solutions in a Docker ecosystem
.NET Fest 2019. Alex Thissen. Architecting .NET solutions in a Docker ecosystem
NETFest263 views
JoTechies - Azure SQL DB by JoTechies
JoTechies - Azure SQL DBJoTechies - Azure SQL DB
JoTechies - Azure SQL DB
JoTechies393 views
02_DP_300T00A_Plan_implement.pptx by KareemBullard1
02_DP_300T00A_Plan_implement.pptx02_DP_300T00A_Plan_implement.pptx
02_DP_300T00A_Plan_implement.pptx
KareemBullard122 views
Academy PRO: Entity Framework Сore by Binary Studio
Academy PRO: Entity Framework СoreAcademy PRO: Entity Framework Сore
Academy PRO: Entity Framework Сore
Binary Studio139 views

More from Enrique Catala Bañuls

Sql server ha muerto, larga vida a sql server by
Sql server ha muerto, larga vida a sql serverSql server ha muerto, larga vida a sql server
Sql server ha muerto, larga vida a sql serverEnrique Catala Bañuls
303 views51 slides
Capas de acceso a datos .net escalables de verdad contra SQL Server by
Capas de acceso a datos .net escalables de verdad contra SQL ServerCapas de acceso a datos .net escalables de verdad contra SQL Server
Capas de acceso a datos .net escalables de verdad contra SQL ServerEnrique Catala Bañuls
534 views27 slides
Paralelismo en SQL Server by
Paralelismo en SQL ServerParalelismo en SQL Server
Paralelismo en SQL ServerEnrique Catala Bañuls
386 views30 slides
Aplicando R al análisis de rendimiento de un servidor by
Aplicando R al análisis de rendimiento de un servidorAplicando R al análisis de rendimiento de un servidor
Aplicando R al análisis de rendimiento de un servidorEnrique Catala Bañuls
152 views20 slides
Técnicas avanzadas para resolver tus problemas de sql server by
Técnicas avanzadas para resolver tus problemas de sql serverTécnicas avanzadas para resolver tus problemas de sql server
Técnicas avanzadas para resolver tus problemas de sql serverEnrique Catala Bañuls
1.7K views28 slides
Capas de acceso a datos .NET escalables de verdad: el batido perfecto para el... by
Capas de acceso a datos .NET escalables de verdad: el batido perfecto para el...Capas de acceso a datos .NET escalables de verdad: el batido perfecto para el...
Capas de acceso a datos .NET escalables de verdad: el batido perfecto para el...Enrique Catala Bañuls
1.4K views26 slides

More from Enrique Catala Bañuls(20)

Capas de acceso a datos .net escalables de verdad contra SQL Server by Enrique Catala Bañuls
Capas de acceso a datos .net escalables de verdad contra SQL ServerCapas de acceso a datos .net escalables de verdad contra SQL Server
Capas de acceso a datos .net escalables de verdad contra SQL Server
Técnicas avanzadas para resolver tus problemas de sql server by Enrique Catala Bañuls
Técnicas avanzadas para resolver tus problemas de sql serverTécnicas avanzadas para resolver tus problemas de sql server
Técnicas avanzadas para resolver tus problemas de sql server
Capas de acceso a datos .NET escalables de verdad: el batido perfecto para el... by Enrique Catala Bañuls
Capas de acceso a datos .NET escalables de verdad: el batido perfecto para el...Capas de acceso a datos .NET escalables de verdad: el batido perfecto para el...
Capas de acceso a datos .NET escalables de verdad: el batido perfecto para el...
Como hacer tuning a capas de acceso a datos en .NET (dotNetConference2016) by Enrique Catala Bañuls
Como hacer tuning a capas de acceso a datos en .NET (dotNetConference2016)Como hacer tuning a capas de acceso a datos en .NET (dotNetConference2016)
Como hacer tuning a capas de acceso a datos en .NET (dotNetConference2016)

Recently uploaded

Business Analyst Series 2023 - Week 4 Session 7 by
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7DianaGray10
146 views31 slides
The Power of Generative AI in Accelerating No Code Adoption.pdf by
The Power of Generative AI in Accelerating No Code Adoption.pdfThe Power of Generative AI in Accelerating No Code Adoption.pdf
The Power of Generative AI in Accelerating No Code Adoption.pdfSaeed Al Dhaheri
39 views18 slides
LLMs in Production: Tooling, Process, and Team Structure by
LLMs in Production: Tooling, Process, and Team StructureLLMs in Production: Tooling, Process, and Team Structure
LLMs in Production: Tooling, Process, and Team StructureAggregage
57 views77 slides
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And... by
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...ShapeBlue
108 views12 slides
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...ShapeBlue
129 views10 slides
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... by
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Moses Kemibaro
35 views38 slides

Recently uploaded(20)

Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10146 views
The Power of Generative AI in Accelerating No Code Adoption.pdf by Saeed Al Dhaheri
The Power of Generative AI in Accelerating No Code Adoption.pdfThe Power of Generative AI in Accelerating No Code Adoption.pdf
The Power of Generative AI in Accelerating No Code Adoption.pdf
Saeed Al Dhaheri39 views
LLMs in Production: Tooling, Process, and Team Structure by Aggregage
LLMs in Production: Tooling, Process, and Team StructureLLMs in Production: Tooling, Process, and Team Structure
LLMs in Production: Tooling, Process, and Team Structure
Aggregage57 views
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And... by ShapeBlue
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
ShapeBlue108 views
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue129 views
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... by Moses Kemibaro
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro35 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue141 views
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue207 views
State of the Union - Rohit Yadav - Apache CloudStack by ShapeBlue
State of the Union - Rohit Yadav - Apache CloudStackState of the Union - Rohit Yadav - Apache CloudStack
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue303 views
The Role of Patterns in the Era of Large Language Models by Yunyao Li
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language Models
Yunyao Li91 views
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue by ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
ShapeBlue265 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue152 views
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online by ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue225 views
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue208 views
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue139 views
NTGapps NTG LowCode Platform by Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu437 views
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... by ShapeBlue
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
ShapeBlue120 views
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue178 views

Escalabilidad horizontal y arquitecturas elásticas en Microsoft azure

  • 1. #SQSummit @enriquecatala Escalabilidad horizontal y arquitecturas elásticas en Microsoft Azure Mentor ecatala@solidq.com MVP – MCT – MCSE Enrique Catalá Bañuls
  • 2. Agenda 3 1. ¿Qué podemos usar? 2. AlwaysON 3. Arquitecturas elásticas 4. Caching 5. Autoescalado VMs 6. Rendimiento CPU
  • 3. La informática en la nube definida Posiciónamiento 4 Cloud computing as four deloyment models, three service models and five main features features Public Cloud Hybrid Cloud Private Cloud CommunityCloud IaaS Infrastructure as a Service PaaS Platform as a Service SaaS Platform as a Service On-demand Self Service BroadNetwork Access Resource Pooling Rapid Elasticity Measured Service
  • 6. Tecnologias soportadas 7 Tecnología SQL Server Cero pérdida de datos Ámbito Nº secundarios Failover automático Leer de secundarios Availability Groups 2012+ Si* DB(s) 4 -> 2012 8 -> 2014 Yes (w/ additional cluster member)** Si Database Mirroring 2008 R2 2012 Si* DB 1 Yes (w/ Witness)** Limited (database snapshots) Log Shipping 2005+ No DB Ilimitadas No Limited (standby state) Replicacion 2008+ No Articulos ***Ilimitadas No Si
  • 7. Tamaños de VM 8 Cores Memoria Temp Ancho de banda Discos de datos IOPs total SQL Standard Coste/ hora ExtraSmall 1 - Shared 768 MB 20 GB 5 1 500 €0,015/h Small 1 1.75 GB 70 GB 100 2 1000 €0,068/h Medium 2 3.5 GB 135 GB 200 4 2000 €0,135/h Large 4 7 GB 285 GB 400 8 4000 €0,269/h ExtraLarge 8 14 GB 605 GB 800 16 8000 €0,537/h A5 2 14GB 605 GB 200 4 2000 €0,298/h A6 4 28 GB 285 GB 1,000 8 4000 €0,596/h A7 8 56 GB 605 GB 2,000 16 8000 €1,192/h A8 8 2.6 Ghz 56 Gb 1600 Mhz 382 Gb 1,000 40,000** 16 8000 €1,183/h A9 16 2.6 Ghz 112 Gb 1600 Mhz 382 Gb 1,000 40,000** 16 8000 €3,65/h
  • 8. Bajada de precio en SQL VMs SQL Standard (a fecha de 12-05-2014) 9 2013 2014 (basic) 2014 (standard) ExtraSmall €0.425/hr €0,014/hr €0,015/hr Small €0.477/hr €0,056/hr €0,068/hr Medium €0.544/hr €0,111/hr €0,135/hr Large €0.678/hr €0,221/hr €0,269/hr ExtraLarge €1.356/hr €0,441/hr €0,537/hr A6 €1.17/hr €0,596/hr €0,596/hr A7 €2.339/hr €1,192/hr €1,192/hr
  • 9. Agenda 10 1. ¿Qué podemos usar? 2. AlwaysON 3. Arquitecturas elásticas 4. Caching 5. Autoescalado VMs 6. Rendimiento CPU
  • 10. Diagrama arquitectura AlwaysOn SQL Server 2012+ 11 Windows Cluster Availability Group On-Premises SecondaryPrimary
  • 11. Diagrama arquitectura 12 Windows Cluster Availability Group On-Premises Secondary Cloud SecondaryPrimary
  • 12. Diagrama arquitectura 13 Windows Cluster Windows Cluster Availability GroupAvailability Group Primary Secondary On-Premises (NY) On-Premises (NJ) Secondary Cloud
  • 13. Diagrama arquitectura 14 Windows Cluster Availability Group Cloud On-Premises SecondarySecondaryPrimary
  • 40. Agenda 41 1. ¿Qué podemos usar? 2. AlwaysON 3. Arquitecturas elásticas 4. Caching 5. Autoescalado VMs 6. Rendimiento CPU
  • 41. Diagrama arquitectura Elasticidad 42 DBreplica1 Replica1 Replica2 Replica n DBreplica2 DBreplica3 Azure Republicador (opcional) Transactional replication SYNC WAN SQL1 (onpremise) ON PREMISE Azure  Nodos secundarios replicación  Capa de base de datos, suscriptores (5s-15s delay)  SQL Standard Edition  Nodo publicador  Instancia OnPremise que contiene los datos maestros a replicar mediante replicación transaccional
  • 47. Añadir el rol de Active Directory 48
  • 51. • Las VM no pueden ser basic* • Usa VPN o encripta tu conexión • Automatiza los despliegues con sysprep y scripts Conceptos clave 52
  • 52. Agenda 53 1. ¿Qué podemos usar? 2. AlwaysON 3. Arquitecturas elásticas 4. Caching 5. Autoescalado VMs 6. Rendimiento CPU
  • 54. Windows Azure Caching concepts Microsoft Azure Cache is a family of distributed, in-memory, scalable solutions that enable you to build highly scalable and responsive applications by providing super- fast access to your data. Microsoft Azure Cache is available in the following flavors. – Azure Redis Cache (Preview) – Managed Cache Service – In-Role Cache
  • 55. Managed Cache Service Azure Managed Cache Service is based on the AppFabric Cache engine. It also gives you access to a secure, dedicated cache that is managed by Microsoft. A cache created using the Managed Cache Service is also accessible from applications within Azure running on Azure Web Sites, Web & Worker Roles and Virtual Machines. For more information
  • 56. Using Managed Cache // Cache client configured by settings in application // configuration file. DataCacheFactoryConfiguration config = new DataCacheFactoryConfiguration("default"); DataCacheFactory cacheFactory = new DataCacheFactory(config); DataCache defaultCache = cacheFactory.GetDefaultCache(); // Put and retrieve a test object from the default cache. defaultCache.Put("testkey", "testobject"); string strObject = (string)defaultCache.Get("testkey");
  • 57. In-Role Caching Based on the AppFabric Cache engine. Allows you to perform caching by using a dedicated web or worker role instance in an application deployed to Microsoft Azure Cloud Services. This provides flexibility in terms of deployment options and size but you manage the cache yourself. //add string object to cache with key "Key0" myCache.Add("Key0", "object added with Key0"); //add or replace string object in cache using key "Key0" myCache.Put("Key0", "object replaced or added using Key0"); //remove object in cache using key "Key0" myCache.Remove("Key0");
  • 58. Use Cloud Caching: the Right Reasons Speed of access to data Azure SQL database Azure storage Remote storage and services Avoiding hitting rate limits Up to 5,000 entities/messages/blobs per second per account Up to 500 messages per second from a single queue Up to 500 entities per second from a single table partition
  • 59. Using Caching in your applications Stores session state in shared memory Required for Web Farms Faster than SQL Simple configuration change to your web app Enables session state to be cached across a cluster Uses cache-aside, not RT+WB (session is Activity Data) TIP: Use HA to reduce the chances of sessions state loss Example: ASP.NET App Session state provider 60 <sessionState mode="Custom" customProvider="SessionStoreProvider"> <providers> <add name="SessionStoreProvider“ type="Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider, Microsoft.ApplicationServer.Caching.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35“ cacheName=“MyCache"/> </providers> </sessionState>
  • 60. Azure Redis Cache (PREVIEW) Microsoft Azure Redis Cache (Preview) is based on the popular open source Redis Cache. It gives you access to a secure, dedicated Redis cache, managed by Microsoft. A cache created using Azure Redis Cache is accessible from any application within Microsoft Azure. Azure Redis Cache (Preview) is available in the following two tiers. – Basic – single node, multiple sizes. – Standard – Two node Master/Slave, multiple sizes. Once the preview period is over, the standard tier offering will have a 99.9% SLA.
  • 62. Azure Redis Cache (use) using StackExchange.Redis; ConnectionMultiplexer connection = ConnectionMultiplexer.Connect("contoso5.redis.cache. windows.net,ssl=true,password=..."); // connection referes to a previously configured //ConnectionMultiplexer IDatabase cache = connection.GetDatabase(); ConnectionMultiplexer connection = ConnectionMultiplexer.Connect( "contoso5.redis.cache.windows.net..."); IDatabase cache = connection.GetDatabase(); // Perform cache operations using the cache object... // Simple put of integral data types into the cache cache.StringSet("key1", "value"); cache.StringSet("key2", 25); // Simple get of data types from the cache string key1 = cache.StringGet("key1"); int key2 = (int)cache.StringGet("key2");
  • 64. Agenda 65 1. ¿Qué podemos usar? 2. AlwaysON 3. Arquitecturas elásticas 4. Caching 5. Autoescalado VMs 6. Rendimiento CPU
  • 66. Autoscale VM Dos nodos, 1 parado 67
  • 68. Autoscale VM Log de operaciones 69
  • 72. Autoscale VM Log del evento 73
  • 73. Agenda 74 1. ¿Qué podemos usar? 2. AlwaysON 3. Arquitecturas elásticas 4. Caching 5. Autoescalado VMs 6. Rendimiento CPU
  • 74. Rendimiento CPU Benchmark simple 75 Máquina Puntuación single- thread Puntuación multi- thread Descripción Portatil Enrique Catalá 1911 4826 Intel i7 1.73Ghz Entorno Web Role (A3) 1068 3729 AMD Opteron 4171 2.1Ghz Entorno VM A3 (4cores) 1066 3635 AMD Opteron 4171 2.1Ghz Entorno VM A4 (8cores) 1072 6617 AMD Opteron 4171 2.1Ghz Entorno VM A7 (AMD) 1077 5622 AMD Opteron 4171 2.1Ghz Entorno VM A7 (Intel) 1115 6680 Intel Xeon E5-2660 2.2Ghz Entorno A9 2460 10580 Intel Xeon E5-2670 2.6Ghz
  • 77. Solución IaaS real (eLearning) 78 AS_DCAD AS_Cluster_SQL_AO AS_FE_MOOD AS_FE_LAMS AG 80 80
  • 78. Arquitecturas elásticas en SQL • De serie con AlwaysOn • “sin límite” con replicación Elasticidad flexible • Web y worker roles • VMS Caché Conclusión Azure mola…pero úsalo para lo que necesitas  79
  • 80. ¡Gracias! Siéntate a comer con nosotros o tómate un café y aclara tus dudas  @enriquecatala Mentor – MVP SQL Server Enrique Catala Bañuls 81