SlideShare a Scribd company logo
1 of 1
PERFORMANCE EVALUATION OF TRANSIT DATA FORMATS ON A MOBILE DEVICE
Sean J. Barbeau

Tatu Saloranta

University of South Florida

FasterXML, LLC

Challenges
Mobile device performance is still an issue in terms
of processing power, wireless communications, and
energy constraints. New data standards should
recognize the importance, and limitations, of mobile
devices.
Slow performance has significant
implications on app usability, including user wait
times for refreshing real-time info.

{Siri: {
ServiceDelivery: {
ResponseTimestamp: "2012-08-21T12:06:21.485-04:00",
VehicleMonitoringDelivery: [
{
VehicleActivity: [
{
MonitoredVehicleJourney: {
LineRef: "MTA NYCT_S40",
DirectionRef: "0",
FramedVehicleJourneyRef: {
DataFrameRef: "2012-08-21",
DatedVehicleJourneyRef: "MTA
NYCT_20120701CC_072000_S40_0031_S4090_302"
},
JourneyPatternRef: "MTA NYCT_S400031",
PublishedLineName: "S40",
OperatorRef: "MTA NYCT",
OriginRef: "MTA NYCT_200001"
}}
]}
]
}
}

XML - Cold vs. Pseudo-Warm Starts - Summary

JSON - Cold vs. Pseudo-Warm Starts - Summary

(n = 30)

(n = 30)
6000

25000

5000
20000

Elapsed Time (ms)

<Siri xmlns:ns2="http://www.ifopt.org.uk/acsb"
xmlns:ns4=http://datex2.eu/schema/1_0/1_0
xmlns:ns3="http://www.ifopt.org.uk/ifopt" xmlns="http://www.siri.org.uk/siri">
<ServiceDelivery>
<ResponseTimestamp>2012-09-12T09:28:17.21304:00</ResponseTimestamp>
<VehicleMonitoringDelivery>
<VehicleActivity>
<MonitoredVehicleJourney>
<LineRef>MTA NYCT_S40</LineRef>
<DirectionRef>0</DirectionRef>
<FramedVehicleJourneyRef>
<DataFrameRef>2012-09-12</DataFrameRef>
<DatedVehicleJourneyRef>MTA
NYCT_20120902EE_054000_S40_0031_MISC_437</DatedVehicleJourneyRef>
</FramedVehicleJourneyRef>
<JourneyPatternRef>MTA NYCT_S400031</JourneyPatternRef>
<PublishedLineName>S40</PublishedLineName>
<OperatorRef>MTA NYCT</OperatorRef>
<OriginRef>MTA NYCT_200001</OriginRef>
</MonitoredVehicleJourney>
</VehicleActivity>
</VehicleMonitoringDelivery>
<ServiceDelivery>
</Siri>

Elapsed Time (ms)

Mobile devices and apps have created new
opportunities to access real-time transportation
information that can save travelers time and money.

15000

4000

3000

10000

2000

5000

1000

0

0
Min.

Max.

Avg.
Cold Starts

XML (822 char)

50th percentile 68th percentile 95th percentile

Min.

Std dev.

Max.

Avg.

50th percentile 68th percentile 95th percentile

Cold Starts

Pseudo-Warm Starts

Std dev.

Pseudo-Warm Starts

Pseudo-warm starts produce a 44% performance increase when using
XML (due to a large initial overhead), and a 3.96% improvement for JSON

JSON (421 char)

Typical test response was approx. 5KB

Typical test response was approx. 4KB

Results

JSON - Cold vs. Pseudo-Warm Starts without cache read time
(n = 30)
6000

XML vs. JSON Parsing Time - All Requests

XML vs. JSON Parsing Time - Summary
18000

16000

16000

14000

14000

Elapsed Time (ms)

20000

18000

Elapsed Time (ms)

20000

12000
10000
8000
6000

5000

4000

12000
10000

JSON

8000

XML

Elapsed Time (ms)

Evaluation
European Committee for Standardization (CEN) is
evaluating v2.0 of the Service Interface for Real
Time Information (SIRI) (CEN/TS 15531) standard,
including new “mobile-friendly” features, including a
Representational State Transfer (REST) interface and
Javascript Object Notation (JSON) encoding for realtime transit arrival info.

Pseudo-Warm Start Results

Sample Responses

Opportunities

3000

6000
2000

4000

4000

2000

2000

0
1

3

5

7

9

11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
JSON

1000

0
Min.

Max.

Avg.

XML

50th
percentile

68th
percentile

95th
percentile

Std dev.
0

XML cold start response is almost 18 seconds, over 4 times as long as the
JSON cold start response (approx. 4 seconds)

Optimizations
Improving cold starts is important, since mobile apps are
often restarted. Possible optimizations were examined.

Min.

Max.

Avg.

50th percentile

Cold Starts

68th percentile

95th percentile

Std dev.

Pseudo-Warm Starts

Pseudo-warm starts significantly improve user wait times by hiding
initialization time (cache read time) while the user performs other activities

Conclusions
• Mobile app performance is important for user
experience (e.g., waiting for new real-time info)

• Use JSON instead of XML. Cold starts with JSON were
avg. of 4 times (14s) faster than XML, with JSON
warm starts avg. of 224ms faster

SIRIRestClient Android app used to benchmark performance

An open-source mobile app was created to
benchmark real-time information transfer and
processing times between a SIRI interface (MTA Bus
Time in NYC) and a mobile device (Samsung Galaxy
S3 with Android 4.1.1, 1.5 GHz dual core processor,
2GB RAM and Jackson JSON/XML processor v2.1.2).

• Hiding initialization latency from user (via pseudowarm starts) can significantly reduce user wait time

Acknowledgements
Pseudo-warm starts can improve performance via caching Jackson objects

locationaware.usf.edu
github.com/CUTR-at-USF/SiriRestClientUI

This research was funded by the National Center for Transit Research at the
University of South Florida.

barbeau@cutr.usf.edu
tatu@fasterxml.com
Scan for full paper

More Related Content

Similar to TRB 2014 - Performance Evaluation of Transit Data Formats on a Mobile Device

ITS World Congress 2014 - Performance Evaluation of Transit Data Formats on a...
ITS World Congress 2014 - Performance Evaluation of Transit Data Formats on a...ITS World Congress 2014 - Performance Evaluation of Transit Data Formats on a...
ITS World Congress 2014 - Performance Evaluation of Transit Data Formats on a...Sean Barbeau
 
Fast, Strong & Nimble Mobile Performance Testing
Fast, Strong & Nimble Mobile Performance TestingFast, Strong & Nimble Mobile Performance Testing
Fast, Strong & Nimble Mobile Performance TestingSOASTA
 
CONTEXT-AWARE DECISION MAKING SYSTEM FOR MOBILE CLOUD OFFLOADING
CONTEXT-AWARE DECISION MAKING SYSTEM FOR MOBILE CLOUD OFFLOADINGCONTEXT-AWARE DECISION MAKING SYSTEM FOR MOBILE CLOUD OFFLOADING
CONTEXT-AWARE DECISION MAKING SYSTEM FOR MOBILE CLOUD OFFLOADINGIJCNCJournal
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunnerKumar Gupta
 
MeasureWorks - Why your customers don't like to wait!
MeasureWorks - Why your customers don't like to wait!MeasureWorks - Why your customers don't like to wait!
MeasureWorks - Why your customers don't like to wait!MeasureWorks
 
Parallel machines flinkforward2017
Parallel machines flinkforward2017Parallel machines flinkforward2017
Parallel machines flinkforward2017Nisha Talagala
 
4Developers: Time series databases
4Developers: Time series databases4Developers: Time series databases
4Developers: Time series databasesPROIDEA
 
Mobile App Performance Case Studies
Mobile App Performance Case StudiesMobile App Performance Case Studies
Mobile App Performance Case StudiesSagar Desarda
 
Big Data for Mobile Network Operator
Big Data for Mobile Network OperatorBig Data for Mobile Network Operator
Big Data for Mobile Network OperatorErkan Örün
 
Mobility Information Series - Webservice Architecture Comparison by RapidValue
Mobility Information Series - Webservice Architecture Comparison by RapidValueMobility Information Series - Webservice Architecture Comparison by RapidValue
Mobility Information Series - Webservice Architecture Comparison by RapidValueRapidValue
 
Self-Tuning and Managing Services
Self-Tuning and Managing ServicesSelf-Tuning and Managing Services
Self-Tuning and Managing ServicesReza Rahimi
 
Service Virtualization - Next Gen Testing Conference Singapore 2013
Service Virtualization - Next Gen Testing Conference Singapore 2013Service Virtualization - Next Gen Testing Conference Singapore 2013
Service Virtualization - Next Gen Testing Conference Singapore 2013Min Fang
 
USING SEMI-SUPERVISED CLASSIFIER TO FORECAST EXTREME CPU UTILIZATION
USING SEMI-SUPERVISED CLASSIFIER TO FORECAST EXTREME CPU UTILIZATIONUSING SEMI-SUPERVISED CLASSIFIER TO FORECAST EXTREME CPU UTILIZATION
USING SEMI-SUPERVISED CLASSIFIER TO FORECAST EXTREME CPU UTILIZATIONijaia
 

Similar to TRB 2014 - Performance Evaluation of Transit Data Formats on a Mobile Device (20)

ITS World Congress 2014 - Performance Evaluation of Transit Data Formats on a...
ITS World Congress 2014 - Performance Evaluation of Transit Data Formats on a...ITS World Congress 2014 - Performance Evaluation of Transit Data Formats on a...
ITS World Congress 2014 - Performance Evaluation of Transit Data Formats on a...
 
Fast, Strong & Nimble Mobile Performance Testing
Fast, Strong & Nimble Mobile Performance TestingFast, Strong & Nimble Mobile Performance Testing
Fast, Strong & Nimble Mobile Performance Testing
 
CONTEXT-AWARE DECISION MAKING SYSTEM FOR MOBILE CLOUD OFFLOADING
CONTEXT-AWARE DECISION MAKING SYSTEM FOR MOBILE CLOUD OFFLOADINGCONTEXT-AWARE DECISION MAKING SYSTEM FOR MOBILE CLOUD OFFLOADING
CONTEXT-AWARE DECISION MAKING SYSTEM FOR MOBILE CLOUD OFFLOADING
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
 
MeasureWorks - Why your customers don't like to wait!
MeasureWorks - Why your customers don't like to wait!MeasureWorks - Why your customers don't like to wait!
MeasureWorks - Why your customers don't like to wait!
 
load_testing.ppt.pptx
load_testing.ppt.pptxload_testing.ppt.pptx
load_testing.ppt.pptx
 
Parallel machines flinkforward2017
Parallel machines flinkforward2017Parallel machines flinkforward2017
Parallel machines flinkforward2017
 
Time series databases
Time series databasesTime series databases
Time series databases
 
4Developers: Time series databases
4Developers: Time series databases4Developers: Time series databases
4Developers: Time series databases
 
Ijcet 06 09_002
Ijcet 06 09_002Ijcet 06 09_002
Ijcet 06 09_002
 
Mobile App Performance Case Studies
Mobile App Performance Case StudiesMobile App Performance Case Studies
Mobile App Performance Case Studies
 
Big Data for Mobile Network Operator
Big Data for Mobile Network OperatorBig Data for Mobile Network Operator
Big Data for Mobile Network Operator
 
Mobility Information Series - Webservice Architecture Comparison by RapidValue
Mobility Information Series - Webservice Architecture Comparison by RapidValueMobility Information Series - Webservice Architecture Comparison by RapidValue
Mobility Information Series - Webservice Architecture Comparison by RapidValue
 
Self-Tuning and Managing Services
Self-Tuning and Managing ServicesSelf-Tuning and Managing Services
Self-Tuning and Managing Services
 
santosh_resume
santosh_resumesantosh_resume
santosh_resume
 
Ashish_Bhandari_Resume
Ashish_Bhandari_ResumeAshish_Bhandari_Resume
Ashish_Bhandari_Resume
 
Mres presentation
Mres presentationMres presentation
Mres presentation
 
Big data for MNO
Big data for MNOBig data for MNO
Big data for MNO
 
Service Virtualization - Next Gen Testing Conference Singapore 2013
Service Virtualization - Next Gen Testing Conference Singapore 2013Service Virtualization - Next Gen Testing Conference Singapore 2013
Service Virtualization - Next Gen Testing Conference Singapore 2013
 
USING SEMI-SUPERVISED CLASSIFIER TO FORECAST EXTREME CPU UTILIZATION
USING SEMI-SUPERVISED CLASSIFIER TO FORECAST EXTREME CPU UTILIZATIONUSING SEMI-SUPERVISED CLASSIFIER TO FORECAST EXTREME CPU UTILIZATION
USING SEMI-SUPERVISED CLASSIFIER TO FORECAST EXTREME CPU UTILIZATION
 

More from Sean Barbeau

Smart Columbus Executive Summary Overview
Smart Columbus Executive Summary OverviewSmart Columbus Executive Summary Overview
Smart Columbus Executive Summary OverviewSean Barbeau
 
Open Source Software in Public Transportation: A Case Study
Open Source Software in Public Transportation: A Case StudyOpen Source Software in Public Transportation: A Case Study
Open Source Software in Public Transportation: A Case StudySean Barbeau
 
Open Source Software in Public Transportation: A Case Study - TRB poster
Open Source Software in Public Transportation: A Case Study - TRB posterOpen Source Software in Public Transportation: A Case Study - TRB poster
Open Source Software in Public Transportation: A Case Study - TRB posterSean Barbeau
 
OneBusAway Android - 2020 Update
OneBusAway Android - 2020 UpdateOneBusAway Android - 2020 Update
OneBusAway Android - 2020 UpdateSean Barbeau
 
Open Transit Data - A Developer's Perspective
Open Transit Data - A Developer's PerspectiveOpen Transit Data - A Developer's Perspective
Open Transit Data - A Developer's PerspectiveSean Barbeau
 
Improving the quality and cost effectiveness of multimodal travel behavior da...
Improving the quality and cost effectiveness of multimodal travel behavior da...Improving the quality and cost effectiveness of multimodal travel behavior da...
Improving the quality and cost effectiveness of multimodal travel behavior da...Sean Barbeau
 
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...Sean Barbeau
 
2019 FPTA - Enhancing Cybersecurity in Public Transportation
2019 FPTA - Enhancing Cybersecurity in Public Transportation2019 FPTA - Enhancing Cybersecurity in Public Transportation
2019 FPTA - Enhancing Cybersecurity in Public TransportationSean Barbeau
 
Work Zone Data Exchange (WZDx) format
Work Zone Data Exchange (WZDx) formatWork Zone Data Exchange (WZDx) format
Work Zone Data Exchange (WZDx) formatSean Barbeau
 
Enhancing Cybersecurity in Public Transportation
Enhancing Cybersecurity in Public TransportationEnhancing Cybersecurity in Public Transportation
Enhancing Cybersecurity in Public TransportationSean Barbeau
 
Why Open-source Software?
Why Open-source Software?Why Open-source Software?
Why Open-source Software?Sean Barbeau
 
OneBusAway - An open-source platform for Mobility as a Service
OneBusAway - An open-source platform for Mobility as a ServiceOneBusAway - An open-source platform for Mobility as a Service
OneBusAway - An open-source platform for Mobility as a ServiceSean Barbeau
 
Fare payment in OneBusAway
Fare payment in OneBusAwayFare payment in OneBusAway
Fare payment in OneBusAwaySean Barbeau
 
Open-source Transit Software
Open-source Transit SoftwareOpen-source Transit Software
Open-source Transit SoftwareSean Barbeau
 
GTFS-realtime v2.0
GTFS-realtime v2.0GTFS-realtime v2.0
GTFS-realtime v2.0Sean Barbeau
 
NTI 2017 Workshop - Many Uses of GTFS Data
NTI 2017 Workshop - Many Uses of GTFS DataNTI 2017 Workshop - Many Uses of GTFS Data
NTI 2017 Workshop - Many Uses of GTFS DataSean Barbeau
 
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...Sean Barbeau
 
Opening the Door to Multimodal Applications - Creation, Maintenance, and Appl...
Opening the Door to Multimodal Applications - Creation, Maintenance, and Appl...Opening the Door to Multimodal Applications - Creation, Maintenance, and Appl...
Opening the Door to Multimodal Applications - Creation, Maintenance, and Appl...Sean Barbeau
 
OneBusAway - New issue reporting flow in OneBusAway Android
OneBusAway - New issue reporting flow in OneBusAway AndroidOneBusAway - New issue reporting flow in OneBusAway Android
OneBusAway - New issue reporting flow in OneBusAway AndroidSean Barbeau
 

More from Sean Barbeau (20)

Smart Columbus Executive Summary Overview
Smart Columbus Executive Summary OverviewSmart Columbus Executive Summary Overview
Smart Columbus Executive Summary Overview
 
Open Source Software in Public Transportation: A Case Study
Open Source Software in Public Transportation: A Case StudyOpen Source Software in Public Transportation: A Case Study
Open Source Software in Public Transportation: A Case Study
 
Open Source Software in Public Transportation: A Case Study - TRB poster
Open Source Software in Public Transportation: A Case Study - TRB posterOpen Source Software in Public Transportation: A Case Study - TRB poster
Open Source Software in Public Transportation: A Case Study - TRB poster
 
OneBusAway Android - 2020 Update
OneBusAway Android - 2020 UpdateOneBusAway Android - 2020 Update
OneBusAway Android - 2020 Update
 
Open Transit Data - A Developer's Perspective
Open Transit Data - A Developer's PerspectiveOpen Transit Data - A Developer's Perspective
Open Transit Data - A Developer's Perspective
 
Improving the quality and cost effectiveness of multimodal travel behavior da...
Improving the quality and cost effectiveness of multimodal travel behavior da...Improving the quality and cost effectiveness of multimodal travel behavior da...
Improving the quality and cost effectiveness of multimodal travel behavior da...
 
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
 
2019 FPTA - Enhancing Cybersecurity in Public Transportation
2019 FPTA - Enhancing Cybersecurity in Public Transportation2019 FPTA - Enhancing Cybersecurity in Public Transportation
2019 FPTA - Enhancing Cybersecurity in Public Transportation
 
Work Zone Data Exchange (WZDx) format
Work Zone Data Exchange (WZDx) formatWork Zone Data Exchange (WZDx) format
Work Zone Data Exchange (WZDx) format
 
Enhancing Cybersecurity in Public Transportation
Enhancing Cybersecurity in Public TransportationEnhancing Cybersecurity in Public Transportation
Enhancing Cybersecurity in Public Transportation
 
Why Open-source Software?
Why Open-source Software?Why Open-source Software?
Why Open-source Software?
 
OneBusAway - An open-source platform for Mobility as a Service
OneBusAway - An open-source platform for Mobility as a ServiceOneBusAway - An open-source platform for Mobility as a Service
OneBusAway - An open-source platform for Mobility as a Service
 
Fare payment in OneBusAway
Fare payment in OneBusAwayFare payment in OneBusAway
Fare payment in OneBusAway
 
Open-source Transit Software
Open-source Transit SoftwareOpen-source Transit Software
Open-source Transit Software
 
GTFS-realtime v2.0
GTFS-realtime v2.0GTFS-realtime v2.0
GTFS-realtime v2.0
 
NTI 2017 Workshop - Many Uses of GTFS Data
NTI 2017 Workshop - Many Uses of GTFS DataNTI 2017 Workshop - Many Uses of GTFS Data
NTI 2017 Workshop - Many Uses of GTFS Data
 
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
 
USF Maps App
USF Maps AppUSF Maps App
USF Maps App
 
Opening the Door to Multimodal Applications - Creation, Maintenance, and Appl...
Opening the Door to Multimodal Applications - Creation, Maintenance, and Appl...Opening the Door to Multimodal Applications - Creation, Maintenance, and Appl...
Opening the Door to Multimodal Applications - Creation, Maintenance, and Appl...
 
OneBusAway - New issue reporting flow in OneBusAway Android
OneBusAway - New issue reporting flow in OneBusAway AndroidOneBusAway - New issue reporting flow in OneBusAway Android
OneBusAway - New issue reporting flow in OneBusAway Android
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 

Recently uploaded (20)

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 

TRB 2014 - Performance Evaluation of Transit Data Formats on a Mobile Device

  • 1. PERFORMANCE EVALUATION OF TRANSIT DATA FORMATS ON A MOBILE DEVICE Sean J. Barbeau Tatu Saloranta University of South Florida FasterXML, LLC Challenges Mobile device performance is still an issue in terms of processing power, wireless communications, and energy constraints. New data standards should recognize the importance, and limitations, of mobile devices. Slow performance has significant implications on app usability, including user wait times for refreshing real-time info. {Siri: { ServiceDelivery: { ResponseTimestamp: "2012-08-21T12:06:21.485-04:00", VehicleMonitoringDelivery: [ { VehicleActivity: [ { MonitoredVehicleJourney: { LineRef: "MTA NYCT_S40", DirectionRef: "0", FramedVehicleJourneyRef: { DataFrameRef: "2012-08-21", DatedVehicleJourneyRef: "MTA NYCT_20120701CC_072000_S40_0031_S4090_302" }, JourneyPatternRef: "MTA NYCT_S400031", PublishedLineName: "S40", OperatorRef: "MTA NYCT", OriginRef: "MTA NYCT_200001" }} ]} ] } } XML - Cold vs. Pseudo-Warm Starts - Summary JSON - Cold vs. Pseudo-Warm Starts - Summary (n = 30) (n = 30) 6000 25000 5000 20000 Elapsed Time (ms) <Siri xmlns:ns2="http://www.ifopt.org.uk/acsb" xmlns:ns4=http://datex2.eu/schema/1_0/1_0 xmlns:ns3="http://www.ifopt.org.uk/ifopt" xmlns="http://www.siri.org.uk/siri"> <ServiceDelivery> <ResponseTimestamp>2012-09-12T09:28:17.21304:00</ResponseTimestamp> <VehicleMonitoringDelivery> <VehicleActivity> <MonitoredVehicleJourney> <LineRef>MTA NYCT_S40</LineRef> <DirectionRef>0</DirectionRef> <FramedVehicleJourneyRef> <DataFrameRef>2012-09-12</DataFrameRef> <DatedVehicleJourneyRef>MTA NYCT_20120902EE_054000_S40_0031_MISC_437</DatedVehicleJourneyRef> </FramedVehicleJourneyRef> <JourneyPatternRef>MTA NYCT_S400031</JourneyPatternRef> <PublishedLineName>S40</PublishedLineName> <OperatorRef>MTA NYCT</OperatorRef> <OriginRef>MTA NYCT_200001</OriginRef> </MonitoredVehicleJourney> </VehicleActivity> </VehicleMonitoringDelivery> <ServiceDelivery> </Siri> Elapsed Time (ms) Mobile devices and apps have created new opportunities to access real-time transportation information that can save travelers time and money. 15000 4000 3000 10000 2000 5000 1000 0 0 Min. Max. Avg. Cold Starts XML (822 char) 50th percentile 68th percentile 95th percentile Min. Std dev. Max. Avg. 50th percentile 68th percentile 95th percentile Cold Starts Pseudo-Warm Starts Std dev. Pseudo-Warm Starts Pseudo-warm starts produce a 44% performance increase when using XML (due to a large initial overhead), and a 3.96% improvement for JSON JSON (421 char) Typical test response was approx. 5KB Typical test response was approx. 4KB Results JSON - Cold vs. Pseudo-Warm Starts without cache read time (n = 30) 6000 XML vs. JSON Parsing Time - All Requests XML vs. JSON Parsing Time - Summary 18000 16000 16000 14000 14000 Elapsed Time (ms) 20000 18000 Elapsed Time (ms) 20000 12000 10000 8000 6000 5000 4000 12000 10000 JSON 8000 XML Elapsed Time (ms) Evaluation European Committee for Standardization (CEN) is evaluating v2.0 of the Service Interface for Real Time Information (SIRI) (CEN/TS 15531) standard, including new “mobile-friendly” features, including a Representational State Transfer (REST) interface and Javascript Object Notation (JSON) encoding for realtime transit arrival info. Pseudo-Warm Start Results Sample Responses Opportunities 3000 6000 2000 4000 4000 2000 2000 0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 JSON 1000 0 Min. Max. Avg. XML 50th percentile 68th percentile 95th percentile Std dev. 0 XML cold start response is almost 18 seconds, over 4 times as long as the JSON cold start response (approx. 4 seconds) Optimizations Improving cold starts is important, since mobile apps are often restarted. Possible optimizations were examined. Min. Max. Avg. 50th percentile Cold Starts 68th percentile 95th percentile Std dev. Pseudo-Warm Starts Pseudo-warm starts significantly improve user wait times by hiding initialization time (cache read time) while the user performs other activities Conclusions • Mobile app performance is important for user experience (e.g., waiting for new real-time info) • Use JSON instead of XML. Cold starts with JSON were avg. of 4 times (14s) faster than XML, with JSON warm starts avg. of 224ms faster SIRIRestClient Android app used to benchmark performance An open-source mobile app was created to benchmark real-time information transfer and processing times between a SIRI interface (MTA Bus Time in NYC) and a mobile device (Samsung Galaxy S3 with Android 4.1.1, 1.5 GHz dual core processor, 2GB RAM and Jackson JSON/XML processor v2.1.2). • Hiding initialization latency from user (via pseudowarm starts) can significantly reduce user wait time Acknowledgements Pseudo-warm starts can improve performance via caching Jackson objects locationaware.usf.edu github.com/CUTR-at-USF/SiriRestClientUI This research was funded by the National Center for Transit Research at the University of South Florida. barbeau@cutr.usf.edu tatu@fasterxml.com Scan for full paper

Editor's Notes

  1. Poster advice from TRB (and others)The goals in designing a poster should be:i) To attract attention,ii) To provide a clear overview of your work,iii) To provide enough material to explain the research without an oral explanation, andiv) To provide enough material to initiate discussion and questions.Suggestions from Poster Authors, Viewers, and Other Conferences (1)Simplicity and clarity are the keys to an effective poster. Simplicity - Avoid overwhelming viewers with too much information, the casual viewer should be able to identify the main messages after a quick look at the poster. Remember the full paper is on the meeting DVD-ROM and handouts may be provided. Clarity - Identify a limited number of messages viewers should take away – 3 is about the maximum number possible. The messages should be clear, novel, and important.General Design Suggestions Viewers find it easier to follow a poster printed on one large sheet with the material arranged in columns. Arrange material in a logical sequence that is clear to readers (typically starting at top left and ending at bottom right.) Strong visual contrast is critical – many people have trouble distinguishing between closely related colors. For example approximately 7 percent of the male population—either cannot distinguish red from green, or see red and green differently. Text and illustrations should be easily readable from 3 feet away. Color is a good tool to highlight important points, however too many colors make poster look “busy” and make it difficult for viewers to find the critical points. Use pictures, graphs, and tables instead of text where possible – try for 50% graphics. Text- Text should be dark on white or light paper- Long paragraphs will not be read – use short statements or bullet points.-Avoid abbreviations, acronyms, and jargon-Try to state your main results in 6 lines or less-Use sans serif fonts (ex. Arial or Helvetica) not serif fonts (ex. Times Roman)Illustrations-Charts, drawings, and illustrations should be similar to those used in PowerPoint presentations but simpler and more heavily drawn-Illustrations should include titles or labels, labeled axes and identified units****Poster Content– the specific elements will depend on the research Title, poster and paper number, author names, institutional affiliation - Letters 1 - 2” high – across the top of the poster Introduction / Objectives Statistical or Analytical Methods Summary / Results Conclusions Future Directions Acknowledgements