Commit Graph

469 Commits

Author SHA1 Message Date
Sascha L. Teichmann
3e78608688 Updated compile instrcutions to 1.9. 2017-09-05 18:22:10 +02:00
Sascha L. Teichmann
ae9d18576a Added script to fetch needed 3rd party libs for development. 2017-05-04 15:18:24 +02:00
Sascha L. Teichmann
b4d02f1484 Added tag 0.9 for changeset 032192ac6db5 2017-04-15 13:26:10 +02:00
Sascha L. Teichmann
ccefe39d7c Recommend Go 1.8.1. 2017-04-15 13:25:54 +02:00
Sascha L. Teichmann
fd73757bbd Bump version to 0.9 2017-04-15 13:23:22 +02:00
Sascha L. Teichmann
9f8ff8b393 Merged feature branch redis-priority to remove unnecessary locking when using LevelBD. 2017-04-15 13:20:43 +02:00
Sascha L. Teichmann
c067fc0618 Backed out changeset 2f388b07f19a (no measurable effect) 2017-04-15 13:17:31 +02:00
Sascha L. Teichmann
bc874e1c9a Merged write-tiless-in-background back into default. 2017-04-15 13:13:51 +02:00
Sascha L. Teichmann
8badf4aaca Added a meaningful comment to the method of the base tile creator which creates the backgound task. 2017-04-15 13:08:19 +02:00
Sascha L. Teichmann
65119c1ee4 Priotize again. 2017-03-21 16:25:58 +01:00
Sascha L. Teichmann
54a4527fda Fixed problem raised from the removal of the doWrite closure. 2017-03-21 16:05:59 +01:00
Sascha L. Teichmann
e4ad3a84d8 Removed locking from LevelDB entirely.
It is not needed because LevelDB itself handles concurreny issues
and it causes a lot of contentions and massive lags.
2017-03-21 08:40:44 +01:00
Sascha L. Teichmann
aad612d097 Experimental increased priorities for typical mt-server ops. 2017-03-20 12:41:24 +01:00
Sascha L. Teichmann
6a1356f0eb When an tile is rendered the writing to disk can be done in background
concurrently to the rendering of the next tile.
2017-03-06 15:43:30 +01:00
Sascha L. Teichmann
2cba483d32 redis client: Issue fewer write sys calls by fill hspatial request into a temp buffer first and write it in one go. 2017-03-06 11:44:06 +01:00
Sascha L. Teichmann
a074eeb54b Added tag 0.8.2 for changeset 404e84ee8dbf 2017-03-05 18:10:20 +01:00
Sascha L. Teichmann
e1e3821f47 Bumped version to 0.8.2 2017-03-05 18:10:14 +01:00
Sascha L. Teichmann
e68e762322 Support unix domain sockets in redis clients, too. 2017-03-05 14:38:30 +01:00
Sascha L. Teichmann
ba2dd15280 Support unix domain sockets. 2017-03-05 14:03:02 +01:00
Sascha L. Teichmann
349906c622 Added tag 0.8.1 for changeset 46182c513485 2017-03-04 12:31:09 +01:00
Sascha L. Teichmann
9e8078eda3 Removed tag 0.8.1 2017-03-04 12:30:58 +01:00
Sascha L. Teichmann
baef2659e3 Bumped version to 0.8.1 2017-03-04 12:30:40 +01:00
Sascha L. Teichmann
81aad3b7de Added tag 0.8.1 for changeset c78c9905d39a 2017-03-04 11:37:32 +01:00
Sascha L. Teichmann
91959685f5 Re-worked memory management of blocks loaded from redis client to avoid
unnecessary copying them around.
2017-03-03 23:00:29 +01:00
Sascha L. Teichmann
4a3fa1f568 Small clean up in y order code. 2017-03-03 22:24:00 +01:00
Sascha L. Teichmann
427ec305fc One more use of the scratch of redis client. 2017-03-03 16:03:08 +01:00
Sascha L. Teichmann
41187af7db Replaced one sync.Pool with a scratch byte arrary in redis client. 2017-03-02 10:57:03 +01:00
Sascha L. Teichmann
956f7b5e8b Factored YOrder out of Renderer as it is only an optimization and not directly related to the rendering. 2017-03-01 15:05:51 +01:00
Sascha L. Teichmann
75aeb36c95 Optimize the inner loop of the renderer to save some cycles by hoisting out version checks and common indexing. 2017-03-01 13:06:51 +01:00
Sascha L. Teichmann
08d32826dc Increased readability of block content extraction a tiny bit. 2017-03-01 11:41:21 +01:00
Sascha L. Teichmann
7fca02e45f Unified pooling for redis client in hspatial requests. 2017-02-28 18:50:45 +01:00
Sascha L. Teichmann
3ba10aa00a Cosmetic: x[0:n] -> x[:n]. 2017-02-28 00:39:03 +01:00
Sascha L. Teichmann
5def145564 The block data from the redis server in of the HSPATIAL requests is now recycled with a sync.Pool. Removes some pressure from the gc. 2017-02-28 00:33:59 +01:00
Sascha L. Teichmann
d6411f3f6d Implement renderer reset cheaper ... and this time correctly. 2017-02-27 23:50:15 +01:00
Sascha L. Teichmann
eed91e7148 Comment out early stop in renderer reset as it results in broken renderings. 2017-02-27 20:47:23 +01:00
Sascha L. Teichmann
58d930e1d2 Only clear renderer if necessary. 2017-02-27 20:10:49 +01:00
Sascha L. Teichmann
3a9fd0ca1e Cosmetical: Replaced a map to bools by a map with struct{} values because its more a set. 2017-02-27 16:12:19 +01:00
Sascha L. Teichmann
f437baaac1 Added tag 0.8 for changeset 7251b84c0393 2017-02-26 21:52:03 +01:00
Sascha L. Teichmann
ba43353488 Bumped version to 0.8 2017-02-26 21:51:49 +01:00
Sascha L. Teichmann
12cfd32ad5 Use blake2b instead of sha1 to check for identical tiles to not regenerate the tiles pyramid. 2017-02-26 21:47:50 +01:00
Sascha L. Teichmann
540836b174 Made mttilemapper compile again. 2017-02-26 21:22:14 +01:00
Sascha L. Teichmann
fea2286237 Reverted accidentally committed profiling stuff. 2017-02-26 17:05:45 +01:00
Sascha L. Teichmann
ca634f28ef Simplified area coverage calculation a great deal. 2017-02-26 17:01:15 +01:00
Sascha L. Teichmann
4b92a6c722 Do not leave the current area when re-checking the coverage area. 2017-02-26 13:21:39 +01:00
Sascha L. Teichmann
003ce5035a Moved area coverage stuff out of renderer. It is an optimization to load
only needed blocks from db and has nothing to do with rendering.
2017-02-26 13:13:19 +01:00
Sascha L. Teichmann
3e3413566b Only do expensive area coverage calculation if there where blocks loaded from database.
If there are not, nothing changed, so nothing to recalculate.
Takes a good deal from the clock.
2017-02-26 12:57:38 +01:00
Sascha L. Teichmann
7f78feb9bd Replaced expensive fmt.Sscanf call in redis client with strconv.ParseInt. 2017-02-25 19:29:27 +01:00
Sascha L. Teichmann
228bd9026b Added a recyling pool for bulk strings written in redis client to help performance. 2017-02-25 17:00:17 +01:00
Sascha L. Teichmann
b2ca97568e Call better suited strconv.AppendInt when converting keys to byte slices. 2017-02-25 00:11:03 +01:00
Sascha L. Teichmann
b6bfe468b7 For symmetry inline readline function in redis client. 2017-02-24 21:23:04 +01:00