module-5 cc notes
module-5 cc notes
(2 MARKS)
Q1. With a neat diagram explain the Google App Engine platform architecture
AppEngine is a platform for developing scalable applications accessible through the Web . The platform is
logically divided into four major components: infrastructure, the runtime environment, the underlying
storage, and the set of scalable services that can be used to develop applications.
1. Infrastructure
AppEngine hosts Web applications, and its primary function is to serve users requests efficiently. To do so,
AppEngine’s infrastructure takes advantage of many servers available within Google datacenters. For each
HTTP request, AppEngine locates the servers hosting the application that processes the request, evaluates
their load, and, if necessary, allocates additional resources (i.e., servers) or redirects the request to an
existing server. The particular design of applications, which does not expect any state information to be
implicitly maintained between requests to the same application, simplifies the work of the infrastructure,
which can redirect each of the requests to any of the servers hosting the target application or even allocate a
new one. The infrastructure is also responsible for monitoring application performance and collecting
statistics on which the billing is calculated.
2. Runtime environment
The runtime environment represents the execution context of applications hosted on AppEngine. With
reference to the AppEngine infrastructure code, which is always active and running, the runtime comes into
existence when the request handler starts executing and terminates once the handler has completed.
Sandboxing One of the major responsibilities of the runtime environment is to provide the application
environment with an isolated and protected context in which it can execute without causing a threat to the
server and without being influenced by other applications. In other words, it provides applications with a
sandbox.
3. Storage
AppEngine provides various types of storage, which operate differently depending on the volatility of the
data. There are three different levels of storage: in memory-cache, storage for semi structured data, and
long-term storage for static data. In this section, we describe Data Store and the use of static file servers.
1. Application services
Applications hosted on AppEngine take the most from the services made available through the runtime
environment. These services simplify most of the common operations that are performed in Web
applications: access to data, account management, integration of external resources, messaging and
communication, image manipulation, and asynchronous computation. UrlFetch, MemCache , Mail and
instant messaging, Account management , Image manipulation are some services.
5 .Compute services
Web applications are mostly designed to interface applications with users by means of a ubiquitous channel,
that is, the Web. Most of the interaction is performed synchronously: Users navigate the Web pages and get
instantaneous feedback in response to their actions. This feedback is often the result of some computation
happening on the Web application, which implements the intended logic to serve the user request.
Sometimes this approach is not applicable—for example, in long computations or when some operations
need to be triggered at a given point in time. A good design for these scenarios provides the user with
immediate feedback and a notification once the required operation is completed. AppEngine offers
additional services such as Task Queues and Cron Jobs that simplify the execution of computations that are
off-bandwidth or those that cannot be performed within the timeframe of the Web request.
Q2. Describe an application of cloud technologies for online gaming
Multiplayer Online Gaming attracts millions of players who connect and play together in shared virtual
worlds, often over the internet rather than a local network (LAN). These games can support hundreds of
players at once thanks to a special system that manages player actions using game log processing. When
players take actions in the game, their updates are sent to a game server. This server collects and combines
all updates into a log file. This log is shared with all players through a TCP port, and each player's game
client reads these updates to show what other players are doing in real time. Game logs are also used to track
player stats and rankings, which adds value and keeps players engaged. However, processing these logs can
be very computationally intensive, especially with many players and games running at the same time. Also,
since gaming portals are web-based, the number of users can suddenly rise, creating heavy workloads that
are hard to plan. Cloud computing helps handle these challenges by offering elasticity, meaning resources
can scale up or down based on demand. For example, Titan Inc. (now Xfire) built a prototype using the
Aneka Cloud platform to process multiple game logs at once. This allowed them to handle more users and
improve performance using a private Cloud setup.
(10 marks)
B. Storage services:
In Azure, each compute resource has its own local storage, like a folder on the machine,
where it can temporarily save data while it's running. But this data is not permanent—if the system restarts
or moves to another machine, the data is lost. To solve this, Windows Azure offers more reliable storage
options. These storage services keep data safe, permanent, and backed up. Unlike local storage, they can be
used by many users or systems at the same time and can be accessed from any location. This makes Azure
storage a better and more flexible solution for saving data.
C. Core infrastructure: AppFabric:
AppFabric is a tool that helps build, run, and manage cloud apps, and connects old apps to cloud services.
It ensures scalability, high availability, safe environments, and data management. AppFabric also provides
services for app communication, user login, and data access, and works with any programming language,
making it easy for developers to create different types of apps that work together.
D. Other services:
Along with compute, storage, and middleware, Windows Azure also offers other helpful services. These
extra services make it easier to build and connect applications in the cloud.
One key area is application connectivity, which includes:
- Virtual networking – for connecting different parts of an app securely, and
- Content delivery – for quickly sending data (like images or videos) to users around the world.
These services help improve performance and make apps work better in the cloud.
2. SQL Azure:
SQL Azure is a cloud-based relational database service built on SQL Server. It offers a scalable,
reliable, and easy-to-manage database that works from anywhere with Azure access. It uses the same
interface as SQL Server, so apps can easily move to the cloud. Developers can manage it using the
Azure portal or REST APIs. Data access uses the TDS protocol, and services like billing and
connection routing are handled by SQL Azure Fabric. Two editions are available: Web Edition (up
to 5 GB) and Business Edition (10–50 GB). Costs depend on database size, edition, bandwidth, and
monthly usage.
The Windows Azure Platform Appliance is a full version of Azure that can be installed in
*thirdparty data centers. It includes Windows Azure, SQL Azure, and pre-configured network,
storage, and servers. This setup is useful for governments or service providers who need their own
private cloud system. Unlike the basic Azure development environment (used for testing only), this
appliance is meant for real use. It helps organizations with large computing needs or data privacy
rules keep everything on-site. It also helps service providers turn their own data centers into cloud
platforms, using Microsoft’s proven Azure setup.
4. Summary:
Windows Azure is Microsoft’s platform for building cloud applications. It works as a Platform-as-a-
Service (PaaS) and provides services for computing, storage, networking, and identity management.
Developers can use these services separately or together to build scalable cloud apps. Azure's core
parts are compute services, storage, and AppFabric middleware. Compute uses roles for running
web apps, background tasks, and virtual machines. Storage supports different data types with fewer
limits than traditional databases. SQL Azure offers cloud-based relational databases built on SQL
Server, with auto-scaling. Azure mainly supports .NET and Windows, making it ideal for moving
existing
.NET apps to the cloud.
Q2. Describe how cloud computing technology can be applied to support ECG monitoring.
Healthcare is one of the key areas where cloud technology is making a big impact. One important example is
ECG (Electrocardiogram) analysis using the cloud. ECG measures the heart’s electrical activity and helps
detect issues like arrhythmias. With cloud support, doctors can monitor a patient’s heart remotely, in real
time, without the patient visiting a hospital. Wearable ECG devices can send heartbeat data to a mobile
phone, which then forwards it to a cloud-based service. This service analyzes the data and alerts doctors or
emergency teams if any abnormality is found.