SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
The Architecture Of MobileTraffic
Map Service
BJ JANG, Hayan Shin
1
TotalTraffic Information
Service
2
Sponsored by
NTIC(National Transport Information Center)Mobile Traffic Map Service
Background
 About NTIC (our customer)
 National Transport Information Center is a national organization
belonging to the Ministry of Land, Infrastructure, and Transport
 Role: Traffic Information Collection, Processing, Providing
 http://www.its.go.kr/Eng/
 Collected content
 Wide-area(whole Korea) traffic
information
 Traffic cast CCTV
 Vehicle Message Content
Service (VMS)
 Provided Information
 Real-time road flow information
 Standardized Node/Link data
of roads (for ITS)
 Short/long distance travel route
information
3
Background
 NTIC’s Requirements
 Deliver Real-Time Traffic Information to Users
 To Disperse Traffic on major national holidays
- Lunatic New year’s first day, Chuseok
 Environment at System Peak Times
 About 30 million people move to visit
hometowns and families
 Most of them have
Smartphone
4
Overview of Main
Features
Traffic status on roads and highways up on
geographical map
 Support interactive zoom in/out
 3 Steps colorized traffic data
 Updates every 5 minutes
>40km/h 20~40 km/h <20km/h
>40km/h 20~40 km/h <20km/h
>80km/h 40~80 km/h <40km/h
Road
City highway
highway
5
Overview of Main
Features
Traffic status on roads and highways up on
geographical map(continue)
traffic accidents information
CCTV on roads (over 1000 points)
KMA Weather Forecast/Warning
6
Architecture(2011)
Mobile Data Provider
MobileMananger
WAS(Tomcat7)
Windows Server
Info Server
GeoServer2.0.3
WAS(Tomcat7)
Windows Server
Map Server
PostGIS 1.5.3
PostgreSQL 8.4
Windows Server
Geo DB Server
PostGIS
Info Server
Geo DB Server
Map Server
• 30,000 users
• adopt Open Source GIS
• request one-size image non-
tiled
• don’t consider cache
Oracle
7
Problems on Existing
System
 Absence of Cache Server
 Request for same region data
 So, Frequent GeoServer Down at Peak Times
 Reliability issue
 Take lots of time to import traffic data into
PostgreSQL
 Doubt on GeoServer , PostGIS,PostgreSQL
about low performance
8
System Improvement
Goals in 2012
 NTIC’s Requirements
 Support 200,000 Users Per Day
 Change DBMS to SQL Server
 Consulting about Open Source GIS
 Our Solutions
 Reconstruct System Architecture and Redevelop SW
 Change Mobile Client Request to Tiled Map base
 Adopt Squid proxy server with SSD as Cache Server
 To determine Effective Tiled Map Time and Region: Using
 WMTS interface
 content expire time
 custom Time tag
 Produce Tiled Map data every 5 minutes in advance
9
Architecture(2012)
Mobile Data Provider
MobileMananger
Tomcat 7 (WAS)
Windows Server
Info Server
Squid Proxy Server 2.7
Windows Server
Cache Server
GeoServer2.1.4
Tomcat 7 (WAS)
Windows Server
Map Server
SQL Server2008R2
Windows Server
Geo DB Server
Info Server
Map Server
SQL Server SQL Server
Geo DB Server
SQL Server
Cache Server
• Support 200,000 Users
• 256x256 tiled map
• Apply OpenLayers Cache
Structure into Mobile
App(Android and iPhone App)
• Apps Polling traffic map every 5
minutes
• Compliance to Cache flow of
HTTP 1.1
Cache Maker
10
OpenLayers
Results
 System Endured at Peak Times but, Not Satisfied
Level
 Sometimes Response Time went slowly
 Transaction increased 10 times per User owing to tiled map
 Polling Map Strategy causes unnecessary requests
 Squid had in trouble when it reaches to over 100,000 Connections
 Impossible to update tiled traffic map data within 5
minutes
 Traffic Map Data consist of 10 levels(Zoom level) ~over 1 million
tiled maps.
 So, within 5minutes, only 8 level-map data can be updated.
11
Results
 Scalability Issue
 Cache Server UP GeoServer & SQLServer UP
Cost UP
 Cache Maker requests UP
