Releases: gptankit/serviceq
Releases · gptankit/serviceq
Upfront Queue support
The release contains -
- Upfront queueing to allow selected requests to be published and processed from a queue
- Setting to enable/disable upfront queue (ENABLE_UPFRONT_Q)
- Applicability of deferred request formats to upfront queue as well
- Key name change from DEFERRED_Q_REQUEST_FORMATS to Q_REQUEST_FORMATS
Head over here to read more - https://github.com/gptankit/serviceq/wiki
Automatic HTTPS support
The release contains -
- Automatic HTTPS support via let's encrypt
- Configurable Auto SSL properties - dir, email, domain, renew_before
- General error logging for read_from/write_to client connection
- Makefile fix for bin path in reload directive
Head over here to read more - https://github.com/gptankit/serviceq/wiki
Performance fixes
Fixes/changes -
- Modified dialAndSend() and checkErrorAndRespond() to return parsed response object instead of *http.Response
- Moved *http.Client instantiation to init() and made set-timeout threadsafe using sync.Once
- Added MaxIdleConns and IdleConnTimeout setting to *http.Client
- Changed default timeout for outgoing requests to 5s in sq.properties
- Fixed serviceq_error.log file path to point to /usr/local/serviceq/logs folder
- Modified timeout configs to accept secs (s) instead of millisecs (ms)
- Incremented ServiceQ server version to 0.4
Go doc comments
The release contains -
- Go doc comments. Comments can be viewed at https://pkg.go.dev/github.com/gptankit/serviceq@v1.0.1?tab=subdirectories
Support Go Modules
The release contains -
- Support Go Modules (thus removed dependancy on GOPATH)
- Updated build instructions in README.md - https://github.com/gptankit/serviceq/blob/master/README.md
Effective error calculations
Fixes/changes -
- Effective error calculations for correcting routing probabilities
- Install path changed from /opt to /usr/local - common for linux and mac
Head over here to read more - https://github.com/gptankit/serviceq/wiki
Clean and Extensible TLS management
Fixes/changes -
- TLS management moved to a separate file (listener.go)
- Functional options to upgrade inner listener to tls listener
Head over here to read more - https://github.com/gptankit/serviceq/wiki
Bug fix: findCeilIn
Fixes/changes -
- Finding ceil using binary search.
Head over here to read more - https://github.com/gptankit/serviceq/wiki
Using reverse error weightage
Fixes/changes -
- Existing routing algo was doing undesirable node selections in case more than half nodes were down. The release introduces weight calculation for all nodes to fix this.
Head over here to read more - https://github.com/gptankit/serviceq/wiki
SSL and ALPN support
Major Features -
- Communicate over HTTPS - Set key SSL_ENABLE=true and update certs
- KeepAlive Timeout - Persist TCP connection for a defined period (default 120ms)
- ALPN negotiation
Minor fixes/changes -
- Fix for wrong request uri framing - Certain urls were being parsed wrongly to req.RequestURI. Using Path and RawQuery instead.
- Server KeepAlive option pre-calculated and reused across requests
- ServiceQ version managed internally - Mention 'Server' in key CUSTOM_RESPONSE_HEADERS
Head over here to read more - https://github.com/gptankit/serviceq/wiki