SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
Analysing	
  Performance	
  of	
  XML	
  Data	
  
Binding	
  Solutions	
  for	
  SOS	
  Applications	
  
                       Alain	
  Tamayo,	
  Carlos	
  Granell,	
  Joaquín	
  Huerta	
  	
  
                Geospatial	
  Technologies	
  Research	
  Group,	
  Universitat	
  Jaume	
  I,	
  Spain	
  	
  

                                                     SWE	
  2011,	
  Oct	
  6-­‐7,	
  Banff,	
  Alberta,	
  Canada	
  
1	
  .	
  Motivation	
  



                                                                                                                  SOS-­‐based	
  applications	
  are	
  
                                                                                                                  commonplace	
  in	
  server,	
  web	
  and	
  
                                                                                                                  desktop	
  environments.	
  




                                                                                                                   It’s	
  just	
  a	
  matter	
  of	
  time	
  they	
  
                                                                                                                   become	
  commonplace	
  in	
  mobile	
  
                                                                                                                   devices	
  




Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     2	
  
2	
  .	
  Motivation	
  

        SOS	
  protocols	
  are	
  based	
  in	
  large	
  
        schemas	
  that	
  describes	
  the	
  structure	
  
        of	
  exchanged	
  messages	
  in	
  XML	
  format	
  
        (+700	
  types,	
  +80	
  schema	
  files)	
  

            •  Low-­‐Level	
  APIs:	
  
                •  Tree	
  APIs:	
  DOM	
  
                •  Streaming	
  APIs:	
  SAX,	
  StaX,	
  …	
  
            •  XML	
  Data	
  Binding:	
  XMLBeans,	
  JAXB,	
  
               XBinder,	
  …	
  

              Using	
  low-­‐level	
  APIs	
  in	
  the	
  presence	
  of	
  large	
  schemas	
  is	
  
              time-­‐consuming	
  and	
  error-­‐prone.	
  
              Using	
  XML	
  data	
  binding	
  is	
  advised,	
  but	
  frequently	
  
              generated	
  code	
  needs	
  more	
  computational	
  resources.	
  

Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     3	
  
3	
  .	
  Objectives	
  


                •  To	
  analyse	
  to	
  what	
  extent	
  the	
  use	
  of	
  XML	
  data	
  binding	
  solutions	
  is	
  a	
  
                   problem	
  in	
  SOS	
  applications	
  running	
  in	
  different	
  platforms	
  (Windows	
  
                   7	
  and	
  Android):	
  
                        •  Execution	
  speed	
  (without	
  including	
  storage	
  or	
  network	
  transfer	
  
                           times).	
  
                           •  Memory	
  consumption	
  	
  
                           •  Size	
  of	
  generated	
  code	
  




Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     4	
  
4	
  .	
  Experimental	
  Setup	
  

              •  4	
  datasets	
  of	
  real	
  SOS	
  data:	
  	
  
                      •  CAPS	
  (capabilities	
  files)	
  
                          •  SD	
  (Sensor	
  description	
  files)	
  
                          •  OBS	
  (Observation	
  files)	
  
                          •  MEA	
  (Measurement	
  files)	
  
              •  4	
  XML	
  data	
  binding	
  tools:	
  
                      •  XMLBeans	
  (PC)	
  
                          •  JAXB	
  (PC)	
  
                          •  XBinder	
  (PC	
  and	
  Mobile)	
  
                          •  DBMG	
  (PC	
  and	
  Mobile)	
  
              •  2	
  Hardware	
  platforms:	
  
                      •  HTC	
  Desire	
  Android	
  Phone	
  (1	
  GHz	
  CPU,	
  576	
  RAM)	
  
                          •  Windows	
  7	
  PC	
  (Intel	
  Quad	
  Core	
  i7	
  2.8	
  GHz	
  CPU,	
  8GB	
  	
  RAM)	
  


Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     5	
  
