SlideShare a Scribd company logo
1 of 18
17 th  FFV Workshop Fahad Aijaz - Research Engineer - Communication Networks RWTH Aachen University March 12, 2010 Protecting Multi-Interfaced Mobile Web Services using Agreements
Outline of Talk ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Research Scope (Introduction) Web Server GENERAL CONCEPT OF TODAY’S WEB - Specialized functions - Internal process - Access interface RESOURCES WEB SERVICES - Private Data - Multimedia - Websites TRANSPARENT ACCESS    High-tech Web Servers.    Hosts Web Service and Resources.    Transparent Access to the Clients.    Neutral towards diverse clients. IP Access to Mobile Nodes P2P Mobile Web Services Mobile Web Server Mobile Web Services Mobile Web Server Mobile Web Services Web Service Broker Publish + Search Consume CONSUMER + PROVIDER CONSUMER + PROVIDER Publish + Search MOBILE WEB SERVER
Research Scope (Evolution of the Mobile Web Server Architecture) Service Deployment Architecture Asynchronous Services Synchronous Services SEVERAL PROTOCOL BINDINGS 2007 Asynchronous  Communication Architecture Service Management Architecture 2006 2008 REST Messaging Framework SOAP Messaging Framework MOBILE APPLICATIONS Mobile Web Server Architecture 2009 MOBILE NODE NOT ONLY MOBILE PHONES!  Mobile Web Server Mobile Web Services    ASYNCHRONOUS SERVICE   ACCESS PROTOCOL
Performance Optimization Multi-Interfaced Mobile Web Services  (SOAP Services on Mobile Devices) <SOAP-ENV … > <SOAP-HEADER …> <!–- WS-* Specifications  Custom XML … --> </SOAP-HEADER…> <SOAP-BODY …> <!–- WS-* Specifications  Custom XML Complex Types … --> </SOAP-BODY…> </SOAP-ENV> SOAP Envelope <SOAP-HEADER … > <!–- WS-* Specifications  Custom XML … --> </SOAP-HEADER> <SOAP-BODY … > <!–- WS-* Specifications  Custom XML Complex Types … --> </SOAP-BODY> SOAP Messaging CUSTOMIZED-PAYLOAD HTTP Request:  GET, POST, PUT, DELETE ? High Payload  (WS-*) Processing Demands Activity Oriented XML Based only! Resource/Activity Oriented Format Neutral WWW-like Access Light-weight Thick Clients Thin Clients GLOBAL STANDARD! GOOD FOR ENTERPRISE COMPUTING OVERHEAD ON MOBILE DEVICES ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Identify the network resources using  URLs! FUNDAMENTAL PRINCIPLE Map the request action to  HTTP Methods! RE presentational S tate T ransfer Static network resources Example: HTML, XML, JPG, GIF… Network resources Example: HTML, XML, JPG, GIF… Every resource changes the client’s state Resources are transferred  using HTTP World Wide Web is  RESTful ! Not a Standard… … but it uses standards! Architecture style… …analogous to Client-Server Multi-Interfaced Mobile Web Services  (Service as a Resource    SaaR) http://comnets.rwth-aachen.de/fah.html Transfer Representation State
SYNCHRONOUS ACCESS ASYNCHRONOUS ACCESS Services as a Resource (SaaR) (Defining Synchronous & Asynchronous Access) SERVICE IDENTIFIES THE REQUESTED ACTION… … BY USING HTTP METHODS THE SERVICE DEVELOPER DEFINES… … WHICH METHOD MEANS WHAT ACTION HTTP : //  :  /  / IP PORT SERVICE RESOURCE rest.comnets.de LocationService 9091 Coordinates HTTP : //  :  /  /  /  / IP PORT SERVICE TYPE RESOURCE OPERATION rest.comnets.de aLocationService 9091 Asynchronous Factory CreateInstanceRq GET  |  POST  |  PUT  |  DELETE    FETCH    UPDATE    INSERT    REMOVE
Research Scope    Quick Recap (Evolution of the Mobile Web Server Architecture) Service Deployment Architecture Asynchronous Services Synchronous Services SEVERAL PROTOCOL BINDINGS 2007 Asynchronous  Communication Architecture Service Management Architecture AGREEMENT PROTECTED SERVICES 2006 2008 REST Messaging Framework Service Level Agreements Framework SOAP Messaging Framework MOBILE APPLICATIONS Mobile Web Server Architecture 2009 MOBILE NODE NOT ONLY MOBILE PHONES!      WEB SERVICE   AGREEMENTS Mobile Web Server Mobile Web Services    ASYNCHRONOUS SERVICE   ACCESS PROTOCOL
Service Level Agreements (SLA) Framework (Phases and Life Cycles) Agreement Creation Agreement Evaluation QoS Monitoring Disposal Monitoring    The functions of the SLA architecture are classified   into 4 distinct phases    The SLA phases executes 4 distinct life cycles    based on the incoming mobile Web Service   requests    The SLA negotiation is based on    the Web Service Agreement    standard of the Open Grid    Forum    The standard is    Optimized to define    the SLA messaging   for mobile nodes    The SLA framework    is compatible with   the REST and SOAP    access interfaces INTERNAL PHASE LIFE CYCLES INTER-PHASE LIFE CYCLES    Based on the    synchronous and    asynchronous server    architecture DIRECT PHASE ACCESS 4 PHASES OF THE  SLA FRAMEWORK Service Level Agreements Framework Agreement Offer Life Cycle Template Acquisition Life Cycle Service Invocation Life Cycle Agreement Disposal Life Cycle
Agreement Creation Phase (Template Acquisition Life Cycle) A) TEMPLATE WITH VALIDITY B) MUST BE USED BEFORE EXPIRY C) AUTOMATED DELETION   ( DISPOSAL MONITORING ) Mobile Web Server SERVICE FT FETCH TEMPLATE SYNCHRONOUS MOBILE WEB SERVICE DERIVED FROM THE  WEB SERVICE AGREEMENT STANDARD MAY RESIDE IN THE  CLOUD  OR THE  MOBILE NODE A)  READS & MANIPULATES  THE TEMPLATE B) GENERATES A  UUID FOR THE CLIENT C)  SAVES A COPY  AGAINST THE UUID D)  DISPATCHES  THE TEMPLATE UUID + AGREEMENT TEMPLATE EXAMPLE REST REQUEST http://mobile.comnets.de/FetchTemplate SERVICE PROVIDER’S AGREEMENT TEMPLATE MOBILE WEB SERVICE CLIENTS FETCH TEMPLATE 1 AGREEMENT TEMPLATE 2
Agreement Creation and Evaluation Phase  (Agreement Offer Life Cycle) Mobile Web Server SERVICE A)  VERIFY UUID B)  NOTIFY  THE CLIENT C) TRANSITIONS TO    THE EVALUATION   PHASE ( IF VARIFIED ) A)  EVALUATE OFFER  AGAINST   THE RELATED TEMPLATE B)  ACCEPT/REJECT  THE   AGREEMENT OFFER C)  SAVE ( IF ACCEPTED )  &    NOTIFY MAY RESIDE IN THE  CLOUD  OR THE  MOBILE NODE THIRD-PARTY EVALUATIONS POSSIBLE! READY FOR SERVICE CONSUMPTION ( IF ACCEPTED ) ,[object Object],[object Object],[object Object],AGREEMENT OFFER MOBILE WEB SERVICE CLIENTS AGREEMENT OFFER + UUID 3 AGREEMENT ACCEPT/REJECT 4 AGREEMENT TEMPLATE 2 NOTIFICATION Verification Evaluation AGREEMENT  CREATION  PHASE COMPLETED  AGREEMENT  EVALUATION PHASE STARTED !
Agreement Evaluation and QoS Monitoring Phase  (Service Invocation Life Cycle) Mobile Web Server A)  EVALUATE REQUEST  AGAINST    THE ESTABLISHED AGREEMENT B) VERIFY  INVOKE COUNT  &     INVOKE INTERVAL ( DEFAULT ) C)  INVOKE/SCHEDULE SERVICE D)   INITIATE  QoS MONITORING ACTIVE PENDING Instantly effective Scheduled SERVICE AGREEMENT AGREEMENT STATES VERIFY UUID SERVICE A) SERVICE PROVIDER  SPECIFIES THE   QoS HANDLERS ( DEPLOYMENT ) B) READS THE  SERVICE SETTINGS C) STARTS THE  ASSOCIATED QoS HANDLERS D)  HANDLERS MONITORS AND ACTS ON  QoS   VIOLATIONS THIRD-PARTY HANDLERS POSSIBLE MOBILE WEB SERVICE CLIENTS SERVICE INVOCATION + UUID 5 SERVICE RESPONSE 6 AGREEMENT ACCEPT/REJECT 4 Verification Evaluation IMMEDIATE INVOCATION SCHEDULED INVOCATION AGREEMENT  EVALUATION PHASE COMPLETED  QoS MONITORING PHASE STARTED ! QoS Monitoring NOTIFICATION For asynchronous services only! QoS VIOLATIONS
Disposal Monitoring Phase (Agreement Disposal Life Cycle) Mobile Web Server VERIFY UUID SERVICE CLIENT – CONTROLLED AUTOMATIC DISPOSAL SPECIFIED BY THE SERVICE PROVIDER DURING THE SERVICE DEPLOYMENT Disposal Monitoring Client – controlled only! A)  PERIODICAL CLEANUP  CYCLES IN AUTOMATIC    DISPOSAL B) LOOKS FOR  EXPIRED   AGREEMENTS  &  TEMPLATES C)  END DATE OF AN AGREEMENT  AND  INVOKE COUNT  IS    MONITORED AS EXPIRATION CRITERIA D)   DISPOSES  TEMPLATES ,  AGREEMENTS  &  CLIENT    RECORDS  (UUID) E)  ONE PROCESS  FOR ALL AGREEMENTS FOR  CLIENT – CONTROLLED  ONLY SERVICE PROVIDER MAY  SPECIFY THE CLEANUP  INTERVAL FOR  AUTOMATIC PROCESS TO  AVOID QoS & AGREEMENT VIOLATION  RISKS Client – controlled only! DEFAULT MOBILE WEB SERVICE CLIENTS AGREEMENT DISPOSAL + UUID 5 DISPOSAL RESPONSE 6 AGREEMENT TEMPLATE 2 Verification QoS Monitoring PRECONDITIONS CLIENT IS ALLOWED SERVICE NOT IN EXECUTION
Performance Evaluation - 1/3 ( SYNCHRONOUS     Mean Server Processing Latency) SOAP REQUEST REST REQUEST ~ 2 TIMES FASTER!
SOAP REQUEST REST REQUEST ~ 5 TIMES FASTER Performance Evaluation - 2/3 ( ASYNCHRONOUS     Mean Server Processing Latency)
45 Performance Evaluation - 3/3 (Server Utilization Analysis) 200 ~90% < 45% REST Server SOAP Server > 400 Reqs./s possible! CAPACITY INCREASE    approx. > 8 TIMES <40 180 >90% < 90% REST Server SOAP Server > 180 Reqs./s possible! SYNCHRONOUS MOBILE WEB SERVER ASYNCHRONOUS MOBILE WEB SERVER CAPACITY INCREASE    ~ 5 TIMES REST SERVER
Conclusion ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Thank you for your attention ! Questions are welcome! 5

