Commit Graph

182 Commits

Author SHA1 Message Date
Raimund Renkert 8a1cd2272e Switched to vue-leaflet implementation for web client. 2022-03-02 15:00:25 +01:00
Sascha L. Teichmann e0040226c5 Fixed mtredisalize LevelDB backend which did not broadcast changes. 2017-05-14 18:35:45 +02:00
Sascha L. Teichmann c067fc0618 Backed out changeset 2f388b07f19a (no measurable effect) 2017-04-15 13:17:31 +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 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 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 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 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 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 6b5f791a8a Use write lock when executing block deletion. 2016-07-27 16:38:54 +02:00
Sascha L. Teichmann d6ddd047a4 Fixed and simplified redis network code. 2016-07-26 16:32:24 +02:00
Sascha L. Teichmann 60f43c9f52 Implementation of Redis command HDEL. Needs testing. For issue #18. 2016-07-26 16:15:10 +02:00
Sascha L. Teichmann bae7e7c3e6 Made size of hashes LRU cache a parameter set by the webmapper. 2016-05-10 21:02:16 +02:00
Sascha L. Teichmann 7cbe2e516c Revert enabling websockets by default. Slipped in by accident. 2016-05-10 20:53:58 +02:00
Sascha L. Teichmann 69ee5af388 Implemented a simple LRU cache with max 256 entries for base tile hasing. TODO: Improve test. 2016-05-10 18:57:14 +02:00
Sascha L. Teichmann 5d1be98ae5 Cosmetics. 2016-05-08 23:27:11 +02:00
Sascha L. Teichmann 4c24a01607 Use empty structs instead of bools in changes. 2016-05-08 23:20:51 +02:00
Sascha L. Teichmann da309c73d8 Removed obsolete comment. 2016-05-08 23:12:29 +02:00
Sascha L. Teichmann 496a60aa29 Simplified mask embedding in parent calculation of pyramid tiles. 2016-05-08 23:07:19 +02:00
Sascha L. Teichmann da2a6a82d4 Simplified tiles update processing and forwarding. 2016-05-08 22:30:00 +02:00
Sascha L. Teichmann 0900bd16ce Finished logic to supress pyramid regeneration in mtwebmapper. Untested. 2016-05-08 15:38:50 +02:00
Sascha L. Teichmann 4bed73d9e3 Prepare tiles updater in webmapper to have unupdated base tiles. 2016-05-08 15:13:40 +02:00
Sascha L. Teichmann 9f1735eb29 mtredisalize: Renamed parser.go to redisparser.go 2016-04-25 11:46:59 +02:00
Sascha L. Teichmann 72bd5ec77a mtredisalize: Removed a useless level of abstraction in redis parser. 2016-04-25 11:43:50 +02:00
Sascha L. Teichmann 14ae6d3873 s/SqliteBackend/SQLiteBackend/ s/SqliteSession/SQLiteSession/ in mtredisalize. 2016-04-24 20:54:05 +02:00
Sascha L. Teichmann d21fa6c027 Be more explicit about data flow directions of the channels in mtredisalize. 2016-04-24 20:47:55 +02:00
Sascha L. Teichmann 4dc43881c6 Added a few more comments to mtredisalize and unexport a few symbols. 2016-04-24 19:41:15 +02:00
Sascha L. Teichmann 7ac3c67e63 Made mtdbconverter pass golint by adding the missing comments. 2016-04-24 18:37:08 +02:00
Sascha L. Teichmann ea57c7c35f Silence all warnings of golint not related to missing comments. 2016-04-24 12:41:58 +02:00
Sascha L. Teichmann 607b4de9ec Dedup code. 2016-04-23 21:09:23 +02:00
Sascha L. Teichmann 0db9b519a6 Implement fetaure request issue #17
mtseeder and mtwebmapper got an option to set the background color where no nodes are generated, yet.
2016-04-23 16:45:33 +02:00
Sascha L. Teichmann 0f01065fdf Merged. 2016-04-06 11:45:59 +02:00
Sascha L. Teichmann 58a44c2d40 Be more careful with host IPs which call /update. They are potentially IPv6. Fixes Issue #16. 2016-04-06 11:44:51 +02:00
Sascha L. Teichmann 4522708ddf Updates #15 Prevent a potential file handle leak in sending update notifications via POST to mtwebmapper. 2016-01-24 14:31:15 +01:00
Sascha L. Teichmann 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. 2015-12-25 22:07:54 +01:00
Sascha L. Teichmann dc2845abb1 Made pyramid seeding more spammy (user request). TODO: percentage output would be nicer. 2015-08-10 17:43:52 +02:00
Sascha L. Teichmann e606e2700f Fixes #14. mtseeder and mtwebmapper now have command line flags -ymin=block and -ymax=block to limit the y range of mapping. Defaults to full range. 2015-07-27 19:03:47 +02:00
Sascha L. Teichmann 62a53dc26b Unified handling of printing versions of programs (--version). Setting version to 0.5 2015-07-26 22:04:16 +02:00
Sascha L. Teichmann f6b5f9ce97 Removed totally outdated README of mtredisalize. 2015-07-26 16:48:19 +02:00
Sascha L. Teichmann f6e5eb8510 Moved ordering of two int64 to common/math. 2015-07-26 16:40:50 +02:00
Sascha L. Teichmann 8817094001 Added missing copyright headers and updated dates on others. 2015-07-26 16:33:29 +02:00
Sascha L. Teichmann becf017edc Small cleanup. Moved min to common/math. 2015-07-26 12:32:59 +02:00
Sascha L. Teichmann e1eb03813f Add a -transparent-dim=percent flag to set the extra dimming of transparent materials each depth meter. 2015-07-26 11:55:38 +02:00
Sascha L. Teichmann 68bb1ee320 Avoid redundant decoding when sendind coordinate to change tracker or coverage index.
Don't try to store in coverage index if the key already exists.
Handle more potential database errors.
2015-07-25 22:18:16 +02:00