[GraphHopper] what is the use case of SynchedDAWrapper?

John Zhao johnthu at gmail.com
Wed Jul 1 00:31:11 UTC 2015


Hi Peter,

This question is for you. :)

I guess MMapDataAccess is mainly designed for running Graphhopper on
Android device, which you can't load all the data into the limited memory.

In the comment of MMapDataAccess:
This is a data structure which uses the operating system to synchronize
between disc and memory.
Use SynchDAWrapper if you intent to use this from multiple threads!

why GH need a thread-safe one, somebody want to do the extract on Android
device?
just curious.

Thanks in advance.

*Best Regards,*
*ZhiQiang ZHAO*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150630/b43bb75d/attachment.html>


More information about the GraphHopper mailing list