More Related Content

Viewers also liked

Tarjetadigital
TarjetadigitalTarjetadigital
Tarjetadigitalisaiasdcg
 
Chest pain PPT BY Dr bidya sms jaipur
Chest pain PPT BY Dr bidya sms jaipurChest pain PPT BY Dr bidya sms jaipur
Chest pain PPT BY Dr bidya sms jaipurBidyalakshmee Yumnam
 
21146138정석원
21146138정석원21146138정석원
21146138정석원jsw9275
 
Domingo de ramos na paróquia de santa luzia em jardim nordeste
Domingo de ramos na paróquia de santa luzia em jardim nordesteDomingo de ramos na paróquia de santa luzia em jardim nordeste
Domingo de ramos na paróquia de santa luzia em jardim nordesteAntenor Antenor
 
Seguridad informatica
Seguridad informatica Seguridad informatica
Seguridad informatica Sandra Quevedo
 
Capas cartas 100 y 50
Capas cartas 100 y 50Capas cartas 100 y 50
Capas cartas 100 y 50propio_esta
 
Web recursos pdi primaria
Web recursos pdi primariaWeb recursos pdi primaria
Web recursos pdi primariajmmj1519
 
Satsschema biff heff
Satsschema biff heffSatsschema biff heff
Satsschema biff heffSara Berg
 
Marketing Plan for New Limited Ownership Apartment in Vietnam
Marketing Plan for New Limited Ownership Apartment in VietnamMarketing Plan for New Limited Ownership Apartment in Vietnam
Marketing Plan for New Limited Ownership Apartment in VietnamTuan Topet
 
SciVal Biotechnology Portal
SciVal Biotechnology PortalSciVal Biotechnology Portal
SciVal Biotechnology PortalAlberto Zigoni
 
Marketing trong thi truong doanh nghiep (b2 b)
Marketing trong thi truong doanh nghiep (b2 b)Marketing trong thi truong doanh nghiep (b2 b)
Marketing trong thi truong doanh nghiep (b2 b)Dung Tri
 

Viewers also liked (18)

Tarjetadigital
TarjetadigitalTarjetadigital
Tarjetadigital
 
Chest pain PPT BY Dr bidya sms jaipur
Chest pain PPT BY Dr bidya sms jaipurChest pain PPT BY Dr bidya sms jaipur
Chest pain PPT BY Dr bidya sms jaipur
 
21146138정석원
21146138정석원21146138정석원
21146138정석원
 
Power Point Roser
Power Point RoserPower Point Roser
Power Point Roser
 
Dilip_Resume
Dilip_ResumeDilip_Resume
Dilip_Resume
 
Steering training
Steering trainingSteering training
Steering training
 
cv said
cv saidcv said
cv said
 
Primavera 2012
Primavera 2012Primavera 2012
Primavera 2012
 
Domingo de ramos na paróquia de santa luzia em jardim nordeste
Domingo de ramos na paróquia de santa luzia em jardim nordesteDomingo de ramos na paróquia de santa luzia em jardim nordeste
Domingo de ramos na paróquia de santa luzia em jardim nordeste
 
Seguridad informatica
Seguridad informatica Seguridad informatica
Seguridad informatica
 
Actividad 2
Actividad 2Actividad 2
Actividad 2
 
Capas cartas 100 y 50
Capas cartas 100 y 50Capas cartas 100 y 50
Capas cartas 100 y 50
 
Web recursos pdi primaria
Web recursos pdi primariaWeb recursos pdi primaria
Web recursos pdi primaria
 
Satsschema biff heff
Satsschema biff heffSatsschema biff heff
Satsschema biff heff
 
Marketing Plan for New Limited Ownership Apartment in Vietnam
Marketing Plan for New Limited Ownership Apartment in VietnamMarketing Plan for New Limited Ownership Apartment in Vietnam
Marketing Plan for New Limited Ownership Apartment in Vietnam
 
SciVal Biotechnology Portal
SciVal Biotechnology PortalSciVal Biotechnology Portal
SciVal Biotechnology Portal
 
Approach to chest pain
Approach to chest painApproach to chest pain
Approach to chest pain
 
Marketing trong thi truong doanh nghiep (b2 b)
Marketing trong thi truong doanh nghiep (b2 b)Marketing trong thi truong doanh nghiep (b2 b)
Marketing trong thi truong doanh nghiep (b2 b)
 

Similar to Protecting Multi-Interfaced Mobile Web Services using Agreements

