Improving RD5 file reading performance in with high latency storage#908
Improving RD5 file reading performance in with high latency storage#908scarapella wants to merge 1425 commits into
Conversation
Czech language
Updated database scripts
Profile very different to online version
Protect routing on empty way description.
Change dynamic range meaning
Update for Car Profile Penalty
BExpressionContext: check "metre" in addition to "meter"
Changed degree entries back
Add skating profile for long-distance inline/quad skating
Added new profile to APK config
Added the new serverconfig.txt to zip
|
@scarapella |
…mand to more easily allow the use of system property other overrides
842f4a1 to
c1a6333
Compare
Please let us know: How did you measure that? On my tests with the jar from this PR I did around 160 routing calls to the server with result sizes from 1k to 600k. I can't see a difference. |
|
I assume you use local storage for your RD5 files? In that case I agree i would not expect a big difference since I think the issue is endemic to the setup I am using where the storage latency is much higher (using cloud bucket storage) I'll setup a side by side comparison soon as I'm able to benchmark some differences. |
|
@afischerdev do you have a preferred test set? |
|
@scarapella |
Hello,
I've been deploying a dockerized brouter using cloud storage buckets and because of the way the RD5 files are read, the performance is... less than idea. By introducing this optional buffered reader implementation it significantly improves the performance.
Buffered reader is switched on using -
DuseBufferedReader=truethe sized of the read buffer can optionally be adjusted using-DreadBufferSize=2m. Although the default of 1M seems pretty good compromise.-scarapella