Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cargo/config.toml.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[patch.crates-io]
muxio-rpc-service-caller = { path = "../rust-muxio/extensions/muxio-rpc-service-caller" }
muxio-tokio-rpc-client = { path = "../rust-muxio/extensions/muxio-tokio-rpc-client" }
muxio-tokio-rpc-server = { path = "../rust-muxio/extensions/muxio-tokio-rpc-server" }
muxio-rpc-service = { path = "../rust-muxio/extensions/muxio-rpc-service" }
20 changes: 8 additions & 12 deletions experiments/bindings/python-ws-client/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def client():
f"Failed to connect to the WebSocket server at {SERVER_ADDR}. Is it running? Error: {e}"
)


# FIXME: On older hardware this call can block indefinitely due to resource
# contention. Instrument both client and server to pinpoint where the
# stall originates.
def test_concurrent_read_write_stress(client):
"""
Stress test with multiple threads performing concurrent reads and writes.
Expand Down Expand Up @@ -107,6 +109,9 @@ def worker(thread_id):
with lock:
items_to_verify = list(written_data.items())

# FIXME: On older hardware this call can block indefinitely due to resource
# contention. Instrument both client and server to pinpoint where the
# stall originates.
for key, expected_value in items_to_verify:
read_value = client.read(key)
assert (
Expand Down
2 changes: 1 addition & 1 deletion experiments/bindings/python-ws-client/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading