Skip to content

Server and Client event publishing #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 5, 2017

Conversation

NiteshKant
Copy link
Contributor

@NiteshKant NiteshKant commented Jan 4, 2017

Problem

No events are published for ReactiveSocketClient and ReactiveSocketServer

Modification

Added event publishing for ReactiveSocketClient and ReactiveSocketServer

Result

Events for clients and servers.

PS: This does not yet add events for LoadBalancer. I will send a separate PR for that.

__Problem__

No events are published for `ReactiveSocketClient`

__ Modification__

Added event publishing for `ReactiveSocketClient`.

__Result__

Events for clients.
__Problem__

No events are published for `ReactiveSocketServer`

__ Modification__

Added event publishing for `ReactiveSocketServer`.

__Result__

Events for servers.
@NiteshKant NiteshKant changed the title Client event publishing Server and Client event publishing Jan 5, 2017
@NiteshKant
Copy link
Contributor Author

FYI: Since the change was small for the server, I added that to this PR too.

Copy link
Member

@stevegury stevegury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, and we should merge this.

But I would also like to experiment with the tracing pattern which is less dynamic than your approach but more lightweight, this would allow us to instrument even performance critical piece of code and only pay the price of this when we listen to those specific events.
I plan to do the experiment when I'll have more time.

@@ -0,0 +1,29 @@
/*
* Copyright 2016 Netflix, Inc.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2017 ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy new year :)

Looks like a copy-paste otherwise my template has year parameterized.

@NiteshKant NiteshKant merged commit 105f6c7 into rsocket:0.5.x-events Jan 5, 2017
@NiteshKant
Copy link
Contributor Author

But I would also like to experiment with the tracing pattern which is less dynamic than your approach but more lightweight, this would allow us to instrument even performance critical piece of code and only pay the price of this when we listen to those specific events.

@stevegury yeah I would be interested in seeing this done differently!

@NiteshKant NiteshKant deleted the 0.5.x-events-2 branch January 5, 2017 22:03
NiteshKant added a commit that referenced this pull request Jan 9, 2017
Client and Server event publishing

__Problem__

No events are published for `ReactiveSocketClient` and `ReactiveSocketServer`

__ Modification__

Added event publishing for `ReactiveSocketClient` and `ReactiveSocketServer`

__Result__

Events for clients and server.
ilayaperumalg pushed a commit to ilayaperumalg/rsocket-java that referenced this pull request Dec 26, 2017
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.

2 participants