SQLServer Load UP(n times)
Cache
Server Map
Server
Cache
Server
Cache
Server
Map
Server
Map
Server
DB
Server
DB
Server
DB
Server
Bad
scalable
12
Improvement Strategy
 GeoServer connects PostGIS 1by1 instead of
SQL Server-> Cost Down, Speed up Spatial
Query
 Adopt Memory Disk for Cache Server instead of
SSD
-> Cost Down
 Push Tiled Traffic Map data into Cache Server
->Reduce Transaction time
 Drop Polling method every 5 minutes to update
traffic map-> Reduce Transactions
13
Architecture(2013)
Mobile Data Provider
MobileMananger
Tomcat 7 (WAS)
Windows Server
Info Server
Squid Proxy Server 2.7
ENGINX (Web Server)
Windows Server
Cache Server
GeoServer 2.3 PostGIS 2.1
Tomcat 7 (WAS) PostgreSQL 9.2
Windows Server
Map& GeoDB Server
Info Server
Map & GeoDB Server
• Support 300,000 users per day
• PostGIS to Query Spatial data
• Request map only when client’s
map view vhanging
• Push tiled traffic data into Cache
server
Post
GIS
Post
GIS
Post
GIS
SQL Server
Traffic Data Streaming Replication
Cache Server
CSV
Tile generation manager
14
OpenLayers
Tile Generation Manager
Map
Server
Map
Server
Map
Server
Map
Server
Tile Generation Manager
Divide Job
Cache
Server
Cache
Server
Cache
Server
Push Generated Tile
 Tile Generation Manager
 Divide jobs for each GeoServer clearly
To Produce map tile data in parallel
 Push Tiled Traffic Map data into Cache
Server
PushCache
Server
Map
Server
Cache
Server
Cache
Server
For more connection,
just add cache server  more scalable
15
Map
Server
TileMap Update Idea!
 Changing data are only roads
 #of Map Tiles that roads across
is Not Much!
 So, Update Map Tiles Passing
roads Only When Traffic
Condition Changed, Instead of
All the tiles!
Mobile Apps can get Changed
TileMap Only
16
Improvements
2012 2013
Initial (Total) tile
Generation
90 minutes
(empty tile included ~over
1,437,000 tiles)
6~7 minutes
(road tile only ~183,000
tiles)
Update interval
of Tile
Generation
5 minutes
(8 levels, not modified or
empty time included)
1 minute
(10 levels,
modified tile only)
Users per day 200,000 >300,000
Scalability Not good Very good
In Service Now!
17
Lessons Learned
 To persuade customer to adopt Opensource
GIS
 Need confidence of Performance about
Opensource GIS
 Make sure that Opensource GIS has equivalent
performance to commercial products
18
Q&A
 Please Ask BJ Jang via Email !
bjjang@gaia3d.com
With experience of this project,
he is constructing Mobile
Weather Chart Service Using
GeoServer and PostgreSQL at
KMA(Korea Meteorological
Administration)
19

Weitere ähnliche Inhalte

Mehr von SANGHEE SHIN

재테크 2주일만 하면 신상희만큼 한다!
재테크 2주일만 하면 신상희만큼 한다!재테크 2주일만 하면 신상희만큼 한다!
재테크 2주일만 하면 신상희만큼 한다!SANGHEE SHIN
 
다분야 공동활용 디지털 플랫폼 사례 공유
다분야 공동활용 디지털 플랫폼 사례 공유다분야 공동활용 디지털 플랫폼 사례 공유
다분야 공동활용 디지털 플랫폼 사례 공유SANGHEE SHIN
 
공간정보 관점에서 바라본 디지털트윈과 메타버스
공간정보 관점에서 바라본 디지털트윈과 메타버스공간정보 관점에서 바라본 디지털트윈과 메타버스
공간정보 관점에서 바라본 디지털트윈과 메타버스SANGHEE SHIN
 
FOSS4G Firenze 2022 참가기
FOSS4G Firenze 2022 참가기FOSS4G Firenze 2022 참가기
FOSS4G Firenze 2022 참가기SANGHEE SHIN
 
공간정보와 도시 디지털트윈(부산DX컨퍼런스 발표자료)
공간정보와 도시 디지털트윈(부산DX컨퍼런스 발표자료)공간정보와 도시 디지털트윈(부산DX컨퍼런스 발표자료)
공간정보와 도시 디지털트윈(부산DX컨퍼런스 발표자료)SANGHEE SHIN
 
