Commit Graph

77 Commits

Author SHA1 Message Date
tidwall 714cca6d6c 1.16.0 2019-02-25 15:39:58 -07:00
Steven Wolfe f638904c14 1.15.0 2019-01-16 12:33:08 -07:00
Steven Wolfe 1e775bf59b Adding ARM and ARM64 packages 2019-01-14 12:38:11 -07:00
tidwall 88e4cc2035 1.14.4 2018-12-03 17:32:37 -07:00
tidwall 13f39d99c6 1.14.3 2018-11-20 10:32:24 -08:00
tidwall d91cdb3453 1.14.2 2018-11-15 13:47:49 -07:00
tidwall 737561fa8b Fix version not being set at build, close #386 2018-11-15 13:45:55 -07:00
tidwall c2ebffabd4 1.14.1 2018-11-15 09:19:22 -07:00
tidwall dfcdeb7a51 1.14.0 2018-11-11 15:05:20 -07:00
tidwall e46c945f2c Fix windows build issue 2018-11-05 10:58:01 -07:00
tidwall 81c41a2d3d Force disable cgo 2018-10-29 08:24:35 -07:00
tidwall 6257ddba78 Faster point in polygon / GeoJSON updates
The big change is that the GeoJSON package has been completely
rewritten to fix a few of geometry calculation bugs, increase
performance, and to better follow the GeoJSON spec RFC 7946.

GeoJSON updates

- A LineString now requires at least two points.
- All json members, even foreign, now persist with the object.
- The bbox member persists too but is no longer used for geometry
  calculations. This is change in behavior. Previously Tile38 would
  treat the bbox as the object's physical rectangle.
- Corrections to geometry intersects and within calculations.

Faster spatial queries

- The performance of Point-in-polygon and object intersect operations
  are greatly improved for complex polygons and line strings. It went
  from O(n) to roughly O(log n).
- The same for all collection types with many children, including
  FeatureCollection, GeometryCollection, MultiPoint, MultiLineString,
  and MultiPolygon.

Codebase changes

- The pkg directory has been renamed to internal
- The GeoJSON internal package has been moved to a seperate repo at
  https://github.com/tidwall/geojson. It's now vendored.

