Commit 7da75a0
[Feat] Client LB using gRPC specs (#438)
* chore: release new version
* initial client lb implementation
* chore: added tests and better interfaces
* Update lib/grpc/client/resolver.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* chore: add lb
* chore: adjustments in behaviors & create Conn module
* chore: simplifying the test
* chore: adjust in tests
* feat: make lb work
* refact: remove deprecated feature
* fix: return all the arities of the connect function
* chore: added deprecated
* update benchmark
* interop tests
* fix: parallel execution
* fix: correct stop
* chore: correct refresh logic
* chore: added some documentation
* Update lib/grpc/client/load_balacing/round_robin.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* Update lib/grpc/client/load_balacing/round_robin.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* accept string
* use string
* Update lib/grpc/client/resolver/ipv4.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* Update lib/grpc/client/resolver/ipv6.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* refactor: more readable code
* fix: correct code and fix tests
* Update lib/grpc/client/conn.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* Update lib/grpc/client/conn.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* refactor: rename and minor adjustments
* ref: rename Conn to Connection
* ref: Adjusts in function declaration order
* Update lib/grpc/client/connection.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* Update lib/grpc/client/connection.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* Update lib/grpc/client/connection.ex
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>
* fix: translate to english
* accept indeterminism
* fix: pid is always pid
* fix: correct references
* remove warning
* feat: added client supervisor
* fix: charlist errors
* chore: add stream operators documentation
* feat: added load balancing documentation
* chore: added comment about endpoint refresh
* Apply suggestion from @polvalente
* docs: clean up docs
* chore: format
---------
Co-authored-by: Adriano Santos <adriano.santos@v3.com.br>
Co-authored-by: Paulo Valente <16843419+polvalente@users.noreply.github.com>1 parent 0441ea8 commit 7da75a0
File tree
46 files changed
+1720
-312
lines changed- benchmark
- lib/grpc
- core
- testing
- config
- examples/route_guide
- lib
- interop
- lib/interop
- script
- lib/grpc
- client
- load_balacing
- resolver
- dns
- server
- test
- grpc
- client
- adapters
- resolver
- integration
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+1720
-312
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| |||
78 | 87 | | |
79 | 88 | | |
80 | 89 | | |
| 90 | + | |
| 91 | + | |
81 | 92 | | |
82 | 93 | | |
83 | 94 | | |
| |||
133 | 144 | | |
134 | 145 | | |
135 | 146 | | |
136 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
137 | 151 | | |
138 | 152 | | |
139 | 153 | | |
| |||
166 | 180 | | |
167 | 181 | | |
168 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
169 | 189 | | |
170 | 190 | | |
171 | 191 | | |
172 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
173 | 213 | | |
174 | | - | |
175 | | - | |
176 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
177 | 254 | | |
178 | 255 | | |
179 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
180 | 259 | | |
181 | | - | |
| 260 | + | |
| 261 | + | |
182 | 262 | | |
183 | | - | |
| 263 | + | |
184 | 264 | | |
185 | 265 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
190 | 269 | | |
191 | 270 | | |
192 | | - | |
| 271 | + | |
193 | 272 | | |
194 | 273 | | |
195 | | - | |
196 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
197 | 278 | | |
198 | 279 | | |
199 | | - | |
| 280 | + | |
200 | 281 | | |
| 282 | + | |
201 | 283 | | |
202 | 284 | | |
203 | 285 | | |
| |||
264 | 346 | | |
265 | 347 | | |
266 | 348 | | |
267 | | - | |
| 349 | + | |
268 | 350 | | |
269 | 351 | | |
270 | 352 | | |
| |||
300 | 382 | | |
301 | 383 | | |
302 | 384 | | |
303 | | - | |
| 385 | + | |
304 | 386 | | |
305 | | - | |
| 387 | + | |
306 | 388 | | |
307 | 389 | | |
308 | 390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments