34
Data Processing Architectures The difficulty is in the choice George Moore, 1900

SQL and Java

Embed Size (px)

DESCRIPTION

SQL and Java. The vision for Java is to be the concrete and nails that people use to build this incredible network system that is happening all around us James Gosling, 2000. Development with Java. Java is a platform-independent object-oriented development language - PowerPoint PPT Presentation

Citation preview

Page 1: SQL and Java

Data Processing Architectures

The difficulty is in the choiceGeorge Moore, 1900

Page 2: SQL and Java

Architectures

Page 3: SQL and Java

Remote job entry

Local storageOften cheaperMaybe more secure

Remote processingUseful when a personal computer is:

Too slowHas insufficient memorySoftware is not available

Some local processingData preparation

Page 4: SQL and Java

Personal database

Local storage and processingAdvantages

Personal computers are cheapGreater controlBetter interface

DisadvantagesReplication of applications and dataDifficult to share dataSecurity and integrity are lowerDisposable systemsMisdirection of attention and resources

Page 5: SQL and Java

Client/server

Client is typically a Web browserClient initiates requestServer respondsSavings

Ease of use / fewer errorsLess training

Page 6: SQL and Java

Thin client

Diskless computerBrowser-based appsNeed an Internet connection$200-300

Page 7: SQL and Java

Three-tier client/server

Page 8: SQL and Java

Three-tier model

ClientsBrowser with graphical user interface (GUI)

Application serversBusiness and data logic

Data serversDatabaseBackup and recovery services

Page 9: SQL and Java

Advantages of the three-tier model

Security is higher because logic is on the server rather than the PCPerformance is betterAccess to legacy systems and a variety of databasesEasier to implement, maintain, and scale

Page 10: SQL and Java

Evolution of client/server computing

Architecture

Description

Two-tier Processing is split between client and server, which also runs the DBMS.

Three-tier Client does presentation, processing is done by the server, and the DBMS is on a separate server.

N-tier Client does presentation. Processing and DBMS can be spread across multiple servers. This is a distributed resources environment.

Page 11: SQL and Java

Cloud computing

The provision of computing processing and storage resources via the InternetSoftware and hardware resources are sharedResources obtained on demandPart of an evolution rather a revolution in the management of informationClouds, such as time-sharing, have existed for decades

Page 12: SQL and Java

Cloud layers

InfrastructureA virtual server over which the developer has complete controlAmazon

Platform as a serviceA developer can build an application with the provided toolsSalesforce.com

Page 13: SQL and Java

Cloud layers

ApplicationAccess to cloud applicationsGoogle Docs

Collaboration cloudsA special case of application cloudsFacebook

ServiceConsulting and integration

Page 14: SQL and Java

Types of clouds

PublicPrivateCommunityHybrid

Page 15: SQL and Java

Capabilities of clouds

Interface controlTo what extent can customers influence the interface to the cloud?

Page 16: SQL and Java

Capabilities of clouds

Location independenceUbiquitous access

Page 17: SQL and Java

Capabilities of clouds

Sourcing independenceCan change suppliers easily at low costA goal rather than always a reality

Virtual business environmentsSpecial needs systems can be built quickly and later abandoned

Rapid elasticityScale up and down as required• Easier to scale up than down

Page 18: SQL and Java

Strategic risksRisk Description

Demand Fluctuating demand or market collapse

Inefficiency Inability to match competitors’ unit costs

Innovation Not innovating as well as competitors

Scaling Not scaling fast and efficiently enough to meet market growth

Control Inadequate procedures for acquiring or managing resources

Page 19: SQL and Java

Demand

Fluctuating demand or market collapseUbiquity enables serving customers everywhereElasticity to handle excessive demand

Page 20: SQL and Java

Inefficiency

Inability to match competitors’ unit costsCloud computing is generally cheaperSingle service center for all customersEmployees can work at home or on the roadLow cost testing of system innovations

Page 21: SQL and Java

Innovation

Not innovating as well as competitorsInterface control could be issue for innovationUbiquitous access makes it easier to engage customers and employees in product improvement

Page 22: SQL and Java

Scaling

Not scaling fast enough and efficiently enough to meet market growthA firm can use the cloud’s elasticity to quickly acquire new storage and processing resources for digital productsIt can take advantage of sourcing independence to use multiple clouds

Page 23: SQL and Java

Control

Inadequate procedures for the acquisition or management of resourcesA well-designed interface is a control mechanism

Page 24: SQL and Java

Thinking

Most people think of cloud computing as an opportunity to lower costs by shifting processing from the corporate data center to a third partyMore imaginative thinkers will see cloud computing as an opportunity to gain a competitive advantage

Page 25: SQL and Java

Clouds & strategic risks

Risk/Capability Demand

Inefficiency

Innovation

Scaling

Control

Interface control ✔ ✔Location independence ✔

Sourcing independence ✔ ✔

Virtual business environment

✔ ✔

Ubiquitous access ✔ ✔ ✔

Rapid elasticity ✔ ✔

Page 26: SQL and Java

Distributed database

Communication charges are a key factor in total processing costTransmission costs increase with distance

Local processing saves money

A database can be distributed to reduce communication costs

Page 27: SQL and Java

Distributed database

Database is physically distributed as semi-independent databasesThere are communication links between each of the databasesAppears as one database

Page 28: SQL and Java

A hybrid

Architecture evolvesOld structures cannot be abandonedNew technologies offer new opportunities

Ideally, the many structures are patched together to provide a seamless view of organizational databasesDistributed database principles apply to this hybrid architecture

Page 29: SQL and Java

Fundamental principles

TransparencyNo reliance on a central siteLocal autonomyContinuous operationDistributed query processingDistributed transaction processing

Page 30: SQL and Java

Fundamental principles

Replication independenceFragmentation independenceHardware independenceOperating system independenceNetwork independenceDBMS independence

Independence

Page 31: SQL and Java

Horizontal fragmentation

Page 32: SQL and Java

Vertical fragmentation

Page 33: SQL and Java

ReplicationFull replication

Tables are duplicated at each of the sitesIncreased data integrityFaster processingMore expensive

Partial replicationIndexes replicatedFaster queryingRetrieval from the remote database

Page 34: SQL and Java

Key points

There are basic data processing architecturesN-tier client/server dominates todayCloud computing offers cost savings and strategic opportunitiesDatabases can be distributed to lower communication costs and improve response time