Development Software
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb Site ManagementDevelopment Software

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 8th, 2011, 05:06 AM
JMorjaria JMorjaria is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2005
Posts: 641 JMorjaria User rank is Sergeant (500 - 2000 Reputation Level)JMorjaria User rank is Sergeant (500 - 2000 Reputation Level)JMorjaria User rank is Sergeant (500 - 2000 Reputation Level)JMorjaria User rank is Sergeant (500 - 2000 Reputation Level)JMorjaria User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 28 sec
Reputation Power: 24
Driving Directions

Ok, im trying to build a tool that will require massive amounts of information location. In my database I have 1000's addresses, my aim is to run hundreds of driving direction calculations (not interested in instructions just the exact time it will take to travel from one to another). I want to be able to run between 50-5000 distance calculations at one time.

There are obviously some tools already out there:

Google Maps
Bing Maps

Other maps... however their license fees are often huge (the site will be behind a password). I do know map point is a system you can buy and install, but does anyone know if it can be linked up to a web based application?

Also are there any other services/software that we could use?

Reply With Quote
  #2  
Old April 8th, 2011, 07:47 AM
E-Oreo's Avatar
E-Oreo E-Oreo is online now
Lost in code
Dev Shed God 7th Plane (8000 - 8499 posts)
 
Join Date: Dec 2004
Posts: 8,051 E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 1 Day 4 h 41 m 20 sec
Reputation Power: 7104
50-5000 is a big range, and also a lot of requests. Distance calculations (assuming you mean over roads and not straight-line distance) require calculating the driving instructions anyway, and are not cheap to perform. You will need at least one CPU core for each calculation that you plan to run in parallel. Assuming you buy 8-core servers, you're still looking at needing at least 7-625 servers. Obviously that doubles if you only buy cheaper 4-core servers. So in hardware costs alone you're looking at several thousand dollars minimum for even 50 requests at a time, and for 5000 requests you're probably look at about half a million (in hardware costs alone; of course it takes tons of power and a lot of staff to manage 625 servers).

Almost any program with a command line interface or a COM interface (on Windows) can be connected to a web based application. Programs that only offer GUI applications are a lot more difficult to connect to a web application. From briefly searching I wasn't able to determine whether MapPoint supports a CLI or COM interface, so my guess is that it doesn't. It seems reasonable to assume that you could find one.
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old April 8th, 2011, 08:53 AM
JMorjaria JMorjaria is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2005
Posts: 641 JMorjaria User rank is Sergeant (500 - 2000 Reputation Level)JMorjaria User rank is Sergeant (500 - 2000 Reputation Level)JMorjaria User rank is Sergeant (500 - 2000 Reputation Level)JMorjaria User rank is Sergeant (500 - 2000 Reputation Level)JMorjaria User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 28 sec
Reputation Power: 24
Yea 5000 is probably exaggeration :P I know that with Google Maps it takes around 0.1 second per request, which isn't too bad.. At this stage im just trying to work out which technology to use, if we can host it ourselves.

The idea is to have a diary open, each event has an address linked to it. When a user tries to create a new event we tell the user how long it will take them to travel between the previous event and the one they're booking in.. this will give them an overview of when to book in the event.

I'm also hoping to run a program that can do the same thing over multiple days, i.e. 50 events per day, 10 days thats 500 events. That would mean 500 directions calculations. I guess if we average 0.5 seconds per calculation running 5 processors (as rough example) then it will take 50 seconds.

We could use this sort of calculation to calculate the cost of running each of these queries.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementDevelopment Software > Driving Directions

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap