Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfc3945bc0 |
@@ -552,7 +552,7 @@ file.
|
||||
How RouteWatch keeps the answers of geojs:
|
||||
|
||||
- It holds at most 250,000 addresses in memory, and drops the least recently
|
||||
used first. That takes about 75 MB of the Go heap.
|
||||
used first. That takes about 100 MB of the Go heap.
|
||||
- It writes new answers every 5 seconds to `cache.db` in the state directory.
|
||||
- It loads the newest 250,000 answers from `cache.db` at startup.
|
||||
- An address not in memory is read from `cache.db` before geojs is asked.
|
||||
|
||||
Reference in new issue
Block a user