SlideShare a Scribd company logo
Lecture 5c: Software Design-Data
Intensive Systems
Design and Design Decision Examples
Dec 2024, Orwa
2
System Architecture
The overall design of a system:
• Computers and networks (e.g., monolithic, distributed)
• Interfaces and protocols (e.g., http, CORBA)
• Databases (e.g., relational, distributed)
• Security (e.g., smart card authentication, SSL)
• Operations (e.g., backup, archiving, audit trails)
• Software environments (e.g., languages, source control tools)
3
Data Intensive Systems
Examples
• Electricity utility customer billing
• Telephone company call recording and billing
• Car rental reservations (e.g., Hertz)
• Stock market brokerage (e.g., Charles Schwab)
• Web sales (e.g., Amazon.com)
4
Example 1: Electricity Utility Billing
First attempt:
Data input Master file
Transaction Bill
Each transaction handled as it arrives.
5
Criticisms of First Attempt
Where is this first attempt weak?
The requirements have not been specified!!!
6
Transaction Types
• Create account / close account
• Meter reading
• Payment received
• Other credits / debits
• Check cleared / check bounced
• Account query
• Correction of error
• etc., etc., etc.,
7
Typical Requirements
• All payments to be credited on day received
• Customers must be able to query account by telephone
• Cutting off service for non-payment requires
management authorization
• Data input staff should process n transactions per day
per person
• Error rate must be below 0.01%
• System available 99.9% of business hours
8
Batch Processing: Validation
Data input
Master file
Edit &
validation
read only
errors
Validated
transactions
Incoming
transactions
9
Batch Processing: Master File Update
Master file
update
Bills
Validated
transactions
in batches
Sort by
account
errors
Reports
Instructions
10
Benefits of Batch Updating
• All transactions for an account are processed together
• Backup and recovery have fixed checkpoints
• Better management control of operations
• Efficient use of staff and hardware
11
Online Inquiry
Data input Master file
Transactions Bills
read only
Customer
service
12
Example 2: A Small-town Stockbroker
• Transactions
Received by mail or over telephone
For immediate or later action
• Complex customer inquiries
• Highly competitive market
13
A Database Architecture
Database(s):
• Customer and account database
• Financial products (e.g., account types, pension plans, savings
schemes)
• External databases (e.g., stock markets, mutual funds,
insurance companies)
14
Database Architecture
Customer &
account database
Products &
services database
External
services
15
Real-time Transaction
Customer &
account database
Products &
services database
External
services
Real-time
transactions
16
Real-time Transactions & Batch
Processing
Customer &
account database
Products &
services database
External
services
Real-time
transactions
Batch
processing
Data
input
17
Architectural considerations
• Real-time service during scheduled hours + batch
processing overnight
• Combine information from several databases
• Database consistency after any type of failure
two-phase commit
reload from checkpoint + log
detailed audit trail
• How will transaction errors be avoided?
• How will transaction errors be corrected?
18
Example: Merger of Two Banks
Each bank has a database with its customer accounts. The databases
are used by staff at many branches and for back-office processing.
The requirement is to integrate the two banks so that they appear to the
customers to be a single organization and to provide integrated service
from all branches.
19
Merger of Two Banks: Options
???
???
A B
20
Merger of Two Banks: Architectural
Options
I. Convert everything to System A.
convert databases
retrain staff
enhance System A (software and hardware)
discard System B
II. Build an interface between the databases in System A
and System B.
III. Extend client software so that it can interact with either
System A or System B database.
21
Distributed Computing: General Problem
An application that is running on one computer wishes to use data
or services provided by another:
• Network connection
private, public, or virtual private network
location of firewalls
• Protocols
point-to-point, multicast, broadcast
message passing, RPC, distributed objects
stateful or stateless
• Quality of service
22
Network Choices
Public Internet:
Ubiquitous -- worldwide
Low cost
Private network:
Security
Predictable performance
Choice of protocols (e.g., IBM's System Network
Architecture, SNA)
23
Quality of Network Services
Performance
Maximum throughput
Variations in throughput
Real-time media (e.g., audio)
Business
Suppliers
Trouble shooting and maintenance
Upgrades
24
Firewall
Public
network
Private
network
Firewall
A firewall is a computer at the junction of two network segments that:
• Inspects every packet that attempts to cross the boundary
• Rejects any packet that does not satisfy certain criteria, e.g.,
an incoming request to open a TCP connection
an unknown packet type

More Related Content

Similar to SE.Software design Data Intensive system lecture 5c.pdf (20)

PDF
BCS APSG Enterprise Systems
Geoff Sharman
 
PDF
A Foundation for Success in the Information Economy
Inside Analysis
 
PPT
Slides for Week 1 - Lec 2
webhostingguy
 
PPT
Db trends final
Craig Mullins
 
PPTX
Banking Software Simulated proposal
Imran Fayyaz
 
PPTX
UNIT3 DBMS.pptx operation nd management of data base
shindhe1098cv
 
DOC
Transaction Processing System
Abdul Aslam
 
PPTX
Techniques for Developing Systems in IT Management System
Gruppo Banca Sella
 
PDF
2012 06-15-jazoon12-sub138-eranea-large-apps-migration
Didier Durand
 
PDF
Confluent & GSI Webinars series - Session 3
confluent
 
PDF
Comprehensive Guide to Effective Database Application Development Principles
EliasZerabruk
 
PPT
Requirement Analysis
Webx
 
PPT
ICT Intro, OS and Applications, Security
TIMON ODINGO
 
PDF
Chapter 2
Rao Majid Shamshad
 
PPTX
Foundation Of Information System
Nirajan Silwal
 
PDF
Mainframe
shivas
 