Please look out for higher memory usage for datasets using complex
shapes. A complex shape is one that has 64 or more points. For these
shapes it's expected that there will be increase of least 54 bytes per
point.
2018-10-13 04:30:48 -07:00
tidwall fb5c5fb244 1.13.0 2018-08-29 14:20:07 -06:00
Josh Baker d66abaccb0 1.12.3 2018-06-16 11:47:05 -07:00
Josh Baker fa2f9101d6 1.12.3 2018-06-16 11:45:21 -07:00
Josh Baker 57feef2429 Fix auto-push new docker tag 2018-05-10 09:56:15 -07:00
Josh Baker e4af14637f Merge branch 'hotfix-313' 2018-05-10 09:34:06 -07:00
Josh Baker 1c6fcb2a21 1.12.2 2018-05-10 09:29:40 -07:00
Josh Baker e60191caed Use travis vars 2018-04-30 17:54:58 -07:00
Josh Baker 1b38bf1993 Updated docker-push script 2018-04-30 17:37:24 -07:00
Josh Baker 54d6081cfe 1.12.1 2018-04-30 16:27:56 -07:00
Josh Baker 7567b8d63e Docker builds through Travis CI 2018-04-30 08:30:30 -07:00
TobiLG 0ee32ed95c Add --abbrev=0 to fix versioning issue on MacOS builds 2018-04-28 10:37:10 +02:00
TobiLG 1f95fa818f Enable static builds 2018-04-24 15:03:37 +02:00
Tobi 75e0abfe51
CI improvements (#1)
This PR contains:
* Automatic version detection by using git tags
* Fix for the Makefile (double package target)
* Enable Travis CI to build the Docker images and push to Docker Hub
2018-04-24 08:39:29 +02:00
Josh Baker 7e9871bb69 Refactor project layout
Move internal and support packages to pkg directory
2018-04-19 08:43:32 -07:00
Josh Baker bf1d04d7a5 1.12.0 2018-04-12 17:26:09 -07:00
Josh Baker 81e446be60 1.11.1 2018-03-16 09:32:04 -07:00
Josh Baker 19f53a61ba 1.11.0 2018-03-05 11:21:04 -07:00
Josh Baker e1fe83c54c 1.10.1 2018-01-17 21:05:12 -07:00
Josh Baker 3bdcfd10da fix update version pattern 2018-01-15 11:06:15 -07:00
Josh Baker 206f4996e2 1.10.0 2017-12-18 10:10:17 -07:00
Lenny Hartmann d6fe2eec96 Sqs endpoint (#221)
* test

* undo test

* Added aws SQS endpoint

* Added aws vendor

* Bug fixes

* enabled NOCOPY in build.sh
2017-10-05 14:08:03 -07:00
Alex Roitman b55300b729 Lua scripting feature. (#224)
* Start on lua scripting

* Implement evalsha, script load, script exists, and script flush

* Type conversions from lua to resp/json.
Refactor to make luastate and luascripts persistent in the controller.

* Change controller.command and all underlying commands to return resp.Value.
Serialize only during the ouput.

* First stab at tile38 call from lua

* Change tile38 into tile38.call in Lua

* Property return errors from scripts

* Minor refactoring.  No locking on script run

* Cleanup/refactoring

* Create a pool of 5 lua states, allow for more as needed. Refactor.

* Use safe map for scripts.  Add a limit for max number of lua states.  Refactor.

* Refactor

* Refactor script commands into atomic, read-only, and non-atomic classes.
Proper locking for all three classes.
Add tests for scripts

* More tests for scripts

* Properly escape newlines in lua-produced errors

* Better test for readonly failure

* Correctly convert ok/err messages between lua and resp.
Add pcall, sha1hex, error_reply, status_reply functions to tile38 namespace in lua.

* Add pcall test. Change writeErr to work with string argument

* Make sure eval/evalsha never attempt to write AOF

* Add eval-set and eval-get to benchmarks

* Fix eval benchmark tests, add more

* Improve benchmarks

* Optimizations and refactoring.

* Add lua memtest

* Typo

* Add dependency

* golint fixes

* gofmt fixes

* Add scripting commands to the core/commands.json

* Use ARGV for args inside lua
2017-10-05 08:20:40 -07:00
Josh Baker 26d0083faf Update vendoring to use golang/dep
commit a1a37d335a8e89ac89d85c00c8585d3fc02e064a
Author: Josh Baker <joshbaker77@gmail.com>
Date:   Thu Oct 5 07:36:54 2017 -0700

    use symlink instead of copy

commit 96399c2c92620f633611c778e5473200bfd48d41
Author: Josh Baker <joshbaker77@gmail.com>
Date:   Thu Oct 5 07:19:26 2017 -0700

    use dep for vendoring
2017-10-05 07:40:19 -07:00
Josh Baker 9cdbea19c1 1.9.1 2017-08-16 10:02:56 -07:00
Josh Baker 14cc6cedf7 require Go 1.7 2017-07-24 11:20:10 -07:00
Josh Baker 3b6eaa3770 1.9.0 2017-04-13 07:01:14 -07:00
Josh Baker 13235093c5 New tile38-benchmark tool
The tile38-benchmark tool is a new addition to the Tile38 suite alongside
tile38-server and tile38-cli. It's modeled after redis-benchmark with
matching input flags and output formatting.

It tests the common commands PING, GET, SET, and NEARBY. More commands
may be added later.

(mention #54)
2017-03-30 14:14:44 -07:00
Josh Baker 0e692a8196 1.8.0 2017-02-21 11:04:33 -07:00
Josh Baker af0104da0c 1.7.5 2017-01-13 10:25:41 -07:00
Josh Baker 34ae007700 1.7.0 2016-12-29 11:54:35 -07:00
Josh Baker 78a959ce96 1.6.0 2016-12-11 16:27:33 -07:00
Josh Baker a664bade48 added black-box testing 2016-12-02 09:14:34 -07:00
Josh Baker 7590498c4f 1.5.4 2016-11-17 09:22:17 -07:00
Josh Baker 3b209723ef 1.5.3 2016-11-16 12:31:42 -07:00
Josh Baker a38228cba0 fix #70, 1.5.2 2016-10-20 17:47:15 -07:00
Josh Baker b71cd3ef49 1.5.1 2016-10-19 14:06:55 -07:00
Josh Baker c425d76374 Z optimized, fixed #61 2016-10-03 13:03:20 -07:00
Josh Baker 3b99a6276e grpc support 2016-09-11 21:25:09 -07:00