hashserv: Pipeline Upstream Queries
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest11 patches 0 repliesNew
- v210 patches 4 repliesSuperseded
- v16 patches 1 replySuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | asyncrpc: Add Task Grouplib/ lib/ | +53 | 0 replies | |
| 2/11 | asyncrpc: serv: Use Task Grouplib/ | +1 | 0 replies | |
| 3/11 | asyncrpc: serv: Cancel all clients on server stoplib/ | +9 | 0 replies | |
| 4/11 | hashserv: tests: Improve test logginglib/ | +3 | 0 replies | |
| 5/11 | hashserv: client: Add asynchronous streaming APIbin/ lib/ lib/ | +275 | 0 replies | |
| 6/11 | hashserv: server: Add queued streaming APIlib/ | +75 | 0 replies | |
| 7/11 | hashserv: server: Use streaming and queue API for upstream unihash querieslib/ | +38 | 0 replies | |
| 8/11 | hashserv: server: Use streaming and queue API for upstream exist querieslib/ lib/ | +31 | 0 replies | |
| 9/11 | hashserv: tests: Add more upstream testslib/ | +141 | 0 replies | |
| 10/11 | hashserv: tests: Add test for upstream pipelininglib/ | +96 | 0 replies | |
| 11/11 | hashserv: server: Fix upstream get-unihash miss truncating streamlib/ lib/ | +55 | 0 replies |
Reviews trailers per patch
None of the 11 patches has a Reviewed-by or Acked-by.
| Patch | Michal Sieron |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | Co-authored-by |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [bitbake-devel][PATCH v3 00/11] hashserv: Pipeline Upstream Queries
Adds a true asynchronous streaming API to the hash equivalence clients, then uses that streaming API to pipeline requests to an upstream server. This means that when a server wants to defer a request to an upstream, it no longer has to wait for a complete round-trip API call. Instead, it can use the faster streaming API to send the requests, and continue processing other requests while a response inbound.
V2: Fixes several bugs related to when the connection between the client and upstream server was disconnected, and added tests for them.
V3: Fixes an unexpected disconnect when there was a unihash miss from the upstream server while streaming
Joshua Watt (10):
asyncrpc: Add Task Group
asyncrpc: serv: Use Task Group
asyncrpc: serv: Cancel all clients on server stop
hashserv: tests: Improve test logging
hashserv: client: Add asynchronous streaming API
hashserv: server: Add queued streaming API
hashserv: server: Use streaming and queue API for upstream unihash
queries
hashserv: server: Use streaming and queue API for upstream exist
queries
hashserv: tests: Add more upstream tests
hashserv: tests: Add test for upstream pipelining
Michal Sieron (1):
hashserv: server: Fix upstream get-unihash miss truncating stream
bin/bitbake-hashclient | 2 +- lib/bb/asyncrpc/__init__.py | 1 + lib/bb/asyncrpc/serv.py | 13 +- lib/bb/asyncrpc/taskgroup.py | 52 ++++++ lib/hashserv/client.py | 349 +++++++++++++++++++++++++++-------- lib/hashserv/server.py | 197 ++++++++++++++++---- lib/hashserv/tests.py | 298 ++++++++++++++++++++++++++++-- 7 files changed, 776 insertions(+), 136 deletions(-) create mode 100644 lib/bb/asyncrpc/taskgroup.py
Signature · 1 line
2.55.0