Sunday, December 11, 2011

Multi Tenancy and Windows Azure. Overview of Multi tenant Application and Single tenant Application Architectural considerations.

Multitenancy is referred as important characteristics of all cloud application. There are many reasons why cloud applications today are being designed to support multi tenancy. Today I am going to discuss multi tenancy in cloud application (of course related to Windows Azure) based on the articles and posts I have gone through.
Wikipedia – Multi tenancy refers to a principle in software architecture where a single instance of the software runs on a server, serving multiple clients (or in other words “tenants”).
Dictionary meaning of “Tenant” say, people who take resources on lease. In Azure, we acting as a customer take cloud resources on lease therefore; customers or clients of application are referred as “Tenants”.
Single-Tenant vs Multi-Tenant applications –
Single Tenant Applications – Has a separate, logical instance of the application for each customer or client. For example, if there are 5 customers that require using the application then, we will have 5 different OS, 5 copies of database and 5 copies of the application. This is illustrated in following diagram –

Thursday, December 8, 2011

Azure Diagnostics – Creating Windows Azure Diagnostics and Performance Counters Table

In Azure application development you may need to perform Windows Azure Logging. The best way to debug windows Azure application is to write diagnostics information in Azure Table Storage.
Also, System Center Operation Manager (SCOM) can monitor performance of Azure Application. A management pack has been already released for Azure Application monitoring using SCOM. In such scenario for monitoring Azure Performance counter, SCOM reads information from Azure Table Storage. For monitoring health information of Azure deployment from SCOM, diagnostics information is read from Azure Table Storage only.
But before using these tools for visualizing data one needs to capture diagnostics data; for which you will need to write some code in role “onstart” method.

Here I am presenting code which can be used for collecting Azure Role Instance event log information and transferring it to diagnostics table – WADWindowsEventLogsTable and performance counter information in WADPerformanceCountersTable.
Add reference to required Azure DLL’s and then use following code - 

Sunday, November 20, 2011

Android Ice – Android latest OS version. Android Ice Cream features

Google Android. Market winning OS!! Today if you go to market for any tablets or mobiles ranging from 5000 to 45000, every product have one thing in common. It’s Android!!
No matter which company tablets or mobile you buy, Android is common everywhere. Samsung, HTC, Motorola…all are ruled by Android. The reason behind this is also vivid. Strongest point - Android is open source system. In simple words, it is free. So any one can tweak or customize android as per their requirement. This one quality is responsible for the forming of empire of Android.
Steve Job’s apple had launched apple OS. There were no competition to Apple Os and then Android came and tablets and mobile market experienced 180° change. Now android has brought new version in market – Android Ice Cream Sandwitch.
Multitasking, ultimate connectivity, customizable home screen are the features which will make Android ICE Cream sandwitch famous.
Let’s review new features of Android ICE 4.0 – 
Attractive User Interface –
Use interface means the simplicity you get while using any gadget. User interface is changed a lot in Android 4.0 version. Best animation is provided for every application, new typing feature for high resolution screen mobiles are new changes to user interface. The most prominent addition to look and feel is Virtual Buttons. These buttons will take you to backward screens or home page very easily. Then very gorgeous favourite tray can be used for adding your favourite applications by drag and drop. The favourite tray widget is automatic and resizes itself according to mobile screens. So if your mobile screen is small then also favourite tray option can be used easily without any hassle.


Wednesday, November 16, 2011

Which tablet PC to buy - Cheap tablets in india – Tablet PC options


World has great history of revolution and revolution is continuous process. Today is also no exception to revolution. This revolution is of Tablet PC. The tablet PC revolution is spreading like wild fire in India.
After tremendous success of Apple iPad-2; other companies like Samsung, HTC brought tablets in market which was giving healthy competition to iPad-2. However in Indian tablet PC market; these tablets were costing above 20000 rupees. Needless to say, these costly tablets were not suitable in terms of cost for students, teachers and other middle class community.
After identifying this business gap, Indian pure players such as Reliance, Bharti Airtel, Akash, iBall came for the rescue and these companies successfully brought tablet PC at half price of iPad, Samsung and HTC tablets.
The obvious questions that come to mind about cheap tablets PC’s are–
1.     Tablet PC quality
2.     Reliability of cheap tablets
3.     Advantages and disadvantages of cheapest tablets
Following information will help you to decide which tablet PC to buy.
Let’s first understand basic questions like -
1.     What is tablet PC?
2.     Tablets are mobile phones or computers?
What is tablet PC –
Assume the world of few years back, and you are travelling for a long journey. People had to carry heavy laptops in their travel if they wish to read 10-15 books. This was quite inconvenient during journey. Also smartphones had small screen on which people could not read more than 1 hour as it creates strain on your eyes. To overcome on this problem tablet Pc are introduced in the market. Tablet PC is a gadget which combines the features of smartphone and laptop and it is very easy to carry. Tablet Pc’s are bigger than smartphone whereas somewhat smaller in size and weight than laptop which makes it very handy.