5	
  –	
  Execution	
  Speed	
  (CAPS	
  Dataset)	
  

              Mobile	
  Scenario	
                                                                                PC	
  Scenario	
  




            The	
  execution	
  times	
  for	
  the	
  mobile	
  phone	
  were	
  about	
  60	
  times	
  slower	
  than	
  
            for	
  the	
  personal	
  computer.	
  
            XML	
  processing	
  code	
  does	
  not	
  seem	
  to	
  be	
  a	
  bottleneck	
  for	
  PCs.	
  
            High	
  processing	
  times	
  for	
  mobiles	
  	
  raises	
  the	
  question	
  if	
  the	
  current	
  SOS	
  
            protocol	
  is	
  appropriate	
  for	
  being	
  implemented	
  in	
  these	
  devices.	
  XML	
  is	
  a	
  
            verbose	
  format.	
  
Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     6	
  
6	
  –	
  Execution	
  Speed	
  (SD	
  Dataset)	
  


              •  SD	
  dataset:	
  	
  
                  •  SensorML	
  files	
  used	
  to	
  be	
  small	
  (<20KB).	
  As	
  	
  a	
  consequence,	
  the	
  
                        execution	
  times	
  were	
  not	
  high.	
  
              •  OBS	
  and	
  MEA	
  datasets:	
  
                  •  Observation	
  files	
  contains	
  about	
  7	
  times	
  more	
  observation	
  values	
  
                        than	
  measurement	
  files	
  of	
  the	
  same	
  size.	
  As	
  a	
  consequence,	
  we	
  
                        recommend	
  to	
  use	
  the	
  former	
  in	
  	
  mobile	
  device	
  SOS	
  clients.	
  
                  •  Observation	
  files	
  represent	
  observation	
  values	
  inside	
  a	
  xsd:anyType	
  
                        element	
  that	
  is	
  not	
  mapped	
  successfully	
  by	
  some	
  XML	
  data	
  binding	
  
                        tools.	
  Additionally,	
  	
  as	
  the	
  “block”	
  of	
  observation	
  values	
  is	
  
                        represented	
  as	
  a	
  String	
  	
  the	
  application	
  code	
  must	
  parse	
  this	
  
                        information	
  again.	
  
                  	
  




Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     7	
  
7	
  –	
  Execution	
  Speed	
  (Parsers	
  –	
  CAPS	
  Dataset)	
  
                                                    PC	
  Scenario	
  




 Small	
  files	
  
 (<100KB)	
  




 Large	
  files	
  
 (>100KB)	
  




Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     8	
  
8	
  –	
  Execution	
  Speed	
  (Parsers	
  –	
  CAPS	
  Dataset)	
  

              Mobile	
  Scenario	
  




            Writing	
  XML	
  processing	
  code	
  using	
  a	
  manual	
  approach	
  do	
  not	
  necessarily	
  
            produce	
  a	
  code	
  that	
  is	
  much	
  faster	
  than	
  code	
  generated	
  by	
  some	
  tools.	
  




Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     9	
  
9	
  –	
  Memory	
  Consumption	
  (CAPS	
  dataset)	
  


            Small	
  files	
  (<100KB)	
                                                                            Large	
  files	
  (>100KB)	
  




          JAXB	
  and	
  XMLBeans	
  show	
  higher	
  memory	
  consumption,	
  but	
  it	
  does	
  not	
  
          seem	
  to	
  represent	
  a	
  problem	
  for	
  a	
  desktop	
  or	
  server	
  application.	
  


Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     10	
  
10	
  –	
  Size	
  of	
  Generated	
  Code	
  



                                                                                                    Code	
  generated	
  based	
  on	
  large	
  schemas	
  
                                                                                                    usually	
  has	
  a	
  large	
  size.	
  	
  
                                                                                                    	
  
                                                                                                    Customised	
  code	
  fits	
  better	
  the	
  limitations	
  of	
  
                                                                                                    mobile	
  devices.	
  
                                                                                                    	
  
                                                                                                    Customised	
  code	
  does	
  not	
  necessarily	
  	
  has	
  to	
  
                                                                                                    be	
  written	
  manually.	
  




Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     11	
  
11	
  -­‐	
  Conclusions	
  


            We	
  have	
  presented	
  a	
  study	
  to	
  measure	
  the	
  influence	
  of	
  XML	
  processing	
  
            code	
  in	
  the	
  performance	
  of	
  desktop	
  and	
  mobile	
  SOS	
  applications.	
  	
  
            	
  
            The	
  results	
  have	
  shown	
  that	
  XML	
  processing	
  does	
  not	
  seem	
  to	
  be	
  a	
  
            bottleneck	
  in	
  PC	
  applications.	
  On	
  the	
  other	
  hand,	
  the	
  opposite	
  happens	
  in	
  
            mobile	
  devices	
  where	
  the	
  time	
  needed	
  to	
  process	
  large	
  XML	
  files	
  is	
  very	
  
            high	
  due	
  to	
  their	
  associated	
  resource	
  constraints.	
  