PPT
Computer information mft review
Vijay Selvam
 
PPT
Information system
boldot holding and son ltd
 
PPT
Technology Fundamentals
ashishsharma1506
 
BCS APSG Enterprise Systems
Geoff Sharman
 
A Foundation for Success in the Information Economy
Inside Analysis
 
Slides for Week 1 - Lec 2
webhostingguy
 
Db trends final
Craig Mullins
 
Banking Software Simulated proposal
Imran Fayyaz
 
UNIT3 DBMS.pptx operation nd management of data base
shindhe1098cv
 
Transaction Processing System
Abdul Aslam
 
Techniques for Developing Systems in IT Management System
Gruppo Banca Sella
 
2012 06-15-jazoon12-sub138-eranea-large-apps-migration
Didier Durand
 
Confluent & GSI Webinars series - Session 3
confluent
 
Comprehensive Guide to Effective Database Application Development Principles
EliasZerabruk
 
Requirement Analysis
Webx
 
ICT Intro, OS and Applications, Security
TIMON ODINGO
 
Foundation Of Information System
Nirajan Silwal
 
Mainframe
shivas
 
Computer information mft review
Vijay Selvam
 
Information system
boldot holding and son ltd
 
Technology Fundamentals
ashishsharma1506
 

Recently uploaded (20)

PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Ad

SE.Software design Data Intensive system lecture 5c.pdf

  • 1. Lecture 5c: Software Design-Data Intensive Systems Design and Design Decision Examples Dec 2024, Orwa
  • 2. 2 System Architecture The overall design of a system: • Computers and networks (e.g., monolithic, distributed) • Interfaces and protocols (e.g., http, CORBA) • Databases (e.g., relational, distributed) • Security (e.g., smart card authentication, SSL) • Operations (e.g., backup, archiving, audit trails) • Software environments (e.g., languages, source control tools)
  • 3. 3 Data Intensive Systems Examples • Electricity utility customer billing • Telephone company call recording and billing • Car rental reservations (e.g., Hertz) • Stock market brokerage (e.g., Charles Schwab) • Web sales (e.g., Amazon.com)
  • 4. 4 Example 1: Electricity Utility Billing First attempt: Data input Master file Transaction Bill Each transaction handled as it arrives.
  • 5. 5 Criticisms of First Attempt Where is this first attempt weak? The requirements have not been specified!!!
  • 6. 6 Transaction Types • Create account / close account • Meter reading • Payment received • Other credits / debits • Check cleared / check bounced • Account query • Correction of error • etc., etc., etc.,
  • 7. 7 Typical Requirements • All payments to be credited on day received • Customers must be able to query account by telephone • Cutting off service for non-payment requires management authorization • Data input staff should process n transactions per day per person • Error rate must be below 0.01% • System available 99.9% of business hours
  • 8. 8 Batch Processing: Validation Data input Master file Edit & validation read only errors Validated transactions Incoming transactions
  • 9. 9 Batch Processing: Master File Update Master file update Bills Validated transactions in batches Sort by account errors Reports Instructions
  • 10. 10 Benefits of Batch Updating • All transactions for an account are processed together • Backup and recovery have fixed checkpoints • Better management control of operations • Efficient use of staff and hardware
  • 11. 11 Online Inquiry Data input Master file Transactions Bills read only Customer service
  • 12. 12 Example 2: A Small-town Stockbroker • Transactions Received by mail or over telephone For immediate or later action • Complex customer inquiries • Highly competitive market
  • 13. 13 A Database Architecture Database(s): • Customer and account database • Financial products (e.g., account types, pension plans, savings schemes) • External databases (e.g., stock markets, mutual funds, insurance companies)
  • 14. 14 Database Architecture Customer & account database Products & services database External services
  • 15. 15 Real-time Transaction Customer & account database Products & services database External services Real-time transactions
  • 16. 16 Real-time Transactions & Batch Processing Customer & account database Products & services database External services Real-time transactions Batch processing Data input
  • 17. 17 Architectural considerations • Real-time service during scheduled hours + batch processing overnight • Combine information from several databases • Database consistency after any type of failure two-phase commit reload from checkpoint + log detailed audit trail • How will transaction errors be avoided? • How will transaction errors be corrected?
  • 18. 18 Example: Merger of Two Banks Each bank has a database with its customer accounts. The databases are used by staff at many branches and for back-office processing. The requirement is to integrate the two banks so that they appear to the customers to be a single organization and to provide integrated service from all branches.
  • 19. 19 Merger of Two Banks: Options ??? ??? A B
  • 20. 20 Merger of Two Banks: Architectural Options I. Convert everything to System A. convert databases retrain staff enhance System A (software and hardware) discard System B II. Build an interface between the databases in System A and System B. III. Extend client software so that it can interact with either System A or System B database.
  • 21. 21 Distributed Computing: General Problem An application that is running on one computer wishes to use data or services provided by another: • Network connection private, public, or virtual private network location of firewalls • Protocols point-to-point, multicast, broadcast message passing, RPC, distributed objects stateful or stateless • Quality of service
  • 22. 22 Network Choices Public Internet: Ubiquitous -- worldwide Low cost Private network: Security Predictable performance Choice of protocols (e.g., IBM's System Network Architecture, SNA)
  • 23. 23 Quality of Network Services Performance Maximum throughput Variations in throughput Real-time media (e.g., audio) Business Suppliers Trouble shooting and maintenance Upgrades
  • 24. 24 Firewall Public network Private network Firewall A firewall is a computer at the junction of two network segments that: • Inspects every packet that attempts to cross the boundary • Rejects any packet that does not satisfy certain criteria, e.g., an incoming request to open a TCP connection an unknown packet type