SlideShare a Scribd company logo
1 of 18
Decentralized System to
Compute the Safest Route
Presented By-
Anushka Patil, Keyur Mehta, Snehal Vyawahare
Project Background
• Communities are adversely affected by social harm events- crime, traffic crashes, medical
emergencies, drug use, etc.
• Based on CDASH project.
• Where they provide simulation results using data provided by the Indianapolis Metropolitan Police
Department to illustrate the Hawkes process model of social harm over recently introduced social
harm incidences.
Reference: http://cdash.cs.iupui.edu/index.html2
AS-IS Solution/ Problem Statement
• Services like Google Maps are excelled at finding the shortest, most direct routes from Point A to Point B.
• It uses real-time traffic conditions for computing the fastest route.
• Crowd-sourced traffic data is used to give the users the quickest route.
• The time of journey as the only factor of consideration is not a sufficient metric in today’s times.
• Parameters like road safety and time of travel must be considered for computing the best possible route.
3
Implemented Solution
• The overall idea here is to avoid dangerous spots
on city streets while moving from one place to
another.
• Algorithms for getting from one place to another
the shortest path, the safest path.
• This backend model relies both on crime data,
when it’s available, and crowdsourced comments to
reveal potential trouble spots to users. Fig 1.0. Implementation solution
4
Architecture Design
Fig 2.0. Architecture Design
5
Load Balancer:
• Delegate the request to either of
the servers.
• Redirecting to the backup server
in case of failures.
Database Server:
• Maintain and/or retrieve the
crime data.
Application Server:
• Compute the safest shortest
route.
Backup Server:
• Manages all the responsibilities
of an application server in case
of failure.
Design Decisions
6
Tools/Technology Used
• Programming Language : Java
• Communication Paradigm: Java RMI
• Machines:
Components Machines
Client Tesla.cs.iupui.edu
Load Balancer Rain.cs.iupui.edu
Servers Thunder.cs.iupui.edu, Lightning.cs.iupui.edu
Database in-csci-rrpc01.cs.iupui.edu
7
Algorithm
Fig 3.1. Algorithm: Extraction of crime data
8
Algorithm
Fig 3.2. Algorithm: Final route cost computation
9
Implementation Details
• It pulls out available crime data with in 1 mile of the GPS co-ordinate with parameters like time,
date, location and types of crime.
• The Safe Path algorithms calculates the total risk of a path from one place to another and returns
the safest and shortest path.
• The selection of the Safest Shortest Route is based on:
• If the differences between the cost of the safest route and the shortest route is less than
15%, than is not recommended.
• If the difference is greater than 15%, the safest route is recommended.
10
Distributed Concepts
11
• It is rightly said that "Failure happens all the time.“ So when design, you design for failures.
Availability
• If one server fails the
load balancer redirects
the client request to
the backup server
Distributed Nature
• Separation of concern
- Application, DB and
Load Server
Fault Tolerance
• Server Crash – client
retry requests
• Invalid Requests – new
requests
Concurrency
• Simultaneous access
for different clients.
12
Results Obtained
Case 1. Safest Route
13
Results Obtained
Google Safest Route
14
Results Obtained
Case 2. Risk Cost difference is Less than 15%
Conclusion
• Calculate the total risk of path from one point to another.
• The model can be add on to the existing navigation tool.
• Make commute safe and cities more livable.
15
Demo
16
THANK YOU
18
References
• CDASH Paper:
https://pdfs.semanticscholar.org/e885/b56c61577d4d8d7c38284c63883827d3ad14.pdf
• Google API: https://developers.google.com/maps/documentation/directions/start
• Java RMI: https://docs.oracle.com/javase/tutorial/rmi/index.html

More Related Content

Similar to Decentralized system to compute safest route

A Method for Predicting Vehicles Motion Based on Road Scene Reconstruction an...
A Method for Predicting Vehicles Motion Based on Road Scene Reconstruction an...A Method for Predicting Vehicles Motion Based on Road Scene Reconstruction an...
A Method for Predicting Vehicles Motion Based on Road Scene Reconstruction an...ITIIIndustries
 