Analysing	
  Performance	
  of	
  XML	
  Data	
  Binding	
  Solutions	
  for	
  SOS	
  Applications	
     12	
  
¿?	
  
Thank	
  you	
  for	
  your	
  attention	
  

Contenu connexe

Similaire à Analysing Performance of XML Data Binding Solutions for SOS Applications

Building Standards-Based Geoprocessing Mobile Clients
Building Standards-Based Geoprocessing Mobile ClientsBuilding Standards-Based Geoprocessing Mobile Clients
Building Standards-Based Geoprocessing Mobile ClientsAlain Tamayo Fong
 
Elastic Caching for a Smarter Planet - Make Every Transaction Count
Elastic Caching for a Smarter Planet - Make Every Transaction CountElastic Caching for a Smarter Planet - Make Every Transaction Count
Elastic Caching for a Smarter Planet - Make Every Transaction CountYakura Coffee
 
Performance Testing in a Mobile World
Performance Testing in a Mobile WorldPerformance Testing in a Mobile World
Performance Testing in a Mobile Worldstuartmoncrieff
 
Generated REST Gateways for Mobile Applications
Generated REST Gateways for Mobile ApplicationsGenerated REST Gateways for Mobile Applications
Generated REST Gateways for Mobile ApplicationsWolfgang Frank
 
DDS-to-JSON and DDS Real-time Data Storage with MongoDB
DDS-to-JSON and DDS Real-time Data Storage with MongoDBDDS-to-JSON and DDS Real-time Data Storage with MongoDB
DDS-to-JSON and DDS Real-time Data Storage with MongoDBAbdullah Ozturk
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceApigee | Google Cloud
 
UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015Christopher Curtin
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSam Ramji
 
AI Scalability for the Next Decade
AI Scalability for the Next DecadeAI Scalability for the Next Decade
AI Scalability for the Next DecadePaula Koziol
 
Common MongoDB Use Cases
Common MongoDB Use CasesCommon MongoDB Use Cases
Common MongoDB Use CasesDATAVERSITY
 
Technology
TechnologyTechnology
TechnologyRo Hith
 
Learning from google megastore (Part-1)
Learning from google megastore (Part-1)Learning from google megastore (Part-1)
Learning from google megastore (Part-1)Schubert Zhang
 
Case Study: Synchroniztion Issues in Mobile Databases
Case Study: Synchroniztion Issues in Mobile DatabasesCase Study: Synchroniztion Issues in Mobile Databases
Case Study: Synchroniztion Issues in Mobile DatabasesG. Habib Uddin Khan
 
Case Study: Synchroniztion Issues in Mobile Databases
Case Study: Synchroniztion Issues in Mobile DatabasesCase Study: Synchroniztion Issues in Mobile Databases
Case Study: Synchroniztion Issues in Mobile DatabasesG. Habib Uddin Khan
 

Similaire à Analysing Performance of XML Data Binding Solutions for SOS Applications (20)

Building Standards-Based Geoprocessing Mobile Clients
Building Standards-Based Geoprocessing Mobile ClientsBuilding Standards-Based Geoprocessing Mobile Clients
Building Standards-Based Geoprocessing Mobile Clients
 
Elastic Caching for a Smarter Planet - Make Every Transaction Count
Elastic Caching for a Smarter Planet - Make Every Transaction CountElastic Caching for a Smarter Planet - Make Every Transaction Count
Elastic Caching for a Smarter Planet - Make Every Transaction Count
 
Performance Testing in a Mobile World
Performance Testing in a Mobile WorldPerformance Testing in a Mobile World
Performance Testing in a Mobile World
 
moveMountainIEEE
moveMountainIEEEmoveMountainIEEE
moveMountainIEEE
 
Mse unit5
Mse unit5Mse unit5
Mse unit5
 
Generated REST Gateways for Mobile Applications
Generated REST Gateways for Mobile ApplicationsGenerated REST Gateways for Mobile Applications
Generated REST Gateways for Mobile Applications
 