AWS CloudFormation Automation, TrafficScript, and Serverless architecture wit...
AWS CloudFormation Automation, TrafficScript, and Serverless architecture wit...AWS CloudFormation Automation, TrafficScript, and Serverless architecture wit...
AWS CloudFormation Automation, TrafficScript, and Serverless architecture wit...PolarSeven Pty Ltd
 
Asynchronous Mobile Web Services:
Asynchronous Mobile Web Services: Asynchronous Mobile Web Services:
Asynchronous Mobile Web Services: Dr. Fahad Aijaz
 
Service Oriented Architecture & Beyond
Service Oriented Architecture & BeyondService Oriented Architecture & Beyond
Service Oriented Architecture & BeyondImesh Gunaratne
 
Policy Based Approach To Runtime Governace
Policy Based Approach To Runtime GovernacePolicy Based Approach To Runtime Governace
Policy Based Approach To Runtime GovernaceMichiel.Kemperman
 
Service Provider Architectures for Tomorrow by Chow Khay Kid
Service Provider Architectures for Tomorrow by Chow Khay KidService Provider Architectures for Tomorrow by Chow Khay Kid
Service Provider Architectures for Tomorrow by Chow Khay KidMyNOG
 
Enterprise Application to Infrastructure Integration - SDN Apps
Enterprise Application to Infrastructure Integration - SDN AppsEnterprise Application to Infrastructure Integration - SDN Apps
Enterprise Application to Infrastructure Integration - SDN AppsMiftakhZein1
 
DEVNET-1153 Enterprise Application to Infrastructure Integration – SDN Apps
DEVNET-1153	Enterprise Application to Infrastructure Integration – SDN AppsDEVNET-1153	Enterprise Application to Infrastructure Integration – SDN Apps
DEVNET-1153 Enterprise Application to Infrastructure Integration – SDN AppsCisco DevNet
 
D1-3-Signaling
D1-3-SignalingD1-3-Signaling
D1-3-SignalingOleg Levy
 
Managing Microservices With The Istio Service Mesh on Kubernetes
Managing Microservices With The Istio Service Mesh on KubernetesManaging Microservices With The Istio Service Mesh on Kubernetes
Managing Microservices With The Istio Service Mesh on KubernetesIftach Schonbaum
 
Service Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices ArchitectureService Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices ArchitecturePLUMgrid
 
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...Spiffy
 
Introduction to Istio for APIs and Microservices meetup
Introduction to Istio for APIs and Microservices meetupIntroduction to Istio for APIs and Microservices meetup
Introduction to Istio for APIs and Microservices meetupDaniel Ciruli
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web servicesNeil Ghosh
 
Complete Architecture and Development Guide To Windows Communication Foundati...
Complete Architecture and Development Guide To Windows Communication Foundati...Complete Architecture and Development Guide To Windows Communication Foundati...
Complete Architecture and Development Guide To Windows Communication Foundati...Abdul Khan
 
InterConnect 2015 session 2825 cics_and_the_new soa
InterConnect 2015 session 2825  cics_and_the_new soaInterConnect 2015 session 2825  cics_and_the_new soa
InterConnect 2015 session 2825 cics_and_the_new soanick_garrod
 

Similar to Protecting Multi-Interfaced Mobile Web Services using Agreements (20)

Web services
Web servicesWeb services
Web services
 
AWS CloudFormation Automation, TrafficScript, and Serverless architecture wit...
AWS CloudFormation Automation, TrafficScript, and Serverless architecture wit...AWS CloudFormation Automation, TrafficScript, and Serverless architecture wit...
AWS CloudFormation Automation, TrafficScript, and Serverless architecture wit...
 
Asynchronous Mobile Web Services:
Asynchronous Mobile Web Services: Asynchronous Mobile Web Services:
Asynchronous Mobile Web Services:
 
Service Oriented Architecture & Beyond
Service Oriented Architecture & BeyondService Oriented Architecture & Beyond
Service Oriented Architecture & Beyond
 