공간정보 최근 동향과 디지털트윈, 메타버스
공간정보 최근 동향과 디지털트윈, 메타버스  공간정보 최근 동향과 디지털트윈, 메타버스
공간정보 최근 동향과 디지털트윈, 메타버스 SANGHEE SHIN
 
디지털트윈, 스마트시티, 메타버스
디지털트윈, 스마트시티, 메타버스디지털트윈, 스마트시티, 메타버스
디지털트윈, 스마트시티, 메타버스SANGHEE SHIN
 
디지털 트윈(Digital Twin) - 도시와 공간정보 관점에서
디지털 트윈(Digital Twin) - 도시와 공간정보 관점에서디지털 트윈(Digital Twin) - 도시와 공간정보 관점에서
디지털 트윈(Digital Twin) - 도시와 공간정보 관점에서SANGHEE SHIN
 
ICT 기반 환경영향평가 가시화 플랫폼 설계와 시범 구현
ICT 기반 환경영향평가 가시화 플랫폼 설계와 시범 구현ICT 기반 환경영향평가 가시화 플랫폼 설계와 시범 구현
ICT 기반 환경영향평가 가시화 플랫폼 설계와 시범 구현SANGHEE SHIN
 
디지털트윈 기술 및 스마트시티 적용 사례
디지털트윈 기술 및  스마트시티 적용 사례 디지털트윈 기술 및  스마트시티 적용 사례
디지털트윈 기술 및 스마트시티 적용 사례 SANGHEE SHIN
 
Introduction to OpenIndoorMap
Introduction to OpenIndoorMapIntroduction to OpenIndoorMap
Introduction to OpenIndoorMapSANGHEE SHIN
 
State of mago3D, An Open Source Based Digital Twin Platform
State of mago3D, An Open Source Based Digital Twin PlatformState of mago3D, An Open Source Based Digital Twin Platform
State of mago3D, An Open Source Based Digital Twin PlatformSANGHEE SHIN
 
A Research on EIA(Environmental Impact Assessment) Data Visualization Technol...
A Research on EIA(Environmental Impact Assessment) Data Visualization Technol...A Research on EIA(Environmental Impact Assessment) Data Visualization Technol...
A Research on EIA(Environmental Impact Assessment) Data Visualization Technol...SANGHEE SHIN
 
Integration of BIM and GIS: From Ideal to Reality
Integration of BIM and GIS: From Ideal to RealityIntegration of BIM and GIS: From Ideal to Reality
Integration of BIM and GIS: From Ideal to RealitySANGHEE SHIN
 
디지털 트윈 플랫폼 기술과 사례(LX공사 특강)
디지털 트윈 플랫폼 기술과 사례(LX공사 특강)디지털 트윈 플랫폼 기술과 사례(LX공사 특강)
디지털 트윈 플랫폼 기술과 사례(LX공사 특강)SANGHEE SHIN
 
디지털 트윈 기술과 활용 사례 - 공간정보를 중심으로
디지털 트윈 기술과 활용 사례 - 공간정보를 중심으로 디지털 트윈 기술과 활용 사례 - 공간정보를 중심으로
디지털 트윈 기술과 활용 사례 - 공간정보를 중심으로 SANGHEE SHIN
 
디지털트윈 기술 동향과 전망 - 국토연구원 월간국토 4월호 기고
디지털트윈 기술 동향과 전망 - 국토연구원 월간국토 4월호 기고디지털트윈 기술 동향과 전망 - 국토연구원 월간국토 4월호 기고
디지털트윈 기술 동향과 전망 - 국토연구원 월간국토 4월호 기고SANGHEE SHIN
 
납세자인 나는 국토위성을 잘 활용할 수 있을까? - 2021년 3월 17일 국회 세미나
납세자인 나는 국토위성을 잘 활용할 수 있을까? - 2021년 3월 17일 국회 세미나 납세자인 나는 국토위성을 잘 활용할 수 있을까? - 2021년 3월 17일 국회 세미나
납세자인 나는 국토위성을 잘 활용할 수 있을까? - 2021년 3월 17일 국회 세미나 SANGHEE SHIN
 