kumarResume
kumarResumekumarResume
kumarResume
 
DDS-to-JSON and DDS Real-time Data Storage with MongoDB
DDS-to-JSON and DDS Real-time Data Storage with MongoDBDDS-to-JSON and DDS Real-time Data Storage with MongoDB
DDS-to-JSON and DDS Real-time Data Storage with MongoDB
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile Performance
 
UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015
 
Skeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile PerformanceSkeuomorphs, Databases, and Mobile Performance
Skeuomorphs, Databases, and Mobile Performance
 
Ispn
IspnIspn
Ispn
 
gfs-sosp2003
gfs-sosp2003gfs-sosp2003
gfs-sosp2003
 
gfs-sosp2003
gfs-sosp2003gfs-sosp2003
gfs-sosp2003
 
AI Scalability for the Next Decade
AI Scalability for the Next DecadeAI Scalability for the Next Decade
AI Scalability for the Next Decade
 
Common MongoDB Use Cases
Common MongoDB Use CasesCommon MongoDB Use Cases
Common MongoDB Use Cases
 
Technology
TechnologyTechnology
Technology
 
Learning from google megastore (Part-1)
Learning from google megastore (Part-1)Learning from google megastore (Part-1)
Learning from google megastore (Part-1)
 
Case Study: Synchroniztion Issues in Mobile Databases
Case Study: Synchroniztion Issues in Mobile DatabasesCase Study: Synchroniztion Issues in Mobile Databases
Case Study: Synchroniztion Issues in Mobile Databases
 
Case Study: Synchroniztion Issues in Mobile Databases
Case Study: Synchroniztion Issues in Mobile DatabasesCase Study: Synchroniztion Issues in Mobile Databases
Case Study: Synchroniztion Issues in Mobile Databases
 

Plus de Cybera Inc.

Cyber Summit 2016: Technology, Education, and Democracy
Cyber Summit 2016: Technology, Education, and DemocracyCyber Summit 2016: Technology, Education, and Democracy
Cyber Summit 2016: Technology, Education, and DemocracyCybera Inc.
 
Cyber Summit 2016: Understanding Users' (In)Secure Behaviour
Cyber Summit 2016: Understanding Users' (In)Secure BehaviourCyber Summit 2016: Understanding Users' (In)Secure Behaviour
Cyber Summit 2016: Understanding Users' (In)Secure BehaviourCybera Inc.
 
Cyber Summit 2016: Insider Threat Indicators: Human Behaviour
Cyber Summit 2016: Insider Threat Indicators: Human BehaviourCyber Summit 2016: Insider Threat Indicators: Human Behaviour
Cyber Summit 2016: Insider Threat Indicators: Human BehaviourCybera Inc.
 
Cyber Summit 2016: Research Data and the Canadian Innovation Challenge
Cyber Summit 2016: Research Data and the Canadian Innovation ChallengeCyber Summit 2016: Research Data and the Canadian Innovation Challenge
Cyber Summit 2016: Research Data and the Canadian Innovation ChallengeCybera Inc.
 
Cyber Summit 2016: Knowing More and Understanding Less in the Age of Big Data
Cyber Summit 2016: Knowing More and Understanding Less in the Age of Big DataCyber Summit 2016: Knowing More and Understanding Less in the Age of Big Data
Cyber Summit 2016: Knowing More and Understanding Less in the Age of Big DataCybera Inc.
 
Cyber Summit 2016: Privacy Issues in Big Data Sharing and Reuse
Cyber Summit 2016: Privacy Issues in Big Data Sharing and ReuseCyber Summit 2016: Privacy Issues in Big Data Sharing and Reuse
Cyber Summit 2016: Privacy Issues in Big Data Sharing and ReuseCybera Inc.
 
Cyber Summit 2016: Establishing an Ethics Framework for Predictive Analytics ...
Cyber Summit 2016: Establishing an Ethics Framework for Predictive Analytics ...Cyber Summit 2016: Establishing an Ethics Framework for Predictive Analytics ...
Cyber Summit 2016: Establishing an Ethics Framework for Predictive Analytics ...Cybera Inc.
 
