Archive for the ‘cloud computing’ Category

SEARCH IN THE CLOUD

August 16, 2013

Search is a critical element of any website. It’s how the majority of us look for web content.

Search is generally a simple interface that we use on public search engines like Google, Bing and Yahoo every day of our lives. In this blog, I will focus on why it makes sense to have search in the cloud. To start off, let’s discuss three key components of a search engine: querying, indexing and crawling.  Continue Reading at ektron.com

Advertisements

Talk: Cloud Storage (Windows Azure Blob and Amazon S3) – Boston Azure User Group

July 1, 2013

On June 27, I had the privilege of speaking at the Boston Azure User Group in Boston, MA. The topic covered a in-depth discussion of Azure Blob Storage and Amazon S3.  It was an very interactive session with lots of great questions from the attendees.  The topics that we covered

  • Storage
    • Overview
    • Azure Blob Storage
    • Amazon S3
    • Comparing Azure Blob and Amazon S3
    • Benchmark comparisons for performance, stability, and scalability
  • CDN
  • Shared Access Signature
  • Best Practice
  • Resource

Click here to download the power point presentation.

click here to download the sample project

Please note you need to set the keys in config file prior to executing the samples.  I also removed .PEM and KEY file for signing amazon URL.  You can create your own files and change the code to use your PEM and KEY file for signing URLs.

 

 

Azure IaaS (Infrastructure as a Service)

October 22, 2012

Nashua .NET/Cloud Computing User Group Meeting October 17, 2012

Today’s talk provides an overview of Windows Azure virtual machine for Developers and IT Professionals.  We have covered the key concepts of Virtual Machines and how to get started using windows azure.  Topic includes

  1. Creating Virtual machines (Quick,  Gallery and using custom disk image after sysprep)
  2. Creating and Configuring SQL Server
  3. Working with IaaS and PaaS
  4. Virtual networks
  5. Creating web sites and Deploying cloud services

You can watch the complete pre-recorded demo from http://youtu.be/qunUGfB7sgQ

Here are some technology download links and resources:

Windows Azure Free 90-day Trial
http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200134966
Visual Studio 2012 Express
http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200134965
Windows 8
http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200134964
Windows Server 2012
http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200134969
Hyper-V Server 2012
http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200145411
System Center 2012 Suite
http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200134968
Microsoft Virtual Academy
http://www.microsoft.com/click/services/Redirect2.ashx?CR_CC=200134970

Windows Azure SDK 1.7 and new features

June 21, 2012

NHDN Cloud Computing talk Jun 20th, 2012.

We discussed All new features from Jun 7th announcement and SDK 1.7.  How to utilize all the cloud services, cloud storage and virtual machine and the web sites.

click here to download the presentation

click here to download the sample code on caching and service bus ( before running the sample replace the value for appsetting keys )

Migrating to cloud architecture discussion and cloud device

May 17, 2012

NHDN Cloud Computing talk May 16,2012.

We discussed Architecture Guidance on how to migrate existing systems.  How to utilize all the cloud services, cloud storage and virtual networks.  We explored all cloud devices application development on Windows Phone, iOS, Android.

click here to download the presentation

Cloud Storage (Azure Blob and Amazon S3)

April 19, 2012

Today @NHDN Cloud Computing User group meeting @ Daniel Webster College (DWC) Nashua, we talked all about the cloud storage.  Talk includes the overview of cloud storage including Azure Blob and Amazon S3.  Blob storage, Azure Drive and S3 using REST and API.

You can download the presentation here

download the sample source here

Measuring SQL Azure network latency

February 26, 2012

SQL Azure is multi tenancy model with synchronize replication to 2 more copies and designed for Data integrity and safety first in mind.  SQL Azure wont scale as on-premise SQL Servers.  In my project i need to run millions of query within cloud (worker role -> Sql Azure).  There was severe performance issue.   It is not possible to re-write every query in a batch certain queries has to be executed as one at a time.  Then I developed this exe to help support engineers to identify the bottle neck.

To execute this exe browse the sql file.  Your sql file can contain one or more sql statement separated by go statement.  From the UI fill all the connection credentials such as SERVERNAME, DATABASE (if this database is not exists then this exe will create the database at the end the database will be deleted), LOGIN and PWD.  Note if LOGING and PWD is empty then the connection string will be switched to windows authentication (will work locally but not for SQL Azure (cloud database required SQL authentication) ).

