Skip to content

Conversation

@niuqingpeng
Copy link

Extend norbert netty server and client with SSL support for cloud service.

abhinigam and others added 30 commits May 1, 2014 12:23
Added the ability to set a timeout in the RequestRunner subclass of Message ExecutorComponent
Whitespace change and increment version
Fixing selective retry bug
Fixing null/None issue in selective retry, now passes tests
Added more granular logging per request to show how much of the request
Finished request latency granularity logging
remove old version of scala from being built
The basic strategy here is to insert a downstream channel handler before the default channel handler. This
new handler will inspect the request to see if it is going to a mirrored host. If it is, it copies the request
with, modifies the target host, stores the request id, and then sends the new request to the io client.

We also install an upstream handler. This handler gets responses beofre the default channel handler. The new
handler checks to see if a response is for a mirrored request. If it is, it stops propagation of the response,
hence ensuring that the dark responses can never reach the production client.
  1) Made zookeeper drive the configuration of mirrored hosts. We can now disable dark canaries completely
     by marking dark canary hosts unavailable in Zookeeper.
  2) The zookeeper service name that the dark canary handler connects to is part of the NetworkClientConfiguration
     and can be populated by existing means (through spring, etc.)
  3) Made the DarkCanaryChannelHandlers no-ops if no Zookeeper serviceName is configured.
…ject. This way we have one handler, and

hence one ZooKeeperClusterClient per PartitionedNetworkClient.

The previous setup would not have worked if we had multiple PartionedNetworkClient objects in a single process:
they would all have shared the same zookeeper client, and only one of them would have got the correct dark
canary configurations.
…ed to change it and the changes were

breaking some tests.
SungJu Cho and others added 30 commits February 6, 2017 17:15
Adding the stats for the number of bytes sent and received from client.
Changing metrics to return KB instead of Bytes.
Fixing the rece condition in grabbing mirrored host info
Extract writeRequested call from catch statement
Fixing server thread pool JMX stats
[norbert] Extend norbert netty server and client with SSL support for cloud service.
Enabled publications to bintray
Module name without minor version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.