공간규모별 디지털트윈 활용 사례 - 국토연구원 세미나 자료
공간규모별 디지털트윈 활용 사례 - 국토연구원 세미나 자료공간규모별 디지털트윈 활용 사례 - 국토연구원 세미나 자료
공간규모별 디지털트윈 활용 사례 - 국토연구원 세미나 자료SANGHEE SHIN
 
좌충우돌 디지털트윈 구축기
좌충우돌 디지털트윈 구축기좌충우돌 디지털트윈 구축기
좌충우돌 디지털트윈 구축기SANGHEE SHIN
 

Mehr von SANGHEE SHIN (20)

재테크 2주일만 하면 신상희만큼 한다!
재테크 2주일만 하면 신상희만큼 한다!재테크 2주일만 하면 신상희만큼 한다!
재테크 2주일만 하면 신상희만큼 한다!
 
다분야 공동활용 디지털 플랫폼 사례 공유
다분야 공동활용 디지털 플랫폼 사례 공유다분야 공동활용 디지털 플랫폼 사례 공유
다분야 공동활용 디지털 플랫폼 사례 공유
 
공간정보 관점에서 바라본 디지털트윈과 메타버스
공간정보 관점에서 바라본 디지털트윈과 메타버스공간정보 관점에서 바라본 디지털트윈과 메타버스
공간정보 관점에서 바라본 디지털트윈과 메타버스
 
FOSS4G Firenze 2022 참가기
FOSS4G Firenze 2022 참가기FOSS4G Firenze 2022 참가기
FOSS4G Firenze 2022 참가기
 
공간정보와 도시 디지털트윈(부산DX컨퍼런스 발표자료)
공간정보와 도시 디지털트윈(부산DX컨퍼런스 발표자료)공간정보와 도시 디지털트윈(부산DX컨퍼런스 발표자료)
공간정보와 도시 디지털트윈(부산DX컨퍼런스 발표자료)
 
공간정보 최근 동향과 디지털트윈, 메타버스
공간정보 최근 동향과 디지털트윈, 메타버스  공간정보 최근 동향과 디지털트윈, 메타버스
공간정보 최근 동향과 디지털트윈, 메타버스
 
디지털트윈, 스마트시티, 메타버스
디지털트윈, 스마트시티, 메타버스디지털트윈, 스마트시티, 메타버스
디지털트윈, 스마트시티, 메타버스
 
디지털 트윈(Digital Twin) - 도시와 공간정보 관점에서
디지털 트윈(Digital Twin) - 도시와 공간정보 관점에서디지털 트윈(Digital Twin) - 도시와 공간정보 관점에서
디지털 트윈(Digital Twin) - 도시와 공간정보 관점에서
 
ICT 기반 환경영향평가 가시화 플랫폼 설계와 시범 구현
ICT 기반 환경영향평가 가시화 플랫폼 설계와 시범 구현ICT 기반 환경영향평가 가시화 플랫폼 설계와 시범 구현
ICT 기반 환경영향평가 가시화 플랫폼 설계와 시범 구현
 
디지털트윈 기술 및 스마트시티 적용 사례
디지털트윈 기술 및  스마트시티 적용 사례 디지털트윈 기술 및  스마트시티 적용 사례
디지털트윈 기술 및 스마트시티 적용 사례
 
Introduction to OpenIndoorMap
Introduction to OpenIndoorMapIntroduction to OpenIndoorMap
Introduction to OpenIndoorMap
 
State of mago3D, An Open Source Based Digital Twin Platform
State of mago3D, An Open Source Based Digital Twin PlatformState of mago3D, An Open Source Based Digital Twin Platform
State of mago3D, An Open Source Based Digital Twin Platform
 
A Research on EIA(Environmental Impact Assessment) Data Visualization Technol...
A Research on EIA(Environmental Impact Assessment) Data Visualization Technol...A Research on EIA(Environmental Impact Assessment) Data Visualization Technol...
A Research on EIA(Environmental Impact Assessment) Data Visualization Technol...
 
Integration of BIM and GIS: From Ideal to Reality
Integration of BIM and GIS: From Ideal to RealityIntegration of BIM and GIS: From Ideal to Reality
Integration of BIM and GIS: From Ideal to Reality
 
디지털 트윈 플랫폼 기술과 사례(LX공사 특강)
디지털 트윈 플랫폼 기술과 사례(LX공사 특강)디지털 트윈 플랫폼 기술과 사례(LX공사 특강)
디지털 트윈 플랫폼 기술과 사례(LX공사 특강)
 