Policy Based Approach To Runtime Governace
Policy Based Approach To Runtime GovernacePolicy Based Approach To Runtime Governace
Policy Based Approach To Runtime Governace
 
Introduction to SOAP
Introduction to SOAPIntroduction to SOAP
Introduction to SOAP
 
Service Provider Architectures for Tomorrow by Chow Khay Kid
Service Provider Architectures for Tomorrow by Chow Khay KidService Provider Architectures for Tomorrow by Chow Khay Kid
Service Provider Architectures for Tomorrow by Chow Khay Kid
 
Enterprise Application to Infrastructure Integration - SDN Apps
Enterprise Application to Infrastructure Integration - SDN AppsEnterprise Application to Infrastructure Integration - SDN Apps
Enterprise Application to Infrastructure Integration - SDN Apps
 
DEVNET-1153 Enterprise Application to Infrastructure Integration – SDN Apps
DEVNET-1153	Enterprise Application to Infrastructure Integration – SDN AppsDEVNET-1153	Enterprise Application to Infrastructure Integration – SDN Apps
DEVNET-1153 Enterprise Application to Infrastructure Integration – SDN Apps
 
D1-3-Signaling
D1-3-SignalingD1-3-Signaling
D1-3-Signaling
 
Managing Microservices With The Istio Service Mesh on Kubernetes
Managing Microservices With The Istio Service Mesh on KubernetesManaging Microservices With The Istio Service Mesh on Kubernetes
Managing Microservices With The Istio Service Mesh on Kubernetes
 
Service Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices ArchitectureService Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices Architecture
 
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure ...
 
Introduction to Istio for APIs and Microservices meetup
Introduction to Istio for APIs and Microservices meetupIntroduction to Istio for APIs and Microservices meetup
Introduction to Istio for APIs and Microservices meetup
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
SOA patterns
SOA patterns SOA patterns
SOA patterns
 
Complete Architecture and Development Guide To Windows Communication Foundati...
Complete Architecture and Development Guide To Windows Communication Foundati...Complete Architecture and Development Guide To Windows Communication Foundati...
Complete Architecture and Development Guide To Windows Communication Foundati...
 
InterConnect 2015 session 2825 cics_and_the_new soa
InterConnect 2015 session 2825  cics_and_the_new soaInterConnect 2015 session 2825  cics_and_the_new soa
InterConnect 2015 session 2825 cics_and_the_new soa
 
Microservice Powered Orchestration
Microservice Powered OrchestrationMicroservice Powered Orchestration
Microservice Powered Orchestration
 
Restful webservices
Restful webservicesRestful webservices
Restful webservices
 

