Skip to content

2.0.0

Compare
Choose a tag to compare
@brianreavis brianreavis released this 11 Oct 07:29
· 60 commits to master since this release
  • TileStrata Balancer integration.
    • Smart about metatiles
    • Elastic (nodes enter and leave the pool dynamically)
    • Hash-ring per layer (layers can be spread non-homogeneously about the cluster)
  • Drastically improved readability / styling of profiling dashboard at /profile.
  • Changed construction style from tilestrata.createServer() to tilestrata(opts). If you have custom health check behavior defined, it will need to be updated (read more). The createServer() method still works but is deprecated.
  • Added close() method.
  • Added uptime() method.
  • The listen() method now returns the underlying http.Server instance. Note: To close the port, use close() on the TileStrata instance instead of the http.Server instance.
  • Plugin Changes:
    • Added "name" support (appears on the profiling dashboard)
    • Added "destroy" lifecycle hook. Behaves just like "init", but is called when the server is shutting down (i.e. when the close() method is called).
  • Removed built-in support of ETags. This should now be accomplished by tilestrata-etag, which is more configurable and less-dumb when working with large buffers.
  • Improved logging