디지털 트윈 기술과 활용 사례 - 공간정보를 중심으로
디지털 트윈 기술과 활용 사례 - 공간정보를 중심으로 디지털 트윈 기술과 활용 사례 - 공간정보를 중심으로
디지털 트윈 기술과 활용 사례 - 공간정보를 중심으로
 
디지털트윈 기술 동향과 전망 - 국토연구원 월간국토 4월호 기고
디지털트윈 기술 동향과 전망 - 국토연구원 월간국토 4월호 기고디지털트윈 기술 동향과 전망 - 국토연구원 월간국토 4월호 기고
디지털트윈 기술 동향과 전망 - 국토연구원 월간국토 4월호 기고
 
납세자인 나는 국토위성을 잘 활용할 수 있을까? - 2021년 3월 17일 국회 세미나
납세자인 나는 국토위성을 잘 활용할 수 있을까? - 2021년 3월 17일 국회 세미나 납세자인 나는 국토위성을 잘 활용할 수 있을까? - 2021년 3월 17일 국회 세미나
납세자인 나는 국토위성을 잘 활용할 수 있을까? - 2021년 3월 17일 국회 세미나
 
공간규모별 디지털트윈 활용 사례 - 국토연구원 세미나 자료
공간규모별 디지털트윈 활용 사례 - 국토연구원 세미나 자료공간규모별 디지털트윈 활용 사례 - 국토연구원 세미나 자료
공간규모별 디지털트윈 활용 사례 - 국토연구원 세미나 자료
 
좌충우돌 디지털트윈 구축기
좌충우돌 디지털트윈 구축기좌충우돌 디지털트윈 구축기
좌충우돌 디지털트윈 구축기
 

Kürzlich hochgeladen

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
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
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 

