[bitbake-devel][PATCH 0/6] hashserv: Pipeline Upstream Queries

Joshua Watt <[email protected]> Fri, 24 Jul 2026 15:25:08 -0600
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
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.

Joshua Watt (6):
  hashserv: client: Add asynchronous streaming API
  hashserv: server: Fix formatting
  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 test for upstream pipelining

 bin/bitbake-hashclient |   2 +-
 lib/hashserv/client.py | 306 ++++++++++++++++++++++++++++++++---------
 lib/hashserv/server.py | 191 +++++++++++++++++++------
 lib/hashserv/tests.py  | 105 +++++++++++++-
 4 files changed, 492 insertions(+), 112 deletions(-)

-- 
2.54.0