Once you click the “Run” it will parse your SQL file and runs all the queries.  This will create the TestLog file the log file will look like this.

2/25/2012 10:29:28 PM: Creating database my1…
Query: 1, at time:2/25/2012 10:29:28 PM, local: 820.2274, remote: 0, network: 0
Query: 1, at time:2/25/2012 10:29:31 PM, local: 163.5987, remote: 120, network: 43.5987
Query: 2, at time:2/25/2012 10:29:32 PM, local: 181.745, remote: 37, network: 144.745
Query: 3, at time:2/25/2012 10:29:32 PM, local: 49.9357, remote: 7, network: 42.9357
Query: 4, at time:2/25/2012 10:29:32 PM, local: 88.3577, remote: 40, network: 48.3577
Query: 5, at time:2/25/2012 10:29:33 PM, local: 78.0235, remote: 37, network: 41.0235
Totals: local: 00:00:01.3818880, remote: 00:00:00.2410000, network: 00:00:00.3206606

Here is how time spend on each query in your file…

LOCAL=remote (time spend on SQL Azure) +network (latency)

to download source code for this utility click here

NHDN- Cloud computing [Azure Traffic Manager]

February 17, 2012

NHDN-CloudComputing, February 15th, 6.00 PM – 8.15 PM

Presenter: Udaiappa Ramachandran

Topic: Windows Azure – Traffic Manager & Advanced Web role settings

Abstract: Windows Azure Traffic Manager enables you to manage and distribute incoming traffic to your Windows Azure hosted services whether they are deployed in the same data center or in different centers across the world. In this talk we will explore different load balancing policies available in Traffic Manager and how we can use them to enhance performance, increase availability, and balance traffic to your hosted services. .

Place: Daniel Webster College (DWC), Eaton Richmond Center (Room #122), 20 University Drive, Nashua, NH 03063.

 

 

Azure Application Drive size limit and Running Multiple WebSites in the cloud

January 13, 2012

First thing i tried was i deployed multiple websites (with minimum templates and config) in one packages.  And then from the background task i was downloading all the dynamic templates (*.aspx, *.ascx)  from the corresponding blob and copying to site root.  I got an exception because it exceed the size limit of 1GB.  In my project every site consumed 300MB worth of dynamic templates including some static files.  I had 10+ sites and hence i need atleast 3GB application drive size but by default Azure will provide only 1GB of application drive either E or F.  Unfortunately this cannot be changed.  Then I tried this work arounds proposed by microsoft support person.  it seems to be working for me but yet to run the performance test…

  1. Create the empty or minimum files with package for all the sites so that your package is deployed
  2. Move the rest of the dynamic template or static files to blob storage.
  3. Run the background task (you must configure this in your package)
    1. Use Local Storage in your code and download all the data in specific folders at local storage
    2. Windows Server 2008 supports Symbolic links and this way even when your files are stored in Local Storage, still they appear to be inside the Application drive.
    3. After you download the blob from Azure Storage please create symbolic link from your application folder to local storage.
    4. Use mklink command to create the symbolic link to the folder (ex.,)

i.            Mklink /D <targetdrive> <source drive>

ii.            Ex., MKLINK /d E:\Sitesroot\help  C:\Resource\help

iii.            MKLINK /d E:\Sitesroot\1\help  C:\Resource\help

iv.            MKLINK /d E:\Sitesroot\2\help  C:\Resource\help

You can find related documents from the following url:

http://msdn.microsoft.com/en-us/library/gg433110.aspx

http://en.wikipedia.org/wiki/NTFS_symbolic_link

Hybrid cloud using service bus –NHDN-Nashua talk.

July 21, 2011

July 20th: Nashua User group meeting.

Today I have presented about Hybrid cloud using service bus.  This talks cover complete walk through and  presentation of  “How to connect clients and services via SOAP and REST over the Service Bus using the Windows Azure platform App Fabric SDK.  How to enable service automatic activation by connecting a WCF service in IIS 7.5 to the Service Bus”

You can download source code here.