Cyber Summit 2016: The Data Tsunami vs The Network: How More Data Changes Eve...
Cyber Summit 2016: The Data Tsunami vs The Network: How More Data Changes Eve...Cyber Summit 2016: The Data Tsunami vs The Network: How More Data Changes Eve...
Cyber Summit 2016: The Data Tsunami vs The Network: How More Data Changes Eve...Cybera Inc.
 
Cyber Summit 2016: Issues and Challenges Facing Municipalities In Securing Data
Cyber Summit 2016: Issues and Challenges Facing Municipalities In Securing DataCyber Summit 2016: Issues and Challenges Facing Municipalities In Securing Data
Cyber Summit 2016: Issues and Challenges Facing Municipalities In Securing DataCybera Inc.
 
Cyber Summit 2016: Using Law Responsibly: What Happens When Law Meets Technol...
Cyber Summit 2016: Using Law Responsibly: What Happens When Law Meets Technol...Cyber Summit 2016: Using Law Responsibly: What Happens When Law Meets Technol...
Cyber Summit 2016: Using Law Responsibly: What Happens When Law Meets Technol...Cybera Inc.
 
Privacy, Security & Access to Data
Privacy, Security & Access to DataPrivacy, Security & Access to Data
Privacy, Security & Access to DataCybera Inc.
 
Do Universities Dream of Big Data
Do Universities Dream of Big DataDo Universities Dream of Big Data
Do Universities Dream of Big DataCybera Inc.
 
Predicting the Future With Microsoft Bing
Predicting the Future With Microsoft BingPredicting the Future With Microsoft Bing
Predicting the Future With Microsoft BingCybera Inc.
 
Analytics 101: How to not fail at analytics
Analytics 101: How to not fail at analyticsAnalytics 101: How to not fail at analytics
Analytics 101: How to not fail at analyticsCybera Inc.
 
Are MOOC's past their peak?
Are MOOC's past their peak?Are MOOC's past their peak?
Are MOOC's past their peak?Cybera Inc.
 
Opening the doors of the laboratory
Opening the doors of the laboratoryOpening the doors of the laboratory
Opening the doors of the laboratoryCybera Inc.
 
Open City - Edmonton
Open City - EdmontonOpen City - Edmonton
Open City - EdmontonCybera Inc.
 
Unlocking the power of healthcare data
Unlocking the power of healthcare dataUnlocking the power of healthcare data
Unlocking the power of healthcare dataCybera Inc.
 
Checking in on Healthcare Data Analytics
Checking in on Healthcare Data AnalyticsChecking in on Healthcare Data Analytics
Checking in on Healthcare Data AnalyticsCybera Inc.
 
Open access and open data: international trends and strategic context
Open access and open data: international trends and strategic contextOpen access and open data: international trends and strategic context
Open access and open data: international trends and strategic contextCybera Inc.
 

Plus de Cybera Inc. (20)

Cyber Summit 2016: Technology, Education, and Democracy
Cyber Summit 2016: Technology, Education, and DemocracyCyber Summit 2016: Technology, Education, and Democracy
Cyber Summit 2016: Technology, Education, and Democracy
 
Cyber Summit 2016: Understanding Users' (In)Secure Behaviour
Cyber Summit 2016: Understanding Users' (In)Secure BehaviourCyber Summit 2016: Understanding Users' (In)Secure Behaviour
Cyber Summit 2016: Understanding Users' (In)Secure Behaviour
 
Cyber Summit 2016: Insider Threat Indicators: Human Behaviour
Cyber Summit 2016: Insider Threat Indicators: Human BehaviourCyber Summit 2016: Insider Threat Indicators: Human Behaviour
Cyber Summit 2016: Insider Threat Indicators: Human Behaviour
 
Cyber Summit 2016: Research Data and the Canadian Innovation Challenge
Cyber Summit 2016: Research Data and the Canadian Innovation ChallengeCyber Summit 2016: Research Data and the Canadian Innovation Challenge
Cyber Summit 2016: Research Data and the Canadian Innovation Challenge
 
Cyber Summit 2016: Knowing More and Understanding Less in the Age of Big Data
Cyber Summit 2016: Knowing More and Understanding Less in the Age of Big DataCyber Summit 2016: Knowing More and Understanding Less in the Age of Big Data
Cyber Summit 2016: Knowing More and Understanding Less in the Age of Big Data
 
