Commit Graph

  • 4a3fa1f568 Small clean up in y order code. Sascha L. Teichmann 2017-03-03 22:24:00 +0100
  • 427ec305fc One more use of the scratch of redis client. Sascha L. Teichmann 2017-03-03 16:03:08 +0100
  • 41187af7db Replaced one sync.Pool with a scratch byte arrary in redis client. Sascha L. Teichmann 2017-03-02 10:57:03 +0100
  • 956f7b5e8b Factored YOrder out of Renderer as it is only an optimization and not directly related to the rendering. Sascha L. Teichmann 2017-03-01 15:05:51 +0100
  • 75aeb36c95 Optimize the inner loop of the renderer to save some cycles by hoisting out version checks and common indexing. Sascha L. Teichmann 2017-03-01 13:06:51 +0100
  • 08d32826dc Increased readability of block content extraction a tiny bit. Sascha L. Teichmann 2017-03-01 11:41:21 +0100
  • 7fca02e45f Unified pooling for redis client in hspatial requests. Sascha L. Teichmann 2017-02-28 18:50:45 +0100
  • 3ba10aa00a Cosmetic: x[0:n] -> x[:n]. Sascha L. Teichmann 2017-02-28 00:39:03 +0100
  • 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. Sascha L. Teichmann 2017-02-28 00:33:59 +0100
  • d6411f3f6d Implement renderer reset cheaper ... and this time correctly. Sascha L. Teichmann 2017-02-27 23:50:15 +0100
  • eed91e7148 Comment out early stop in renderer reset as it results in broken renderings. Sascha L. Teichmann 2017-02-27 20:47:23 +0100
  • 58d930e1d2 Only clear renderer if necessary. Sascha L. Teichmann 2017-02-27 20:10:49 +0100
  • 3a9fd0ca1e Cosmetical: Replaced a map to bools by a map with struct{} values because its more a set. Sascha L. Teichmann 2017-02-27 16:12:19 +0100
  • f437baaac1 Added tag 0.8 for changeset 7251b84c0393 Sascha L. Teichmann 2017-02-26 21:52:03 +0100
  • ba43353488 Bumped version to 0.8 Sascha L. Teichmann 2017-02-26 21:51:49 +0100
  • 12cfd32ad5 Use blake2b instead of sha1 to check for identical tiles to not regenerate the tiles pyramid. Sascha L. Teichmann 2017-02-26 21:47:50 +0100
  • 540836b174 Made mttilemapper compile again. Sascha L. Teichmann 2017-02-26 21:22:14 +0100
  • fea2286237 Reverted accidentally committed profiling stuff. Sascha L. Teichmann 2017-02-26 17:05:45 +0100
  • ca634f28ef Simplified area coverage calculation a great deal. Sascha L. Teichmann 2017-02-26 17:01:15 +0100
  • 4b92a6c722 Do not leave the current area when re-checking the coverage area. Sascha L. Teichmann 2017-02-26 13:21:39 +0100
  • 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. Sascha L. Teichmann 2017-02-26 13:13:19 +0100
  • 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. Sascha L. Teichmann 2017-02-26 12:57:38 +0100
  • 7f78feb9bd Replaced expensive fmt.Sscanf call in redis client with strconv.ParseInt. Sascha L. Teichmann 2017-02-25 19:29:27 +0100
  • 228bd9026b Added a recyling pool for bulk strings written in redis client to help performance. Sascha L. Teichmann 2017-02-25 17:00:17 +0100
  • b2ca97568e Call better suited strconv.AppendInt when converting keys to byte slices. Sascha L. Teichmann 2017-02-25 00:11:03 +0100
  • b6bfe468b7 For symmetry inline readline function in redis client. Sascha L. Teichmann 2017-02-24 21:23:04 +0100
  • 744208ba00 Removed superfluous error checking in redis client. Sascha L. Teichmann 2017-02-24 19:54:19 +0100
  • 3c2ab551f1 Opitimized writing redis hspatial queries a bit. Sascha L. Teichmann 2017-02-24 19:49:08 +0100
  • b0a42867d8 Improved performance of Renderer.Reset by factor of 2. Sascha L. Teichmann 2017-02-24 17:59:41 +0100
  • f11a9b0593 Recommend Go 1.8. Sascha L. Teichmann 2017-02-24 14:31:33 +0100
  • 9e62c6c318 Merged branch new-mapblock-v27. Fixes #21 . Sascha L. Teichmann 2017-02-24 13:33:57 +0100
  • c167efecd2 Content and parameters width seems to be 255 instead of 2 in new block format. This is strange becaus they are set hard to 2 in mapblock.cpp#MapBlock::serialize. Sascha L. Teichmann 2017-02-24 12:02:06 +0100
  • 90279506d1 Ported new map block offset in version >= 27 from C++ mapper. Needs testing. See 21444d00c3 Sascha L. Teichmann 2017-02-23 16:08:16 +0100
  • 833cc15d73 Go 1.7 is now stable so adjust the compiling instructions. Sascha L. Teichmann 2016-08-21 10:48:22 +0000
  • 40142e193e Merged in HybridDog/mtsatellite/HybridDog/optimize-track_playersinitlua-1471082645973 (pull request #1) Sascha L. Teichmann 2016-08-21 12:36:55 +0200
  • 059d013481 optimize track_players/init.lua HybridDog 2016-08-13 10:04:08 +0000
  • 9b6427fa2e Merged hdel-redis-command branch which allows to call /deleteblocks from MT server. Sascha L. Teichmann 2016-07-28 10:43:20 +0200
  • 6b5f791a8a Use write lock when executing block deletion. Sascha L. Teichmann 2016-07-27 16:38:54 +0200
  • d6ddd047a4 Fixed and simplified redis network code. Sascha L. Teichmann 2016-07-26 16:32:24 +0200
  • 60f43c9f52 Implementation of Redis command HDEL. Needs testing. For issue #18. Sascha L. Teichmann 2016-07-26 16:15:10 +0200
  • 9f73435783 Mentioned Go1.7rc1 Sascha L. Teichmann 2016-07-11 17:13:53 +0200
  • 8c9d012de5 Update to Go1.7beta2 Sascha L. Teichmann 2016-06-26 12:47:23 +0200
  • a9fa3b63fe Mentioned 15% performance boost from Go1.7beta. Sascha L. Teichmann 2016-06-05 15:35:31 +0200
  • b12d86dcbd Added tag 0.7 for changeset 02774f29e446 Sascha L. Teichmann 2016-05-13 16:46:11 +0200
  • 599ec1cf2b Set version to 0.7 Sascha L. Teichmann 2016-05-13 16:46:06 +0200
  • 2583071e81 Merged the supress-identical-tile-overwrite feature branch. The webmapper now has an internal cache of SHA1 hashes of the last 256 base tiles it writes to disk. If a tile is regenerated its hash is compared to the already stored. If the hash is the same as the one before the tile is not stored to file and the pyramid tiles are not updated, too. Sascha L. Teichmann 2016-05-13 16:42:53 +0200
  • 674912ed5f Test linked list in both directions in base tile hash. Sascha L. Teichmann 2016-05-11 18:43:20 +0200
  • 9a355d08fd Typo fix. Sascha L. Teichmann 2016-05-11 12:02:36 +0200
  • a0d38b7ce6 Made go vet happy on test of base tile hashing. Sascha L. Teichmann 2016-05-11 12:01:39 +0200
  • ef1a2de98e Fixed toFront opertaion in LRU logic of base tile hashing. Tests now pass. Sascha L. Teichmann 2016-05-11 11:49:53 +0200
  • ed41cfbe01 Made test less spammy. Sascha L. Teichmann 2016-05-11 11:43:38 +0200
  • b257a60b2d Improved tests of base tile hash. They fail. TODO: Fix bugs in base tile hash. Sascha L. Teichmann 2016-05-11 11:39:50 +0200
  • bae7e7c3e6 Made size of hashes LRU cache a parameter set by the webmapper. Sascha L. Teichmann 2016-05-10 21:02:16 +0200
  • 7cbe2e516c Revert enabling websockets by default. Slipped in by accident. Sascha L. Teichmann 2016-05-10 20:53:58 +0200
  • 69ee5af388 Implemented a simple LRU cache with max 256 entries for base tile hasing. TODO: Improve test. Sascha L. Teichmann 2016-05-10 18:57:14 +0200
  • 5d1be98ae5 Cosmetics. Sascha L. Teichmann 2016-05-08 23:27:11 +0200
  • 4c24a01607 Use empty structs instead of bools in changes. Sascha L. Teichmann 2016-05-08 23:20:51 +0200
  • da309c73d8 Removed obsolete comment. Sascha L. Teichmann 2016-05-08 23:12:29 +0200
  • 496a60aa29 Simplified mask embedding in parent calculation of pyramid tiles. Sascha L. Teichmann 2016-05-08 23:07:19 +0200
  • da2a6a82d4 Simplified tiles update processing and forwarding. Sascha L. Teichmann 2016-05-08 22:30:00 +0200
  • b59f849d73 Make go vet happy. Sascha L. Teichmann 2016-05-08 18:03:13 +0200
  • fad16a58e8 Write tile coord if it is unchanged not the file path to the base tile. Sascha L. Teichmann 2016-05-08 17:43:48 +0200
  • 398c52f8a5 Removed unnecessary general code. Sascha L. Teichmann 2016-05-08 17:33:51 +0200
  • 792aae99d7 Simplified tile hash. Sascha L. Teichmann 2016-05-08 17:22:04 +0200
  • 0900bd16ce Finished logic to supress pyramid regeneration in mtwebmapper. Untested. Sascha L. Teichmann 2016-05-08 15:38:50 +0200
  • 4bed73d9e3 Prepare tiles updater in webmapper to have unupdated base tiles. Sascha L. Teichmann 2016-05-08 15:13:40 +0200
  • 5ee3731a27 Started with experimental hashing of base tiles to avoid redundant write operations and pyramid updates. Sascha L. Teichmann 2016-05-08 12:33:17 +0200
  • 9f1735eb29 mtredisalize: Renamed parser.go to redisparser.go Sascha L. Teichmann 2016-04-25 11:46:59 +0200
  • 72bd5ec77a mtredisalize: Removed a useless level of abstraction in redis parser. Sascha L. Teichmann 2016-04-25 11:43:50 +0200
  • 14ae6d3873 s/SqliteBackend/SQLiteBackend/ s/SqliteSession/SQLiteSession/ in mtredisalize. Sascha L. Teichmann 2016-04-24 20:54:05 +0200
  • d21fa6c027 Be more explicit about data flow directions of the channels in mtredisalize. Sascha L. Teichmann 2016-04-24 20:47:55 +0200
  • 4dc43881c6 Added a few more comments to mtredisalize and unexport a few symbols. Sascha L. Teichmann 2016-04-24 19:41:15 +0200
  • 7ac3c67e63 Made mtdbconverter pass golint by adding the missing comments. Sascha L. Teichmann 2016-04-24 18:37:08 +0200
  • 67a16e2d3e Unexport render internal methods. Sascha L. Teichmann 2016-04-24 13:31:13 +0200
  • 6ab45d13c0 Recommend Go 1.6.2 instead 1.6.1 Sascha L. Teichmann 2016-04-24 13:02:52 +0200
  • 8c459d05de Removed dead code. Sascha L. Teichmann 2016-04-24 12:55:17 +0200
  • ea57c7c35f Silence all warnings of golint not related to missing comments. Sascha L. Teichmann 2016-04-24 12:41:58 +0200
  • cf14aed031 Merged Sascha L. Teichmann 2016-04-24 11:21:07 +0200
  • 607b4de9ec Dedup code. Sascha L. Teichmann 2016-04-23 21:09:23 +0200
  • 0db9b519a6 Implement fetaure request issue #17 mtseeder and mtwebmapper got an option to set the background color where no nodes are generated, yet. Sascha L. Teichmann 2016-04-23 16:45:33 +0200
  • 0030f7bc02 Merged. Sascha L. Teichmann 2016-04-13 11:12:07 +0200
  • 3c76ef6d1c Updated compile to Go 1.6.1. Sascha L. Teichmann 2016-04-13 11:11:29 +0200
  • b5f531b0ba Before Go 1.7 there is an extra offset needed to decode blocks correctly after the embedded compressed data. In post 1.7 this bug was fixed. We use build tags here to support both cases. Sascha L. Teichmann 2016-04-08 23:40:36 +0200
  • 955dfdf4bb Update recommended Go version to 1.6. Sascha L. Teichmann 2016-04-06 16:51:51 +0200
  • 0f01065fdf Merged. Sascha L. Teichmann 2016-04-06 11:45:59 +0200
  • 58a44c2d40 Be more careful with host IPs which call /update. They are potentially IPv6. Fixes Issue #16. Sascha L. Teichmann 2016-04-06 11:44:51 +0200
  • 7bb5e8d00d Merged. Sascha L. Teichmann 2016-01-24 14:32:18 +0100
  • 4522708ddf Updates #15 Prevent a potential file handle leak in sending update notifications via POST to mtwebmapper. Sascha L. Teichmann 2016-01-24 14:31:15 +0100
  • 34fa4564f2 Update compiler to 1.5.3. Sascha L. Teichmann 2016-01-14 10:10:18 +0100
  • 5730da652b Added tag 0.6 for changeset 0c0f125037d1 Sascha L. Teichmann 2015-12-26 18:19:13 +0100
  • 384c11659e version 0.6 Sascha L. Teichmann 2015-12-26 18:19:03 +0100
  • 36acde77c4 Relax the warnings about the none interleaved backend formats. Sascha L. Teichmann 2015-12-26 18:14:20 +0100
  • 0158f97dcd Mentioned Go 1.5.2 in compile how to. Sascha L. Teichmann 2015-12-26 18:06:15 +0100
  • 82f2efc25e Merge new-scaler branch. Sascha L. Teichmann 2015-12-26 17:54:31 +0100
  • f658d12641 Use github.com/bamiaux/rez instead of github.com/nfnt/resize for resampling the pyramid tiles. It is much faster but needs some testing. Sascha L. Teichmann 2015-12-25 22:07:54 +0100
  • 6ae5936de9 Be more verbose if image decoding failed. Sascha L. Teichmann 2015-08-24 10:58:46 +0200
  • 08031f1dcd Do more boundary checks in block decoding. Sascha L. Teichmann 2015-08-24 10:45:28 +0200
  • 011cd0e4f4 Be more defensive in decoding node id table in blocks. Sascha L. Teichmann 2015-08-23 22:48:54 +0200
  • dc2845abb1 Made pyramid seeding more spammy (user request). TODO: percentage output would be nicer. Sascha L. Teichmann 2015-08-10 17:43:52 +0200
  • c4c35dc10d Use a sync.Pool to recycle the zlib readers. Speeds up the decoding of database blocks significantly. Sascha L. Teichmann 2015-08-08 16:01:23 +0200