Recently uploaded

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Recently uploaded (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

Protecting Multi-Interfaced Mobile Web Services using Agreements

  • 1. 17 th FFV Workshop Fahad Aijaz - Research Engineer - Communication Networks RWTH Aachen University March 12, 2010 Protecting Multi-Interfaced Mobile Web Services using Agreements
  • 2.
  • 3. Research Scope (Introduction) Web Server GENERAL CONCEPT OF TODAY’S WEB - Specialized functions - Internal process - Access interface RESOURCES WEB SERVICES - Private Data - Multimedia - Websites TRANSPARENT ACCESS  High-tech Web Servers.  Hosts Web Service and Resources.  Transparent Access to the Clients.  Neutral towards diverse clients. IP Access to Mobile Nodes P2P Mobile Web Services Mobile Web Server Mobile Web Services Mobile Web Server Mobile Web Services Web Service Broker Publish + Search Consume CONSUMER + PROVIDER CONSUMER + PROVIDER Publish + Search MOBILE WEB SERVER
  • 4. Research Scope (Evolution of the Mobile Web Server Architecture) Service Deployment Architecture Asynchronous Services Synchronous Services SEVERAL PROTOCOL BINDINGS 2007 Asynchronous Communication Architecture Service Management Architecture 2006 2008 REST Messaging Framework SOAP Messaging Framework MOBILE APPLICATIONS Mobile Web Server Architecture 2009 MOBILE NODE NOT ONLY MOBILE PHONES!  Mobile Web Server Mobile Web Services  ASYNCHRONOUS SERVICE ACCESS PROTOCOL
  • 5.
  • 6. Identify the network resources using URLs! FUNDAMENTAL PRINCIPLE Map the request action to HTTP Methods! RE presentational S tate T ransfer Static network resources Example: HTML, XML, JPG, GIF… Network resources Example: HTML, XML, JPG, GIF… Every resource changes the client’s state Resources are transferred using HTTP World Wide Web is RESTful ! Not a Standard… … but it uses standards! Architecture style… …analogous to Client-Server Multi-Interfaced Mobile Web Services (Service as a Resource  SaaR) http://comnets.rwth-aachen.de/fah.html Transfer Representation State
  • 7. SYNCHRONOUS ACCESS ASYNCHRONOUS ACCESS Services as a Resource (SaaR) (Defining Synchronous & Asynchronous Access) SERVICE IDENTIFIES THE REQUESTED ACTION… … BY USING HTTP METHODS THE SERVICE DEVELOPER DEFINES… … WHICH METHOD MEANS WHAT ACTION HTTP : // : / / IP PORT SERVICE RESOURCE rest.comnets.de LocationService 9091 Coordinates HTTP : // : / / / / IP PORT SERVICE TYPE RESOURCE OPERATION rest.comnets.de aLocationService 9091 Asynchronous Factory CreateInstanceRq GET | POST | PUT | DELETE  FETCH  UPDATE  INSERT  REMOVE
  • 8. Research Scope  Quick Recap (Evolution of the Mobile Web Server Architecture) Service Deployment Architecture Asynchronous Services Synchronous Services SEVERAL PROTOCOL BINDINGS 2007 Asynchronous Communication Architecture Service Management Architecture AGREEMENT PROTECTED SERVICES 2006 2008 REST Messaging Framework Service Level Agreements Framework SOAP Messaging Framework MOBILE APPLICATIONS Mobile Web Server Architecture 2009 MOBILE NODE NOT ONLY MOBILE PHONES!    WEB SERVICE AGREEMENTS Mobile Web Server Mobile Web Services  ASYNCHRONOUS SERVICE ACCESS PROTOCOL
  • 9. Service Level Agreements (SLA) Framework (Phases and Life Cycles) Agreement Creation Agreement Evaluation QoS Monitoring Disposal Monitoring  The functions of the SLA architecture are classified into 4 distinct phases  The SLA phases executes 4 distinct life cycles based on the incoming mobile Web Service requests  The SLA negotiation is based on the Web Service Agreement standard of the Open Grid Forum  The standard is Optimized to define the SLA messaging for mobile nodes  The SLA framework is compatible with the REST and SOAP access interfaces INTERNAL PHASE LIFE CYCLES INTER-PHASE LIFE CYCLES  Based on the synchronous and asynchronous server architecture DIRECT PHASE ACCESS 4 PHASES OF THE SLA FRAMEWORK Service Level Agreements Framework Agreement Offer Life Cycle Template Acquisition Life Cycle Service Invocation Life Cycle Agreement Disposal Life Cycle
  • 10. Agreement Creation Phase (Template Acquisition Life Cycle) A) TEMPLATE WITH VALIDITY B) MUST BE USED BEFORE EXPIRY C) AUTOMATED DELETION ( DISPOSAL MONITORING ) Mobile Web Server SERVICE FT FETCH TEMPLATE SYNCHRONOUS MOBILE WEB SERVICE DERIVED FROM THE WEB SERVICE AGREEMENT STANDARD MAY RESIDE IN THE CLOUD OR THE MOBILE NODE A) READS & MANIPULATES THE TEMPLATE B) GENERATES A UUID FOR THE CLIENT C) SAVES A COPY AGAINST THE UUID D) DISPATCHES THE TEMPLATE UUID + AGREEMENT TEMPLATE EXAMPLE REST REQUEST http://mobile.comnets.de/FetchTemplate SERVICE PROVIDER’S AGREEMENT TEMPLATE MOBILE WEB SERVICE CLIENTS FETCH TEMPLATE 1 AGREEMENT TEMPLATE 2
  • 11.
  • 12. Agreement Evaluation and QoS Monitoring Phase (Service Invocation Life Cycle) Mobile Web Server A) EVALUATE REQUEST AGAINST THE ESTABLISHED AGREEMENT B) VERIFY INVOKE COUNT & INVOKE INTERVAL ( DEFAULT ) C) INVOKE/SCHEDULE SERVICE D) INITIATE QoS MONITORING ACTIVE PENDING Instantly effective Scheduled SERVICE AGREEMENT AGREEMENT STATES VERIFY UUID SERVICE A) SERVICE PROVIDER SPECIFIES THE QoS HANDLERS ( DEPLOYMENT ) B) READS THE SERVICE SETTINGS C) STARTS THE ASSOCIATED QoS HANDLERS D) HANDLERS MONITORS AND ACTS ON QoS VIOLATIONS THIRD-PARTY HANDLERS POSSIBLE MOBILE WEB SERVICE CLIENTS SERVICE INVOCATION + UUID 5 SERVICE RESPONSE 6 AGREEMENT ACCEPT/REJECT 4 Verification Evaluation IMMEDIATE INVOCATION SCHEDULED INVOCATION AGREEMENT EVALUATION PHASE COMPLETED  QoS MONITORING PHASE STARTED ! QoS Monitoring NOTIFICATION For asynchronous services only! QoS VIOLATIONS
  • 13. Disposal Monitoring Phase (Agreement Disposal Life Cycle) Mobile Web Server VERIFY UUID SERVICE CLIENT – CONTROLLED AUTOMATIC DISPOSAL SPECIFIED BY THE SERVICE PROVIDER DURING THE SERVICE DEPLOYMENT Disposal Monitoring Client – controlled only! A) PERIODICAL CLEANUP CYCLES IN AUTOMATIC DISPOSAL B) LOOKS FOR EXPIRED AGREEMENTS & TEMPLATES C) END DATE OF AN AGREEMENT AND INVOKE COUNT IS MONITORED AS EXPIRATION CRITERIA D) DISPOSES TEMPLATES , AGREEMENTS & CLIENT RECORDS (UUID) E) ONE PROCESS FOR ALL AGREEMENTS FOR CLIENT – CONTROLLED ONLY SERVICE PROVIDER MAY SPECIFY THE CLEANUP INTERVAL FOR AUTOMATIC PROCESS TO AVOID QoS & AGREEMENT VIOLATION RISKS Client – controlled only! DEFAULT MOBILE WEB SERVICE CLIENTS AGREEMENT DISPOSAL + UUID 5 DISPOSAL RESPONSE 6 AGREEMENT TEMPLATE 2 Verification QoS Monitoring PRECONDITIONS CLIENT IS ALLOWED SERVICE NOT IN EXECUTION
  • 14. Performance Evaluation - 1/3 ( SYNCHRONOUS  Mean Server Processing Latency) SOAP REQUEST REST REQUEST ~ 2 TIMES FASTER!
  • 15. SOAP REQUEST REST REQUEST ~ 5 TIMES FASTER Performance Evaluation - 2/3 ( ASYNCHRONOUS  Mean Server Processing Latency)
  • 16. 45 Performance Evaluation - 3/3 (Server Utilization Analysis) 200 ~90% < 45% REST Server SOAP Server > 400 Reqs./s possible! CAPACITY INCREASE  approx. > 8 TIMES <40 180 >90% < 90% REST Server SOAP Server > 180 Reqs./s possible! SYNCHRONOUS MOBILE WEB SERVER ASYNCHRONOUS MOBILE WEB SERVER CAPACITY INCREASE  ~ 5 TIMES REST SERVER
  • 17.
  • 18. Thank you for your attention ! Questions are welcome! 5