Cyber Summit 2016: Privacy Issues in Big Data Sharing and Reuse
Cyber Summit 2016: Privacy Issues in Big Data Sharing and ReuseCyber Summit 2016: Privacy Issues in Big Data Sharing and Reuse
Cyber Summit 2016: Privacy Issues in Big Data Sharing and Reuse
 
Cyber Summit 2016: Establishing an Ethics Framework for Predictive Analytics ...
Cyber Summit 2016: Establishing an Ethics Framework for Predictive Analytics ...Cyber Summit 2016: Establishing an Ethics Framework for Predictive Analytics ...
Cyber Summit 2016: Establishing an Ethics Framework for Predictive Analytics ...
 
Cyber Summit 2016: The Data Tsunami vs The Network: How More Data Changes Eve...
Cyber Summit 2016: The Data Tsunami vs The Network: How More Data Changes Eve...Cyber Summit 2016: The Data Tsunami vs The Network: How More Data Changes Eve...
Cyber Summit 2016: The Data Tsunami vs The Network: How More Data Changes Eve...
 
Cyber Summit 2016: Issues and Challenges Facing Municipalities In Securing Data
Cyber Summit 2016: Issues and Challenges Facing Municipalities In Securing DataCyber Summit 2016: Issues and Challenges Facing Municipalities In Securing Data
Cyber Summit 2016: Issues and Challenges Facing Municipalities In Securing Data
 
Cyber Summit 2016: Using Law Responsibly: What Happens When Law Meets Technol...
Cyber Summit 2016: Using Law Responsibly: What Happens When Law Meets Technol...Cyber Summit 2016: Using Law Responsibly: What Happens When Law Meets Technol...
Cyber Summit 2016: Using Law Responsibly: What Happens When Law Meets Technol...
 
Privacy, Security & Access to Data
Privacy, Security & Access to DataPrivacy, Security & Access to Data
Privacy, Security & Access to Data
 
Do Universities Dream of Big Data
Do Universities Dream of Big DataDo Universities Dream of Big Data
Do Universities Dream of Big Data
 
Predicting the Future With Microsoft Bing
Predicting the Future With Microsoft BingPredicting the Future With Microsoft Bing
Predicting the Future With Microsoft Bing
 
Analytics 101: How to not fail at analytics
Analytics 101: How to not fail at analyticsAnalytics 101: How to not fail at analytics
Analytics 101: How to not fail at analytics
 
Are MOOC's past their peak?
Are MOOC's past their peak?Are MOOC's past their peak?
Are MOOC's past their peak?
 
Opening the doors of the laboratory
Opening the doors of the laboratoryOpening the doors of the laboratory
Opening the doors of the laboratory
 
Open City - Edmonton
Open City - EdmontonOpen City - Edmonton
Open City - Edmonton
 
Unlocking the power of healthcare data
Unlocking the power of healthcare dataUnlocking the power of healthcare data
Unlocking the power of healthcare data
 
Checking in on Healthcare Data Analytics
Checking in on Healthcare Data AnalyticsChecking in on Healthcare Data Analytics
Checking in on Healthcare Data Analytics
 
Open access and open data: international trends and strategic context
Open access and open data: international trends and strategic contextOpen access and open data: international trends and strategic context
Open access and open data: international trends and strategic context
 

