Download presentation
Presentation is loading. Please wait.
1
Server & Tools Business
9/29/2019 Big Data Analytics Module 5 – Working with Windows Azure Tables and MongoDB Saptak Sen, Microsoft Bill Ramos, Advaiya Hello, this is Saptak Sen again. In this presentation, you’ll learn about Windows Azure Tables and other NoSQL technologies like MongoDB and its interaction with the Microsoft Azure Platform © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Server & Tools Business
9/29/2019 Agenda Windows Azure Tables Interaction with other NoSQL Technologies Demos Talk Track In this session, first we’ll cover the essentials of using Windows Azure table objects to perform key- value pair storage and retrieval activities. Then , we will learn how easy to interact with other NoSQL technologies like MongoDB using Microsoft Azure Platform. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Server & Tools Business
9/29/2019 Windows Azure Table Storage Let’s first talk about Windows Azure Table Storage © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
Table Storage Concepts
NoSQL key-value store technology Used by applications requiring large amounts of data storage that need additional structure at no performance cost Entity Table Account Name =… = … Add = … Contoso Customers Photos Photo ID =… Date =… Talk Track: Now lets first start with understanding of the Table Storage Concept. A table is a collection of entities. Tables don't enforce a schema on entities, which means a single table can contain entities that have different sets of properties. An account can contain many tables, the size of which is only limited by a 100-terabyte storage account limit. So, what’s an entity? An entity is a set of properties, similar to a database row. An entity can be up to 1 MB in size. A property is a name-value pair. Each entity can include up to 252 properties to store data. Each entity also has three system properties that specify a partition key, a row key, and a timestamp. Entities with the same partition key can be queried more quickly, and inserted or updated in atomic operations. An entity's row key is its unique identifier within a partition. We will continue on this concept on next slide Key Points: Understanding of the Table Storage and NoSQL Key Value Store. References:
5
Highlights of Windows Azure Tables
Server & Tools Business 9/29/2019 Highlights of Windows Azure Tables Support for LINQ, ADO .NET Data Services, and REST Rich set of data types for property values Support for unlimited number of tables and entities (with no limit on table size) Compile time type checking for ADO .NET Data Services client library Azure Tables Web Service Talk Track: Now lets see how any application that is capable of HTTP can communicate with Azure tables. That’s because Azure tables are REST-based. This means a Java or PHP application can directly perform CRUD operations—create, read, update, and delete—on an Azure table. Azure cloud applications can be hosted in the same data center as Azure Table Storage. The compelling point here is that the latency from the cloud application is very low and can read and update the data at very high speeds. Key Points: Application(http) to connect with Azure tables References: storage.aspx User accessing Azure Table Storage from Azure © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
Demo 1: Windows Azure Tables
Server & Tools Business 9/29/2019 Demo 1: Windows Azure Tables Batch Layer Speed Layer Serving Layer Windows Azure Table Storage .NET Application Azure Storage Explorer Talk Track : In this demo, we’ll understand about Windows Azure Tables and its interaction with .NET application and Azure Storage Explorer. First Click- We will see How .NET application can programmatically save and retrieve data from Windows Azure Table Storage. You can save and get data from Azure tables using the NoSQL approach Second Click -we will learn how to use Azure Storage Explorer for viewing and saving data from Windows Azure Table Storage Key Points: Windows Azure Tables and .NET application for data interaction Windows Azure Tables and Azure Storage Explorer for data viewing and saving Programmatically saving and retrieving data from Azure Table Storage Saving and viewing data using Azure Storage Explorer © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
Server & Tools Business
9/29/2019 MongoDB Let’s now talk about MongoDB © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
8
Interaction with MongoDB
Open-source, document- oriented database Does not store data in tables and rows Stores binary serialized object notation (BSON) documents, which are binary JavaScript Object Notation (JSON) documents, with dynamic schemas Sample BSON document stored in MongoDB Talk Track: Now , we will discuss about the support of NoSQL technologies like MongoDB on Azure . So, first lets see, What is MongoDB? MongoDB is an open-source, document-oriented database designed with both scalability and developer agility in mind. Unlike traditional relational databases, MongoDB doesn’t store data in tables and rows. Rather, it stores BSON (that is, binary serialized object notation) documents, which are binary JSON, or JavaScript Object Notation, documents with dynamic schemas. These BSON documents are stored in collections, which are named groupings of documents. You can see an example of a BSON document on the slide. Another thing that’s different about MongoDB is that it doesn’t use SQL syntax for queries. Instead, BSON enables developers to map easily to object-oriented languages. Many types of use cases are viable for MongoDB, including those that have data storage with schema-less or schema-light source data. This type of data is sometimes called unstructured or semi-structured. Some real-world examples of applications that are built on this type of data include log files, health records, and manufacturing event data. This flexibility in schema simplifies application development and reduces the impedance mismatch between .NET objects and persisted data that sometimes occurs when using a traditional relational database management system. Key Points: Explain about -What is MongoDB and its use cases References:
9
MongoDB + Windows Azure
Server & Tools Business 9/29/2019 MongoDB + Windows Azure Application Mongos (router) Windows Azure supports multiple architectures for MongoDB deployment worker roles and Windows Azure Virtual Machines with MongoDB Together, MongoDB and Windows Azure provide high scalability, elasticity, and on-demand capacity Replica Set Replica Set Replica Set Replica Set Key range C–D Primary Secondary Key range A–B Primary Secondary Key range B–C Primary Secondary Key range D–E Primary Secondary Talk Track: There are two possible Windows Azure cloud services: Windows Azure cloud service worker roles and Windows Azure Virtual Machines with MongoDB. Let’s take a look at Windows Azure Virtual Machines first, which is Microsoft’s infrastructure as a service offering. It’s comparable to the Amazon Elastic Compute Cloud offering in that it gives you access to elastic, on-demand virtual servers. So you can use preconfigured virtual machines with either Windows or Linux, and then configure the virtual machines based on your own preferences or the specific needs of your application. Or, you can even build and deploy virtual machines from scratch. After you install MongoDB on a Windows Azure virtual machine, you can develop MongoDB applications in any language MongoDB supports. Supported languages include .NET languages, Java, Node.js, PHP, and a whole bunch more. You can deploy developed MongoDB applications to any location, including public clouds such as Windows Azure or Amazon Web Services, and on any private cloud. The MongoDB Installer for Windows Azure can be used to provision a MongoDB replica set cluster into Window Azure virtual machine instances. The MongoDB Worker Role project allows you to deploy and run a MongoDB replica set on Windows Azure. Replica set members are run as Azure worker role instances. MongoDB data files are stored in an Azure page blob mounted as a cloud drive. You can also use any MongoDB driver to connect to the MongoDB server instance. Key Points: Windows Azure Virtual Machines support for MongoDB References: Shards and mongos (router) hosted on Windows Azure worker roles or virtual machines Sharding – High scalability and throughput © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
Demo 2: Interaction with Other NoSQL Technologies like MongoDB
Server & Tools Business 9/29/2019 Demo 2: Interaction with Other NoSQL Technologies like MongoDB Batch Layer Speed Layer Serving Layer MongoDB on Local system Mongo console Talk Track : In this demo, we’ll see the interaction of NoSQL Technology MongoDB (as Azure VM) with .NET application First Click- We will see How .NET application can programmatically query data from MongoDB installed on Azure VM . Second Click –Get the desired result Key Points: Interaction with MongoDB installed on Azure VM with .NET application Create a database and collection © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
Demo 2: Interaction with Other NoSQL Technologies like MongoDB
Server & Tools Business 9/29/2019 Demo 2: Interaction with Other NoSQL Technologies like MongoDB Batch Layer Speed Layer Serving Layer MongoDB on Windows Azure VM .NET Application .NET Code adapted from Talk Track : In this demo, we’ll see the interaction of NoSQL Technology MongoDB (as Azure VM) with .NET application First Click- We will see How .NET application can programmatically query data from MongoDB installed on Azure VM . Second Click –Get the desired result Key Points: Interaction with MongoDB installed on Azure VM with .NET application .NET application MongoDB on Azure VM Query the MongoDB data using .NET code Query Output © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12
Server & Tools Business
9/29/2019 Learn more Table Storage Service guides/table-services-v17/ Windows Azure Table Storage and Windows Azure SQL Database Comparison MongoDB Install MongoDB on Windows on Azure Talk Track: Check out these links to find out more about the topics we covered in this presentation. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
13
Questions?
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.