janestreet / janestreet/async_extra

Better interface for Rpc.Connection.{client,with_client}

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
forwarded-to-js-devs
Dominant language
OCaml
Stars
16
Forks
7
PR merge metrics
No merged PRs in 30d

Description

It should accept an `'addr where_to_connect` instead of forcing the use of a TCP connection. Locally, an unix connection instead of a TCP one would be more efficient.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Rpc.Connection.client and Rpc.Connection.with_client entry points and inspecting their current TCP-only interfaces. Trace how the connection type is used locally, then define the scope of accepting an 'addr where_to_connect value; done means both interfaces support non-TCP connections such as Unix connections without breaking existing callers.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
backend-api-design, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.