Applications of Artificial Intelligence in Transportation Systems
Applications of Artificial Intelligence in Transportation SystemsApplications of Artificial Intelligence in Transportation Systems
Applications of Artificial Intelligence in Transportation SystemsEITESAL NGO
 
A participatory urban traffic monitoring system
A participatory urban traffic monitoring systemA participatory urban traffic monitoring system
A participatory urban traffic monitoring systemKang Yen
 
JiaxuZhou_GRAPoster
JiaxuZhou_GRAPosterJiaxuZhou_GRAPoster
JiaxuZhou_GRAPosterJiaxu Zhou
 
Case Studies in Managing Traffic in a Developing Country with Privacy-Preserv...
Case Studies in Managing Traffic in a Developing Country with Privacy-Preserv...Case Studies in Managing Traffic in a Developing Country with Privacy-Preserv...
Case Studies in Managing Traffic in a Developing Country with Privacy-Preserv...Biplav Srivastava
 
Transportation Planning Implications of Automated Vehicles on Texas Highways
Transportation Planning Implications of Automated Vehicles on Texas Highways Transportation Planning Implications of Automated Vehicles on Texas Highways
Transportation Planning Implications of Automated Vehicles on Texas Highways Texas A&M Transportation Institute
 
ROAD SAFETY BY DETECTING DROWSINESS AND ACCIDENT USING MACHINE LEARNING
ROAD SAFETY BY DETECTING DROWSINESS AND ACCIDENT USING MACHINE LEARNINGROAD SAFETY BY DETECTING DROWSINESS AND ACCIDENT USING MACHINE LEARNING
ROAD SAFETY BY DETECTING DROWSINESS AND ACCIDENT USING MACHINE LEARNINGIRJET Journal
 
SMART International Symposium for Next Generation Infrastructure: An integrat...
SMART International Symposium for Next Generation Infrastructure: An integrat...SMART International Symposium for Next Generation Infrastructure: An integrat...
SMART International Symposium for Next Generation Infrastructure: An integrat...SMART Infrastructure Facility
 
Real time deep-learning based traffic volume count for high-traffic urban art...
Real time deep-learning based traffic volume count for high-traffic urban art...Real time deep-learning based traffic volume count for high-traffic urban art...
Real time deep-learning based traffic volume count for high-traffic urban art...Conference Papers
 
Sss14duke BT Innovate Research Design
Sss14duke BT Innovate Research DesignSss14duke BT Innovate Research Design
Sss14duke BT Innovate Research DesignJustin Hayward
 
Vehicle Traffic Analysis using CNN Algorithm
Vehicle Traffic Analysis using CNN AlgorithmVehicle Traffic Analysis using CNN Algorithm
Vehicle Traffic Analysis using CNN AlgorithmIRJET Journal
 
Project Presentation 1 Template Car Black Box
Project Presentation 1 Template Car Black BoxProject Presentation 1 Template Car Black Box
Project Presentation 1 Template Car Black BoxPoojaBan
 
Traffic control system
Traffic control systemTraffic control system
Traffic control systemzahid6
 
Detection of Lane and Speed Breaker.pptx
Detection of Lane and Speed Breaker.pptxDetection of Lane and Speed Breaker.pptx
Detection of Lane and Speed Breaker.pptxAryanRoyDishu
 
ARE UBIQUITOUS TECHNOLOGIES THE FUTURE VEHICLE FOR TRANSPORTATION PLANNING : ...
ARE UBIQUITOUS TECHNOLOGIES THE FUTURE VEHICLE FOR TRANSPORTATION PLANNING : ...ARE UBIQUITOUS TECHNOLOGIES THE FUTURE VEHICLE FOR TRANSPORTATION PLANNING : ...
ARE UBIQUITOUS TECHNOLOGIES THE FUTURE VEHICLE FOR TRANSPORTATION PLANNING : ...ijasuc
 
Predictive Modeling for Topographical Analysis of Crime Rate
Predictive Modeling for Topographical Analysis of Crime RatePredictive Modeling for Topographical Analysis of Crime Rate
Predictive Modeling for Topographical Analysis of Crime RateIRJET Journal
 

Similar to Decentralized system to compute safest route (20)