Kürzlich hochgeladen (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
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...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

The architecture of mobile traffic map service

  • 1. The Architecture Of MobileTraffic Map Service BJ JANG, Hayan Shin 1
  • 2. TotalTraffic Information Service 2 Sponsored by NTIC(National Transport Information Center)Mobile Traffic Map Service
  • 3. Background  About NTIC (our customer)  National Transport Information Center is a national organization belonging to the Ministry of Land, Infrastructure, and Transport  Role: Traffic Information Collection, Processing, Providing  http://www.its.go.kr/Eng/  Collected content  Wide-area(whole Korea) traffic information  Traffic cast CCTV  Vehicle Message Content Service (VMS)  Provided Information  Real-time road flow information  Standardized Node/Link data of roads (for ITS)  Short/long distance travel route information 3
  • 4. Background  NTIC’s Requirements  Deliver Real-Time Traffic Information to Users  To Disperse Traffic on major national holidays - Lunatic New year’s first day, Chuseok  Environment at System Peak Times  About 30 million people move to visit hometowns and families  Most of them have Smartphone 4
  • 5. Overview of Main Features Traffic status on roads and highways up on geographical map  Support interactive zoom in/out  3 Steps colorized traffic data  Updates every 5 minutes >40km/h 20~40 km/h <20km/h >40km/h 20~40 km/h <20km/h >80km/h 40~80 km/h <40km/h Road City highway highway 5
  • 6. Overview of Main Features Traffic status on roads and highways up on geographical map(continue) traffic accidents information CCTV on roads (over 1000 points) KMA Weather Forecast/Warning 6
  • 7. Architecture(2011) Mobile Data Provider MobileMananger WAS(Tomcat7) Windows Server Info Server GeoServer2.0.3 WAS(Tomcat7) Windows Server Map Server PostGIS 1.5.3 PostgreSQL 8.4 Windows Server Geo DB Server PostGIS Info Server Geo DB Server Map Server • 30,000 users • adopt Open Source GIS • request one-size image non- tiled • don’t consider cache Oracle 7
  • 8. Problems on Existing System  Absence of Cache Server  Request for same region data  So, Frequent GeoServer Down at Peak Times  Reliability issue  Take lots of time to import traffic data into PostgreSQL  Doubt on GeoServer , PostGIS,PostgreSQL about low performance 8
  • 9. System Improvement Goals in 2012  NTIC’s Requirements  Support 200,000 Users Per Day  Change DBMS to SQL Server  Consulting about Open Source GIS  Our Solutions  Reconstruct System Architecture and Redevelop SW  Change Mobile Client Request to Tiled Map base  Adopt Squid proxy server with SSD as Cache Server  To determine Effective Tiled Map Time and Region: Using  WMTS interface  content expire time  custom Time tag  Produce Tiled Map data every 5 minutes in advance 9
  • 10. Architecture(2012) Mobile Data Provider MobileMananger Tomcat 7 (WAS) Windows Server Info Server Squid Proxy Server 2.7 Windows Server Cache Server GeoServer2.1.4 Tomcat 7 (WAS) Windows Server Map Server SQL Server2008R2 Windows Server Geo DB Server Info Server Map Server SQL Server SQL Server Geo DB Server SQL Server Cache Server • Support 200,000 Users • 256x256 tiled map • Apply OpenLayers Cache Structure into Mobile App(Android and iPhone App) • Apps Polling traffic map every 5 minutes • Compliance to Cache flow of HTTP 1.1 Cache Maker 10 OpenLayers
  • 11. Results  System Endured at Peak Times but, Not Satisfied Level  Sometimes Response Time went slowly  Transaction increased 10 times per User owing to tiled map  Polling Map Strategy causes unnecessary requests  Squid had in trouble when it reaches to over 100,000 Connections  Impossible to update tiled traffic map data within 5 minutes  Traffic Map Data consist of 10 levels(Zoom level) ~over 1 million tiled maps.  So, within 5minutes, only 8 level-map data can be updated. 11
  • 12. Results  Scalability Issue  Cache Server UP GeoServer & SQLServer UP Cost UP  Cache Maker requests UP SQLServer Load UP(n times) Cache Server Map Server Cache Server Cache Server Map Server Map Server DB Server DB Server DB Server Bad scalable 12
  • 13. Improvement Strategy  GeoServer connects PostGIS 1by1 instead of SQL Server-> Cost Down, Speed up Spatial Query  Adopt Memory Disk for Cache Server instead of SSD -> Cost Down  Push Tiled Traffic Map data into Cache Server ->Reduce Transaction time  Drop Polling method every 5 minutes to update traffic map-> Reduce Transactions 13
  • 14. Architecture(2013) Mobile Data Provider MobileMananger Tomcat 7 (WAS) Windows Server Info Server Squid Proxy Server 2.7 ENGINX (Web Server) Windows Server Cache Server GeoServer 2.3 PostGIS 2.1 Tomcat 7 (WAS) PostgreSQL 9.2 Windows Server Map& GeoDB Server Info Server Map & GeoDB Server • Support 300,000 users per day • PostGIS to Query Spatial data • Request map only when client’s map view vhanging • Push tiled traffic data into Cache server Post GIS Post GIS Post GIS SQL Server Traffic Data Streaming Replication Cache Server CSV Tile generation manager 14 OpenLayers
  • 15. Tile Generation Manager Map Server Map Server Map Server Map Server Tile Generation Manager Divide Job Cache Server Cache Server Cache Server Push Generated Tile  Tile Generation Manager  Divide jobs for each GeoServer clearly To Produce map tile data in parallel  Push Tiled Traffic Map data into Cache Server PushCache Server Map Server Cache Server Cache Server For more connection, just add cache server  more scalable 15 Map Server
  • 16. TileMap Update Idea!  Changing data are only roads  #of Map Tiles that roads across is Not Much!  So, Update Map Tiles Passing roads Only When Traffic Condition Changed, Instead of All the tiles! Mobile Apps can get Changed TileMap Only 16
  • 17. Improvements 2012 2013 Initial (Total) tile Generation 90 minutes (empty tile included ~over 1,437,000 tiles) 6~7 minutes (road tile only ~183,000 tiles) Update interval of Tile Generation 5 minutes (8 levels, not modified or empty time included) 1 minute (10 levels, modified tile only) Users per day 200,000 >300,000 Scalability Not good Very good In Service Now! 17
  • 18. Lessons Learned  To persuade customer to adopt Opensource GIS  Need confidence of Performance about Opensource GIS  Make sure that Opensource GIS has equivalent performance to commercial products 18
  • 19. Q&A  Please Ask BJ Jang via Email ! bjjang@gaia3d.com With experience of this project, he is constructing Mobile Weather Chart Service Using GeoServer and PostgreSQL at KMA(Korea Meteorological Administration) 19