+ All Categories
Home > Documents > ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App...

ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App...

Date post: 02-Jun-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
43
ANGRY BIRDS & HALF-WORDS MOBILE & THE MAINFRAME Geoff Pirie – IBM Hursley, UK. CICS Transaction Server Length Field 2 Bytes Byte 0 1 2
Transcript
Page 1: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

ANGRY BIRDS & HALF-WORDSMOBILE & THE MAINFRAMEGeoff Pirie – IBM Hursley, UK. CICS Transaction Server

Length Field

2 Bytes

Byte 0 1 2

Page 2: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 3: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Over ONE B ILLION

DOWNLOADS

#1 in 7 9COUNTRIES

3 0 0 M ILLION

minutes played per day

ONEWikipediaa month!~

Page 4: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

The reason?

1) There are a lot of mobile devices

2) We spend a lot of time using those devices

3) We really hate green pigs! ;-)

Page 5: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 6: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 7: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 8: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

So we need toconnect the services in here

Z

To the users on here

?

Page 9: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Easy!Mobile is just like the web right?

ZWeb ServersBrowserMobile browser

to existing website

Calls to existing mainframe

services and data

SOAP XMLREST MQCTG etc

Page 10: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Easy!Mobile is just like the web right?

ZWeb ServersBrowser Mobile browser to existing

website

Calls to existing mainframe

services and data

W RONG!

Page 11: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Ok... Re-style for a mobile website

ZMobile Web

ServersBrowserMobile browser

to m ob ile website

Calls to existing mainframe

services and data

Page 12: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Ok... Re-style for a mobile website

ZMobile Web

ServersBrowser Mobile browser to m ob ile

website

Calls to existing mainframe

services and data

B e tte r.. .B ut n ot q uite a s g ood a s a n A p p !

Long refresh times!

i

Clunky interfaces! High friction security!

Page 13: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

So... Lets write an app that calls the services directly

ZAppCalls to existing

mainframe services and

data

Page 14: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

So... Lets write an app that calls the services directly

ZApp

B ut wha t a b out. . . .

MultipleOperating systems

AppV1.0

AppV1.1

AppV2.0

Serviceversioning

V1.3

V1.3 V2.1

Update Management

Page 15: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

We need a mobile app platform...

Z

App developmentand management

Service Adapters

Hybrid AppsWrite once,

run anywhere!

Version management,Disable old versions

Upgrade certain platformsMandatory Updates

Service managementShield app from enterprise changes

Manage service versionsSimplify complex interfaces

Calls to existing

mainframe services and

data

Page 16: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Can we do more?

ZCalls to existing

mainframe services and

data

App

SOAP/XMLHeavyweight services

Many Kbs

JSONLightweight services

Few Kbs(good for 3G connections)

JSON → SOAP/XMLJSON ← SOAP/XML

Transformations

Takes time and CPU :-(

Page 17: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Can we do more?

ZCalls toNEW

'mobile friendly' mainframe

services and data

App

JSONLightweight services

Few Kbs

JSONLightweight services

Few Kbs(good for 3G connections)

No Transformations :-)

A better way...

CICS V5.1Mobile FeaturePack & V5.2 Open Beta

Page 18: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Can we do more?

ZCalls toNEW

'mobile friendly' mainframe

services and data

App

MQTTLightweight services

Few Kbs(good for 3G connections)

Or something different...

Designed for Mobile,Used by Facebook!

Page 19: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

So, you can make'mobile friendly' services, but...

...the app team want them yesterday!

Page 20: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Improve your processes!● Incremental delivery with a g ile p rin c ip le s

● Faster delivery with c lou d s tyle d e p loym e n t

● Reduce risk with c ha n g e m a n a g e m e n t

Use projectmanagement toolslike RTC totrack work!

Use the

App and Platform

feature NEW

in CICS V5.1

Use tools likeCICS ConfigurationManager!

Page 21: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

What if the user has no signal?

Z

Page 22: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Use IBM Mobile Database to sync offline changes to DB2!

Z

User makechangesoffline...

IBM Mobile Database automatically syncs changes when they

next get signal!

Page 23: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

What about security?

?ZApp

Page 24: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Your app platform should manage it!

Z

App developmentand management

Service Adapters

Authenticators

Security authorityCredentials and

Authentication Server eg:IB M Se curity

Id e ntity M a n a g e rAuthenticates Users

Links identity to device ID

Access to adapterscontrolled by identity

Identity passed to mainframe over

secure connection

App

Page 25: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

But how will this affect my workload?

6am 12pm 6pm

?

Page 26: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

It depends on your business...

6am 12pm 6pm

6am 12pm 6pm

It might just smooth peaks...

6am 12pm 6pm

More likely you will see increased reads.

(and possibly more writes too!)

Page 27: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Don't worry, the mainframe can scale!

Max transactions per second (Tps)

50 Tps*

* Data from “An Evaluation of Alternative Architectures for Transaction Processing in the Cloud”, 2010, D Kossmann, T Kraska, S Loesing

500 Tps* 1500 Tps*

Distributed

5000 Tps (rough estimate) ???

11,000+ Tps!

Page 28: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Don't worry, the mainframe can scale!

Max transactions per second (Tps)

50 Tps*

* Data from “An Evaluation of Alternative Architectures for Transaction Processing in the Cloud”, 2010, D Kossmann, T Kraska, S Loesing

500 Tps* 1500 Tps*

Distributed

5000 Tps (rough estimate) ???

Page 29: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

How can we reduce mobile workload?

● Most requests from mobiles are 'reads'

● Mainly from people checking if things have changed

● We would get less 'reads' if we told people when things change...

Page 30: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

We need notifications!

ZApp

Send a notification when something changes

Use CICSEve n t P roc e s s in g to

send notificationswithout changing your

application code!

Page 31: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

It's not quite so simple...

Z

Each OS has it's own notification service/protocol

The mainframe only knows about User ID... and nothing about the

device/mobile OS

Page 32: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Once again it's a job for the app platform!

App developmentand management

Service Adapters

Authenticators

Notification Adapters

The mainframe sends a notification to Worklight containing the user IDWorklight can map the

user ID to a device and send it the notification via

the correct service

Z

Page 33: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Do I have to buy new servers to run Worklight?

ZApp

Page 34: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

No!Worklight will run on zLinux!

ZApp

Page 35: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

And we're done!

ZApp

Mobile → MainframeDone :-)

ScaleMobile Friendly servicesAgile/cloud deployment

Notifications

App development/managementService Gateway

SecurityNotification Gateway

Native interfacesData and services on the go

Offline accessLow friction security

Page 36: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Example of connecting a mobile to CICS services

Page 37: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 38: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 39: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 40: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 41: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 42: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version
Page 43: ANGRY BIRDS & HALF-WORDS - the Conference Exchange · We need a mobile app platform... Z App development and management Service Adapters Hybrid Apps Write once, run anywhere! Version

Thank you for listeningAny questions

?


Recommended