A Method for Predicting Vehicles Motion Based on Road Scene Reconstruction an...
A Method for Predicting Vehicles Motion Based on Road Scene Reconstruction an...A Method for Predicting Vehicles Motion Based on Road Scene Reconstruction an...
A Method for Predicting Vehicles Motion Based on Road Scene Reconstruction an...
 
Applications of Artificial Intelligence in Transportation Systems
Applications of Artificial Intelligence in Transportation SystemsApplications of Artificial Intelligence in Transportation Systems
Applications of Artificial Intelligence in Transportation Systems
 
A participatory urban traffic monitoring system
A participatory urban traffic monitoring systemA participatory urban traffic monitoring system
A participatory urban traffic monitoring system
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
JiaxuZhou_GRAPoster
JiaxuZhou_GRAPosterJiaxuZhou_GRAPoster
JiaxuZhou_GRAPoster
 
Case Studies in Managing Traffic in a Developing Country with Privacy-Preserv...
Case Studies in Managing Traffic in a Developing Country with Privacy-Preserv...Case Studies in Managing Traffic in a Developing Country with Privacy-Preserv...
Case Studies in Managing Traffic in a Developing Country with Privacy-Preserv...
 
A Review paper on Artificial Neural Network: Intelligent Traffic Management S...
A Review paper on Artificial Neural Network: Intelligent Traffic Management S...A Review paper on Artificial Neural Network: Intelligent Traffic Management S...
A Review paper on Artificial Neural Network: Intelligent Traffic Management S...
 
Transportation Planning Implications of Automated Vehicles on Texas Highways
Transportation Planning Implications of Automated Vehicles on Texas Highways Transportation Planning Implications of Automated Vehicles on Texas Highways
Transportation Planning Implications of Automated Vehicles on Texas Highways
 
ROAD SAFETY BY DETECTING DROWSINESS AND ACCIDENT USING MACHINE LEARNING
ROAD SAFETY BY DETECTING DROWSINESS AND ACCIDENT USING MACHINE LEARNINGROAD SAFETY BY DETECTING DROWSINESS AND ACCIDENT USING MACHINE LEARNING
ROAD SAFETY BY DETECTING DROWSINESS AND ACCIDENT USING MACHINE LEARNING
 
SMART International Symposium for Next Generation Infrastructure: An integrat...
SMART International Symposium for Next Generation Infrastructure: An integrat...SMART International Symposium for Next Generation Infrastructure: An integrat...
SMART International Symposium for Next Generation Infrastructure: An integrat...
 
Real time deep-learning based traffic volume count for high-traffic urban art...
Real time deep-learning based traffic volume count for high-traffic urban art...Real time deep-learning based traffic volume count for high-traffic urban art...
Real time deep-learning based traffic volume count for high-traffic urban art...
 
Sss14duke BT Innovate Research Design
Sss14duke BT Innovate Research DesignSss14duke BT Innovate Research Design
Sss14duke BT Innovate Research Design
 
PPT.pptx
PPT.pptxPPT.pptx
PPT.pptx
 
Vehicle Traffic Analysis using CNN Algorithm
Vehicle Traffic Analysis using CNN AlgorithmVehicle Traffic Analysis using CNN Algorithm
Vehicle Traffic Analysis using CNN Algorithm
 
Driver Distraction Management Using Sensor Data Cloud
Driver Distraction Management Using Sensor Data Cloud Driver Distraction Management Using Sensor Data Cloud
Driver Distraction Management Using Sensor Data Cloud
 
Project Presentation 1 Template Car Black Box
Project Presentation 1 Template Car Black BoxProject Presentation 1 Template Car Black Box
Project Presentation 1 Template Car Black Box
 
Traffic control system
Traffic control systemTraffic control system
Traffic control system
 
Detection of Lane and Speed Breaker.pptx
Detection of Lane and Speed Breaker.pptxDetection of Lane and Speed Breaker.pptx
Detection of Lane and Speed Breaker.pptx
 