Dernier

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Dernier (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Analysing Performance of XML Data Binding Solutions for SOS Applications

  • 1. Analysing  Performance  of  XML  Data   Binding  Solutions  for  SOS  Applications   Alain  Tamayo,  Carlos  Granell,  Joaquín  Huerta     Geospatial  Technologies  Research  Group,  Universitat  Jaume  I,  Spain     SWE  2011,  Oct  6-­‐7,  Banff,  Alberta,  Canada  
  • 2. 1  .  Motivation   SOS-­‐based  applications  are   commonplace  in  server,  web  and   desktop  environments.   It’s  just  a  matter  of  time  they   become  commonplace  in  mobile   devices   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   2  
  • 3. 2  .  Motivation   SOS  protocols  are  based  in  large   schemas  that  describes  the  structure   of  exchanged  messages  in  XML  format   (+700  types,  +80  schema  files)   •  Low-­‐Level  APIs:   •  Tree  APIs:  DOM   •  Streaming  APIs:  SAX,  StaX,  …   •  XML  Data  Binding:  XMLBeans,  JAXB,   XBinder,  …   Using  low-­‐level  APIs  in  the  presence  of  large  schemas  is   time-­‐consuming  and  error-­‐prone.   Using  XML  data  binding  is  advised,  but  frequently   generated  code  needs  more  computational  resources.   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   3  
  • 4. 3  .  Objectives   •  To  analyse  to  what  extent  the  use  of  XML  data  binding  solutions  is  a   problem  in  SOS  applications  running  in  different  platforms  (Windows   7  and  Android):   •  Execution  speed  (without  including  storage  or  network  transfer   times).   •  Memory  consumption     •  Size  of  generated  code   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   4  
  • 5. 4  .  Experimental  Setup   •  4  datasets  of  real  SOS  data:     •  CAPS  (capabilities  files)   •  SD  (Sensor  description  files)   •  OBS  (Observation  files)   •  MEA  (Measurement  files)   •  4  XML  data  binding  tools:   •  XMLBeans  (PC)   •  JAXB  (PC)   •  XBinder  (PC  and  Mobile)   •  DBMG  (PC  and  Mobile)   •  2  Hardware  platforms:   •  HTC  Desire  Android  Phone  (1  GHz  CPU,  576  RAM)   •  Windows  7  PC  (Intel  Quad  Core  i7  2.8  GHz  CPU,  8GB    RAM)   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   5  
  • 6. 5  –  Execution  Speed  (CAPS  Dataset)   Mobile  Scenario   PC  Scenario   The  execution  times  for  the  mobile  phone  were  about  60  times  slower  than   for  the  personal  computer.   XML  processing  code  does  not  seem  to  be  a  bottleneck  for  PCs.   High  processing  times  for  mobiles    raises  the  question  if  the  current  SOS   protocol  is  appropriate  for  being  implemented  in  these  devices.  XML  is  a   verbose  format.   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   6  
  • 7. 6  –  Execution  Speed  (SD  Dataset)   •  SD  dataset:     •  SensorML  files  used  to  be  small  (<20KB).  As    a  consequence,  the   execution  times  were  not  high.   •  OBS  and  MEA  datasets:   •  Observation  files  contains  about  7  times  more  observation  values   than  measurement  files  of  the  same  size.  As  a  consequence,  we   recommend  to  use  the  former  in    mobile  device  SOS  clients.   •  Observation  files  represent  observation  values  inside  a  xsd:anyType   element  that  is  not  mapped  successfully  by  some  XML  data  binding   tools.  Additionally,    as  the  “block”  of  observation  values  is   represented  as  a  String    the  application  code  must  parse  this   information  again.     Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   7  
  • 8. 7  –  Execution  Speed  (Parsers  –  CAPS  Dataset)   PC  Scenario   Small  files   (<100KB)   Large  files   (>100KB)   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   8  
  • 9. 8  –  Execution  Speed  (Parsers  –  CAPS  Dataset)   Mobile  Scenario   Writing  XML  processing  code  using  a  manual  approach  do  not  necessarily   produce  a  code  that  is  much  faster  than  code  generated  by  some  tools.   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   9  
  • 10. 9  –  Memory  Consumption  (CAPS  dataset)   Small  files  (<100KB)   Large  files  (>100KB)   JAXB  and  XMLBeans  show  higher  memory  consumption,  but  it  does  not   seem  to  represent  a  problem  for  a  desktop  or  server  application.   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   10  
  • 11. 10  –  Size  of  Generated  Code   Code  generated  based  on  large  schemas   usually  has  a  large  size.       Customised  code  fits  better  the  limitations  of   mobile  devices.     Customised  code  does  not  necessarily    has  to   be  written  manually.   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   11  
  • 12. 11  -­‐  Conclusions   We  have  presented  a  study  to  measure  the  influence  of  XML  processing   code  in  the  performance  of  desktop  and  mobile  SOS  applications.       The  results  have  shown  that  XML  processing  does  not  seem  to  be  a   bottleneck  in  PC  applications.  On  the  other  hand,  the  opposite  happens  in   mobile  devices  where  the  time  needed  to  process  large  XML  files  is  very   high  due  to  their  associated  resource  constraints.   Analysing  Performance  of  XML  Data  Binding  Solutions  for  SOS  Applications   12  
  • 13. ¿?   Thank  you  for  your  attention