I am wondering if my idea can be done-. I am carrying out a project on road systems and that i expect to do many database access meaning, for instance, to see if one route is attached to another route, check database if connection exist? I've predefined details about the routes so I wish to rely on them as mush as you possibly can, but I am worried this too mush database access can make this program slow. I wish to understand how The search engines do it within their Get Direction feature from the Google Maps, however i can't find the correct article that describes the technique directly. Help me. Thanks!