-
Notifications
You must be signed in to change notification settings - Fork 229
[Feat] Client LB using gRPC specs #438
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
Open
sleipnir
wants to merge
53
commits into
elixir-grpc:master
Choose a base branch
from
sleipnir:feat/grpc-lb
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,544
−274
Open
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
781a7cc
chore: release new version
ce286dc
Merge remote-tracking branch 'upstream/master'
dae7deb
merge
9fe3c55
Merge remote-tracking branch 'upstream/master'
2a76e93
Merge remote-tracking branch 'upstream/master'
3af0153
Merge remote-tracking branch 'upstream/master'
sleipnir 4feee64
Merge remote-tracking branch 'upstream/master'
sleipnir c83632e
initial client lb implementation
sleipnir c050706
chore: added tests and better interfaces
sleipnir 5587cda
Update lib/grpc/client/resolver.ex
sleipnir 0da6da4
chore: add lb
sleipnir 815121a
Merge branch 'feat/grpc-lb' of https://github.com/sleipnir/grpc into …
sleipnir e3e0f24
chore: adjustments in behaviors & create Conn module
sleipnir 9192dab
chore: simplifying the test
sleipnir 1c3887c
chore: adjust in tests
sleipnir 0d09fb6
feat: make lb work
sleipnir 6761963
refact: remove deprecated feature
sleipnir 4d64962
fix: return all the arities of the connect function
sleipnir 6d8f667
chore: added deprecated
sleipnir 1de3d4d
update benchmark
sleipnir 10728ae
interop tests
sleipnir c6f5d2e
fix: parallel execution
sleipnir c0b6e94
fix: correct stop
sleipnir 16a55db
chore: correct refresh logic
sleipnir 5f385ec
chore: added some documentation
sleipnir c89da0f
Update lib/grpc/client/load_balacing/round_robin.ex
sleipnir 88882c4
Update lib/grpc/client/load_balacing/round_robin.ex
sleipnir e4eee2d
accept string
sleipnir 0594fa6
Merge branch 'feat/grpc-lb' of https://github.com/sleipnir/grpc into …
sleipnir 148dcfa
use string
sleipnir 3f81a71
Update lib/grpc/client/resolver/ipv4.ex
sleipnir 12cf52f
Update lib/grpc/client/resolver/ipv6.ex
sleipnir b300c88
refactor: more readable code
sleipnir 1b6427e
fix: correct code and fix tests
sleipnir f989823
Update lib/grpc/client/conn.ex
sleipnir 18f316e
Update lib/grpc/client/conn.ex
sleipnir 9c0d685
refactor: rename and minor adjustments
sleipnir 7d36b3b
Merge branch 'feat/grpc-lb' of https://github.com/sleipnir/grpc into …
sleipnir a83930e
ref: rename Conn to Connection
sleipnir 9f87397
ref: Adjusts in function declaration order
sleipnir c2f9860
Update lib/grpc/client/connection.ex
sleipnir 9006f06
Update lib/grpc/client/connection.ex
sleipnir 3c5de96
Update lib/grpc/client/connection.ex
sleipnir 46fad67
fix: translate to english
sleipnir 46c80c5
Merge branch 'feat/grpc-lb' of https://github.com/sleipnir/grpc into …
sleipnir e4f85b6
accept indeterminism
sleipnir 96ba172
fix: pid is always pid
sleipnir a73d9ee
fix: correct references
sleipnir fefb49a
remove warning
sleipnir baa98e8
feat: added client supervisor
sleipnir 42c9e9e
Merge branch 'master' into feat/grpc-lb
sleipnir b43b3bd
fix: charlist errors
sleipnir 2a505b7
Merge branch 'feat/grpc-lb' of https://github.com/sleipnir/grpc into …
sleipnir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
defmodule Grpc.Testing.BenchmarkService.Service do | ||
@moduledoc false | ||
|
||
use GRPC.Service, name: "grpc.testing.BenchmarkService", protoc_gen_elixir_version: "0.14.0" | ||
|
||
rpc :UnaryCall, Grpc.Testing.SimpleRequest, Grpc.Testing.SimpleResponse | ||
|
||
rpc :StreamingCall, stream(Grpc.Testing.SimpleRequest), stream(Grpc.Testing.SimpleResponse) | ||
|
||
rpc :StreamingFromClient, stream(Grpc.Testing.SimpleRequest), Grpc.Testing.SimpleResponse | ||
|
||
rpc :StreamingFromServer, Grpc.Testing.SimpleRequest, stream(Grpc.Testing.SimpleResponse) | ||
|
||
rpc :StreamingBothWays, stream(Grpc.Testing.SimpleRequest), stream(Grpc.Testing.SimpleResponse) | ||
end | ||
|
||
defmodule Grpc.Testing.BenchmarkService.Stub do | ||
@moduledoc false | ||
|
||
use GRPC.Stub, service: Grpc.Testing.BenchmarkService.Service | ||
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these changes intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this was already like this, I don't know when or why these files were originally created.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean the downgrade in the version. It seems that when you re-generated you used 14.0 instead of 14.1