ARE UBIQUITOUS TECHNOLOGIES THE FUTURE VEHICLE FOR TRANSPORTATION PLANNING : ...
ARE UBIQUITOUS TECHNOLOGIES THE FUTURE VEHICLE FOR TRANSPORTATION PLANNING : ...ARE UBIQUITOUS TECHNOLOGIES THE FUTURE VEHICLE FOR TRANSPORTATION PLANNING : ...
ARE UBIQUITOUS TECHNOLOGIES THE FUTURE VEHICLE FOR TRANSPORTATION PLANNING : ...
 
Predictive Modeling for Topographical Analysis of Crime Rate
Predictive Modeling for Topographical Analysis of Crime RatePredictive Modeling for Topographical Analysis of Crime Rate
Predictive Modeling for Topographical Analysis of Crime Rate
 

Recently uploaded

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?Watsoo Telematics
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 

Recently uploaded (20)

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 

Decentralized system to compute safest route

  • 1. Decentralized System to Compute the Safest Route Presented By- Anushka Patil, Keyur Mehta, Snehal Vyawahare
  • 2. Project Background • Communities are adversely affected by social harm events- crime, traffic crashes, medical emergencies, drug use, etc. • Based on CDASH project. • Where they provide simulation results using data provided by the Indianapolis Metropolitan Police Department to illustrate the Hawkes process model of social harm over recently introduced social harm incidences. Reference: http://cdash.cs.iupui.edu/index.html2
  • 3. AS-IS Solution/ Problem Statement • Services like Google Maps are excelled at finding the shortest, most direct routes from Point A to Point B. • It uses real-time traffic conditions for computing the fastest route. • Crowd-sourced traffic data is used to give the users the quickest route. • The time of journey as the only factor of consideration is not a sufficient metric in today’s times. • Parameters like road safety and time of travel must be considered for computing the best possible route. 3
  • 4. Implemented Solution • The overall idea here is to avoid dangerous spots on city streets while moving from one place to another. • Algorithms for getting from one place to another the shortest path, the safest path. • This backend model relies both on crime data, when it’s available, and crowdsourced comments to reveal potential trouble spots to users. Fig 1.0. Implementation solution 4
  • 5. Architecture Design Fig 2.0. Architecture Design 5
  • 6. Load Balancer: • Delegate the request to either of the servers. • Redirecting to the backup server in case of failures. Database Server: • Maintain and/or retrieve the crime data. Application Server: • Compute the safest shortest route. Backup Server: • Manages all the responsibilities of an application server in case of failure. Design Decisions 6
  • 7. Tools/Technology Used • Programming Language : Java • Communication Paradigm: Java RMI • Machines: Components Machines Client Tesla.cs.iupui.edu Load Balancer Rain.cs.iupui.edu Servers Thunder.cs.iupui.edu, Lightning.cs.iupui.edu Database in-csci-rrpc01.cs.iupui.edu 7
  • 8. Algorithm Fig 3.1. Algorithm: Extraction of crime data 8
  • 9. Algorithm Fig 3.2. Algorithm: Final route cost computation 9
  • 10. Implementation Details • It pulls out available crime data with in 1 mile of the GPS co-ordinate with parameters like time, date, location and types of crime. • The Safe Path algorithms calculates the total risk of a path from one place to another and returns the safest and shortest path. • The selection of the Safest Shortest Route is based on: • If the differences between the cost of the safest route and the shortest route is less than 15%, than is not recommended. • If the difference is greater than 15%, the safest route is recommended. 10
  • 11. Distributed Concepts 11 • It is rightly said that "Failure happens all the time.“ So when design, you design for failures. Availability • If one server fails the load balancer redirects the client request to the backup server Distributed Nature • Separation of concern - Application, DB and Load Server Fault Tolerance • Server Crash – client retry requests • Invalid Requests – new requests Concurrency • Simultaneous access for different clients.
  • 14. 14 Results Obtained Case 2. Risk Cost difference is Less than 15%
  • 15. Conclusion • Calculate the total risk of path from one point to another. • The model can be add on to the existing navigation tool. • Make commute safe and cities more livable. 15
  • 18. 18 References • CDASH Paper: https://pdfs.semanticscholar.org/e885/b56c61577d4d8d7c38284c63883827d3ad14.pdf • Google API: https://developers.google.com/maps/documentation/directions/start • Java RMI: https://docs.oracle.com/javase/tutorial/rmi/index.html