Designing Applications for Performance Appropriate I/O for Specific Task Minimize all Initiation and Termination Design Everything to be “Interactive”

Slides:



Advertisements
Similar presentations
SWE 316: Software Design and Architecture
Advertisements

Technical Architectures
Many kinds of clients and servers This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike 3.0 License. Skills: none IT concepts:
Chapter 9: The Client/Server Database Environment
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Gavin Payne Oracle for SQL Server DBAs. Why Oracle? Installation Physical Storage Backup and Recovery 20 slides in 50 minutes Inside the database Programmability.
Distributed Systems: Client/Server Computing
Client/Server Architecture
Centralized and Client/Server Architecture and Classification of DBMS
Lecture The Client/Server Database Environment
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
The Client/Server Database Environment
Client – Server Architecture A Basic Introduction Kathleen R. Murray, Ph.D. May 2002.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
Introduction Optimizing Application Performance with Pinpoint Accuracy What every IT Executive, Administrator & Developer Needs to Know.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS (Cont’d) Instructor Ms. Arwa Binsaleh.
Implementation - Deployment Methods of deployment –User PC –Network shared (workstation install) –Terminal server –Web Deployment (ActiveX) (Note: this.
M1G Introduction to Database Development 6. Building Applications.
Optimizing Batch Job Performance Resources Consumed by Program I/O by Database File Name Delays Caused by Object Locks Heaviest Active Job Function Names.
SQL Queries Relational database and SQL MySQL LAMP SQL queries A MySQL Tutorial and applications Database Building Assignment.
Improving Efficiency of I/O Bound Systems More Memory, Better Caching Newer and Faster Disk Drives Set Object Access (SETOBJACC) Reorganize (RGZPFM) w/
Introduction Journal Analysis and Optimization Journaling Uses and Benefits Understanding Costs and Implications Ongoing Management and Administration.
Client – Server Architecture. Client Server Architecture A network architecture in which each computer or process on the network is either a client or.
How computer’s are linked together.
SQL Queries Relational database and SQL MySQL LAMP SQL queries A MySQL Tutorial and applications Database Building.
Public vs. Private Public vs. Private Network?.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Personal Computer - Stand- Alone Database  Database (or files) reside on a PC - on the hard disk.  Applications run on the same PC and directly access.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
Introduction FREE Application Performance Analysis Workload Performance Series Software Software Installation Procedure Initial Performance Review Process.
Database Design – Lecture 18 Client/Server, Data Warehouse and E-Commerce Database Design.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 2-1 Data Models Data Model: A set.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
Microsoft Management Seminar Series SMS 2003 Change Management.
Eliminate the Confusion Eliminate the Confusion!.
JSP Server Integrated with Oracle8i Project2, CMSC691X Summer02 Ching-li Peng Ying Zhang.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
4 m 9K Copyright 2002 Forum 9000, LLC Slide 1 Forum 9000 Quality Systems for Quality Care.
Chapter 9  Definition of terms  List advantages of client/server architecture  Explain three application components:
TM 8-1 Copyright © 1999 Addison Wesley Longman, Inc. Client/Server and Middleware.
System Design for Home Automaton. Design Goals Performance Criteria – Server prioritizes client requests to provide quick response time to critical requests.
Client – Server Architecture A Basic Introduction 1.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
Maintaining and Updating Windows Server 2008 Lesson 8.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 9: The Client/Server Database Environment Modern Database Management 9 th Edition.
Oracle Database Architectural Components
Mary Ganesan and Lora Strother Campus Tours Using a Mobile Device.
MQ Series Cross Platform Dominant Messaging sw – 70% of market
2nd year Computer Science & Engineer
3.1 Types of Servers.
System Architecture & Hardware Configurations
The Client/Server Database Environment
Relational database and SQL MySQL LAMP SQL queries
The Client/Server Database Environment
The Client/Server Database Environment
System Architecture & Hardware Configurations
Unit 5: Providing Network Services
Chapter 9: The Client/Server Database Environment
#01 Client/Server Computing
Chapter 3: Windows7 Part 4.
Tiers vs. Layers.
MQ Series Cross Platform Dominant Messaging sw – 70% of market
#01 Client/Server Computing
Presentation transcript:

Designing Applications for Performance Appropriate I/O for Specific Task Minimize all Initiation and Termination Design Everything to be “Interactive” Pre-Summarize and Format Data Thin Client/Server is Good, Fat is Bad! Developers Environment vs. End Users Be an End User for a Day!

Appropriate I/O for Specific Task RPG/COBOL (use logical views) Java/SQL (avoid table scans, re-indexing) Wireless (minimize data across network) Client/Server (keep logic near database)

I/O Example (RPG/COBOL)

I/O Example (Java/SQL)

Minimize all Initiation and Termination RPG/COBOL (use data queues, TFRCTL ) Java (minimize QJVACMDSRV, QJVAEXEC ) SQL (limit SQL requests, pull sets of data) Wireless (TCP/IP sockets client/server) Client/Server (keep ODBC connections open) TCP/IP Sockets (multi-threaded connections) ILE C (optimize calls to traditional routines) Data Queues (use w/ triggers, keep files open)

Initiation Example (data queues)

Initiation Example (Java)

Design Everything to be “Interactive” RPG/COBOL (batch is a “short-cut”) Java (mimic “page at a time” sub-files?) SQL (need 10 records, read 10 records) Wireless (store offline lookup tables) Client/Server (limit images, focus on function) TCP/IP Sockets (keep active, good recovery) ILE C (IBM Dynamic Screen Manager) Data Queues ( QSNDDTAQ, QRCVDTAQ )

Interactive Example (Java/SQL)

Interactive Example (ILE-C)

Pre-Summarize and Format Data RPG/COBOL (normalize, transaction processing) Java (de-normalize for performance) SQL (pre-summarize for instant static totals) Wireless (subset rows/columns for small devices) Client/Server (re-format on server, pull to client) Data Queues (w/ triggers, real-time summaries)

Thin Client/Server is Good, Fat is Bad! RPG/COBOL (limit ILE program size) Java (thin client, reasonable server) SQL (stored procedures, small data-sets to client) Wireless (thinnest client or it WON’T WORK!!) Client/Server (fat client, not a feature to promote)

Developers Environment vs. End Users Developers with SUPER machines and 10 transactions in the order detail file End Users with older machines and 10,000,000 transactions in the order detail file Single biggest reason for poor performance!!

Be a User for a Day! Experience what it is like to run your application on a 4 year old PC How long does it take you to enter a transaction? How do the features and functionality really work! Receive first hand feedback on performance and functionality concerns Gain a sense of appreciation for end-user complaints

Q&A To receive MB Software’s FREE performance evaluation: 1. Register at 2. Download and install software on AS/ Call (800) to schedule your free performance review session What To Expect: After allowing performance data to accumulate for one full business day, you will log into a secure area of MB Software’s Web site. We will then have a conference call to discuss our findings and how you can gain performance improvements with your existing applications. Analyzing existing workload and applications can do a great deal in showing what to mimic and what to improve in new applications. It’s that easy! Questions & Answers