AppFabric Caching Services:

Slides:



Advertisements
Similar presentations
Jim ONeil Microsoft Developer Evangelist
Advertisements

Legal Meetings: Extended Instructions on Movica and Screencast.
© 1998, Progress Software Corporation 1 Migration of a 4GL and Relational Database to Unicode Tex Texin International Product Manager.
EIONET Training Beginners Zope Course Miruna Bădescu Finsiel Romania Copenhagen, 27 October 2003.
Windows Azure for SharePoint people Dennis – Solution Architect Microsoft Windows Azure.
GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon.
Using.NET Platform Note: Most of the material of these slides have been adapted from Nakov’s excellent overview for.NET framework, MSDN and Wikipedia Muhammad.
Ravi Sankar Technology Evangelist | Microsoft
Thanks to Microsoft Azure’s Scalability, BA Minds Delivers a Cost-Effective CRM Solution to Small and Medium-Sized Enterprises in Latin America MICROSOFT.
COM vs. CORBA.
Part 2: Manage app lifecycle and state (Windows Store apps using C#/VB and XAML) us/library/windows/apps/hh aspx
Intro to SharePoint 2013 Architecture Liam Cleary.
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
Adding scalability to legacy PHP web applications Overview Mario A. Valdez-Ramirez.
PHP on Windows Improvements in PHP-Microsoft Interoperability PHP World Kongress Munich, Germany November 9, 2010.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Toolbox Mirror -Overview Effective Distributed Learning.
Technical Architectures
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Wade Wegner Windows Azure Technical Evangelist Microsoft Corporation Windows Azure AppFabric Caching.
Online Magazine Bryan Ng. Goal of the Project Product Dynamic Content Easy Administration Development Layered Architecture Object Oriented Adaptive to.
©2012 Microsoft Corporation. All rights reserved..
Virtual techdays INDIA │ November 2010 SQL Azure Data Sync Shilpa Nirmale │ Associate Manager, Accenture.
Getting Started with Windows Communication Foundation 4.5 Ed Jones, MCT, MCPD, MCTS Consultant RBA Inc.
An Introduction to DuraCloud Carissa Smith, Partner Specialist Michele Kimpton, Project Director Bill Branan, Lead Software Developer Andrew Woods, Lead.
VMware vCenter Server Module 4.
Google AppEngine. Google App Engine enables you to build and host web apps on the same systems that power Google applications. App Engine offers fast.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.

 Sergey Barskiy  Principal consultant at Magenic Technologies  
Technology Overview. Agenda What’s New and Better in Windows Server 2003? Why Upgrade to Windows Server 2003 ?  From Windows NT 4.0  From Windows 2000.
VS Anywhere. Visual Studio Industry Partner VS Anywhere NEXT STEPS Contact us at: Websitehttps://vsanywhere.com Blog- Facebook.
Presented by Team D Compare Windows 2000, XP, and.NET By John Leonard, Brian North, Jeffrey Reynolds, Todd Saylor.
Microsoft and Community Tour 2011 – Infrastrutture in evoluzione Community Tour 2011 Infrastrutture in evoluzione.
New SharePoint 2016 Features
PHP on Windows Improvements in PHP-Microsoft Interoperability Brian Swan PHP Developer Outreach,
Module 13 Implementing Business Continuity. Module Overview Protecting and Recovering Content Working with Backup and Restore for Disaster Recovery Implementing.
ArcGIS Server for Administrators
Virtual techdays INDIA │ November 2010 AppFabric Cache Jatin Kakkar │ Sr. Program Manager, AppFabric.
Windows Azure Conference 2014 Caching Data in the Cloud with Windows Azure.
LegendCorp What is System Center Virtual Machine Manager (SCVMM)? SCVMM at a glance Features and Benefits Components / Topology /
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Windows Azure. Azure Application platform for the public cloud. Windows Azure is an operating system You can: – build a web application that runs.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
The best of WF 4.0 and AppFabric Damir Dobric MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
Connected Infrastructure
Tulika Chaudharie / Harikharan Krishnaraju
Lead SQL BankofAmerica Blog: SQLHarry.com
Distributed Cache Dipl.-Ing. Damir Dobric Lead Architect daenet
Logo here Module 3 Microsoft Azure Web App. Logo here Module Overview Introduction to App Service Overview of Web Apps Hosting Web Applications in Azure.
Microsoft SharePoint Server 2016
Connected Infrastructure
Building Applications with Windows Azure and SQL Azure
Hosted on Azure, LoginRadius’ Customer Identity
Exceedra + Azure Mark Rendle Principal Software Architect
02 | Design and implement database
Overview Introduction VPS Understanding VPS Architecture
Dev Test on Windows Azure Solution in a Box
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
SharePoint 2019 Changes Point of View.
SESSION CODE: ASI313 Windows Server AppFabric Caching: What It Is and When You Should Use It Jon Flanders.
Module 1–Windows AppFabric Cache
Saranya Sriram Developer Evangelist | Microsoft
Developing for Windows Azure
Developing Microsoft Azure Solutions Jump Start
04 | Apps and SharePoint Chris Johnson | SharePoint Guru
06 | SQL Server and the Cloud
Presentation transcript:

AppFabric Caching Services: Utilizing AppFabric Caching Services On-Premise and Beyond to Optimize Performance

About Me Overview of Caching Server AppFabric Caching Architecture Demo: Server AppFabric Configuration Server AppFabric Caching Concepts Demo: Implementing Application Cache Beyond On-Premise Caching Demo: Azure AppFabric Caching Conclusion

About Me Microsoft Certified Professional Phoenix Connected Systems User Group Leadership Team 6+ years building mid-tier solutions using Microsoft technology including, but not limited to, BizTalk Server (2006, 2010) MSSQL Server (2000, 2005, 2008) .NET Framework (1.1, 2.0, 3.5, 4.0) Windows Communication Foundation Microsoft.Web.Services3 .NET Remoting Currently working for Cable One, Inc.

Overview of AppFabric Provides hosting services Provides caching services Provides robust tools and services for managing applications on-premise and off-premise Tracing Dashboard Key point: Difference between Server AppFabric and Azure AppFabric Windows Server AppFabric is on-premise Windows Azure AppFabric is in the cloud APIs attempt to be seemless

The Dilemma Even though we’re light years beyond the traditional paper filing method of the past, users still find the application driven processes too slow. Users will be happy to learn that technology once again has provided a solution: Caching

Common Questions How do we increase the speed of data access and the application as a whole? How can we make our caching solutions more scalable? How do we ensure our application is not only fast and scalable, but also maintain it’s robustness?

Cache Concepts Cache Distributed Caching Expiration and Eviction Storing a copy of data closer to application logic, and away from it’s source Increases application speed Distributed Caching A set of nodes in a farm that coordinate to create a unified view of a cache to a caching client Assists in creating a scalable caching solution Expiration and Eviction When an object is removed from the cache because of stalenes or due to low memory conditions Assists in maintaining a robust caching solution

Caching Overview

Server AppFabric Cache Architecture Runs on top of Windows Server and IIS via Windows Server AppFabric Caching Services Cache Host exists on the server as a windows service Multiple cache servers can run in a clustered environment Administered through PowerShell Configuration can be shared across multiple servers through the use of a database or XML file located on a UNC share Cache client communicates with the cluster rather than just an individual server

Architecture Diagram

Demo 1: Server AppFabric Configuration

Implementing AppFabric Cache “You've effectively got a big, partitionable distributed (and optionally highly available) hashtable across multiple machines.”—Scott Hanselman Hashtable of objects that take the form of their System.Object base class Requires type conversion to restore them to their original type Cache clusters are logically segmented into named caches and regions A named cache, also referred to as a cache, is a configurable unit of in-memory storage that all applications use to store data in the distributed cache Regions are an additional data container that you can place in the cache Regions can be used to segregate like data by allowing you to search all cached objects in the region using descriptive strings, also known as “tags”.

Named Caches and Regions

Demo 2: Implementing Application Cache

Recap: Benefits of Server AppFabric Caching Scalable: Can restart the application without losing valuable cached data Applications can spread session objects across the cache cluster, providing scalability Caches any serializable CLR object and provides access through simple cache APIs

Where to Now??

Azure: Off-Premise Caching Windows Azure provides a simple to maintain solution that allows the business to leverage Microsoft’s servers in order to save money Implemented in code almost identically to Server AppFabric, with the only exception that Azure AppFabric Caching does not support user-created regions or tag-based searches Unlike Windows Server AppFabric, Windows PowerShell is not used to manage the provisioned caches or the cache cluster The Windows Azure Administration Portal is extremely easy to use and allows businesses to get a cache up and running in as little as 60 seconds Libraries are nearly interchangeable which makes migrating from Windows Server AppFabric to Windows Azure AppFabric Caching a nearly seemless

Demo 3:Migrating from Windows Server AppFabric Cache to Windows Azure Cache

Other Cache Providers Off-Premise On-premise Amazon ElastiCache Memcached Proven in one blog online to be a bit faster More oftenly stated to be more difficult to set up Supports C# API converts objects to strings Object size limit: 1MB Not as many features as Coherence and AppFabric Coherence On paper, appears to support more features that Server AppFabric caching Redis Not as many features as other cache providers Does not support as many languages

Recap Server AppFabric caching helped make our stock web service ~7.5 times faster Azure AppFabric caching, although a bit slower, still saw decrease in response time by a multiple of 4 Azure cache host configured and started in around 60 seconds or often times less Code can easily be migrated between off-premise and on-premise AppFabric caching solutions

Questions?

References Introduction to Caching with Windows Server AppFabric (Beta): http://msdn.microsoft.com/library/cc645013.aspx Module 1–Windows AppFabric Cache (AppFabric Demos) Windows Server AppFabric Caching Logical Architecture Diagram: http://msdn.microsoft.com/en-us/library/ee790985.aspx Differences Between Caching On-Premises and in the Cloud: http://msdn.microsoft.com/en-us/library/windowsazure/gg185678.aspx Wade Wegner works at Microsoft and is the Technical Evangelist Lead for Windows Azure: http://www.wadewegner.com/ Distributed Caching Showdown – Memcached vs Velocity: http://www.briandrought.com/blog/?p=29 Installing, Configuring and Using Windows Server AppFabric and the "Velocity" Memory Cache in 10 minutes: http://www.hanselman.com/blog/InstallingConfiguringAndUsingWindowsServerAppFabricAndTheVelocityMemoryCacheIn10Minutes.aspx

Aditional Information Email myers.chris.j@gmail.com camyers@cableone.net Blog http://bloggedbychris.com/ Phoenix Connected Systems User Group http://pcsug.org/