• No results found

SOA and EDA SOA and EDA

N/A
N/A
Protected

Academic year: 2022

Share "SOA and EDA SOA and EDA"

Copied!
40
0
0

Loading.... (view fulltext now)

Full text

(1)

SOA and EDA SOA and EDA

An Architectural Viewpoint An Architectural Viewpoint

Rushikesh K. Joshi Rushikesh K. Joshi

Department of Computer Science and Engineering Department of Computer Science and Engineering

Indian Institute of Technology Bombay Indian Institute of Technology Bombay

Email: rkj@cse.iitb.ac.in Email: rkj@cse.iitb.ac.in

(2)

Programming On the Web

• HTTP based communication protocols

• Web servers receive external requests

• Applications pick up the requests from web servers

(3)

Applications

Read-only pages, Email, Chat,

Search engines, news-servers, citation index, bibliographies, online courses, video

conferencing, online services and transactions, conference

management servers, gaming, journal review processes, books and multimedia, governance and

(4)

Let's look at some

architectural variations

(5)

A Single Process Simple Monolithic Application

Data

Control Thread Process

(6)

A Data-oriented Application

D

Q P

(7)

A Three Tiered Architecture

UI

BL

DB

(8)

Model View Controller

View

Controller

Model

(9)

Concurrent Tasks

UI

T1

Data

T2 T.. Tn

(10)

More User Roles and hence,

multiple Views

UI

T1

DB

T2 T.. Tn

U.. Um

(11)

More Data Sites

UI

T1

D1

T2 T.. Tn

U.. Um

D.. Dp

(12)

Users are scattered over a wide area

UI

T11 D1

T12 T.. Tno U..

Um

D.. Dp

UI

UI

UI

(13)

Some users are local

UI

T11 D1

T12 T.. Tno U..

Um

D.. Dp

UI

UI

UI

UI UI UI

(14)

A Peer-Peer Collaboration

UI

UI

UI D

D

D BL

BL

BL network

(15)

The Concerns of

Interoperability

(16)

The Concerns of

Interoperability

(17)

The Concerns of

Interoperability

(18)

The Concerns of

Interoperability

(19)

The Concerns of

Interoperability

(20)

The Concerns of

Interoperability

(21)

Some Architectural Concerns

• Business Logic

• Data Design

• Interfaces, Descriptions and Discovery

• Performance and QoS

• Replication and High Availability

• Scalability and Load balancing

• Security, Access Policies, Accounting

• Reusable and Adaptable Applications

• Interoperability and Legacy Integration

(22)

Service Orientation

(23)

Evolution of Service Orientation

Functions

Remote Procedure Calls

Remote Method Invocations Interoperable Middleware Web Services

(24)

What's a Service?

• A program called service user

• A program called service provider

• A protocol throught which they communicate

• Service provider guarantees postconditions

• Service user fulfils preconditions

(25)

Publish-Find-Bind/Use

Registry a service

another service

client application

(26)

Publish-Find-Bind/Use

Registry a service

another service

client application

(27)

Publish-Find-Bind/Use

Registry a service

another service

client application

(28)

Publish-Find-Bind/Use

Registry a service

another service

client application

(29)

A typical scenario

• Clients ---- download a client-side program and use it (PULL model)

• Server side --- accepts client requests and serve them through local service supports

• Communication and security protocols

• Traditional computational layering techniques at server side

– Service dispatch, parallelism, database layer – Firewalls, filters, loggers

• Service descriptions and discovery

(30)

Cluster Computing/Grid Backbone

W e b S e r v e r

(31)

Cluster Computing/Grid Backbone

W e b S e r v e r

(32)

Some Internet

Programming Techniques

• Applets – code that gets downloaded with an html page

• XML-based standards for communication and data representation

• Forms, Scripts, Servlets..

• SOAP (simple object access protocol)

• Self Description (eg WSDL)

• Programs can discover programs (UDDI) –

universal description, discovery and integration

(33)

Event-Driven Architecture

• Events are a major abstraction in the domain

• Events occur as a result of something changing within the system

• Some applications are interested in some specific events

(34)

Parameters

• Event sources, called publishers

• Event subscribers, or event handlers

• Event types

• Event priorities and Service guarantees

• Event Buffers, Event spaces

(35)

Event Publishing

Push type publishers

Pull type publishers

(36)

Event Delivery

Pull type subscribers

Push type subscribers

(37)

Event Spaces

• Remeber events for pull subscribers

• Pull events from pull publishers

• Push events onto push subscribers

• Receive events from push publishers

(38)

An EDA

Event Space push

pull push

pull

subscribers publishers

(39)

EDA and SOA

• SOA is about thinking in terms of well-defined services, contracts, protocols and interoperability

• EDA is about having to handle events in an event-major system

• The components in EDA could be services themselves

(40)

Interoperability and Availability Issues

Address

interoperability

New System already in

place, and it's working

standardization

Address Availability

References

Related documents

Actions to achieve SDG2 (End hunger, achieve food security and improved nutrition, and promote sustainable agriculture) will accelerate progress across most other goals

 Pursue and advocate for specific, measurable and ambitious targets in the post- 2020 global biodiversity framework to catalyse national and international action,

FIES developed by FAO is used to compute SDG indicator 2.1.2: the prevalence of moderate or severe food insecurity in the popula on. FIES is a food security measurement scale

The Use of Performance-Based Contracts for Nonrevenue Water Reduction (Kingdom, Lloyd-Owen, et al. 2018) Note: MFD = Maximizing Finance for Development; PIR = Policy, Institutional,

The impacts of climate change are increasingly affecting the Horn of Africa, thereby amplifying pre-existing vulnerabilities such as food insecurity and political instability

While the survey analysis helps us understand the current landscape of the Asia-Pacific region regarding PPP systems, the identified gaps show that there is plenty of room

This document summarizes the online consultation Promoting sustainable food systems for healthy diets in Europe and Central Asia: the key role of school food and nutrition

Dispute settlement through Conciliation Board.- Any dispute arising out of transaction between the farmer and the trader in the trade area shall be first resolved through