Bot releases are visible (Hide)
Published by junr03 about 6 years ago
This release brings in the following changes:
Published by junr03 over 6 years ago
Relevant documentation in the README.
Published by junr03 over 6 years ago
Ratelimit can be compiled as a full fledged gRPC service directly from this repo with make compile
; the make target will also compile the necessary protos. However, if users want to import ratelimit as a go dependency and build on top of it, glide will complain with:
[ERROR] Error scanning github.com/lyft/ratelimit/proto/envoy/api/v2/ratelimit: open /Users/josenino/.glide/cache/src/https-github.com-lyft-ratelimit/proto/envoy/api/v2/ratelimit: no such file or directory
...
[ERROR] Error scanning github.com/lyft/ratelimit/proto/envoy/service/ratelimit/v2: open /Users/josenino/.glide/cache/src/https-github.com-lyft-ratelimit/proto/envoy/service/ratelimit/v2: no such file or directory
This release includes the compiled protos in order to allow users to import ratelimit as a library without any dependency issues.
Published by junr03 over 6 years ago
Fixes #14
In order to not break any clients using the legacy ratelimit.proto, Ratelimit is going to support both handlers: the one for the data-plane-api service definition (rls) and the legacy service definition (ratelimit.proto).
The legacy handler will accept a request, translate it into a data-plane-api proto request and use the rest of the codebase as if the new handler had been called. This will incur a perf penalty for clients using the legacy proto.