Skip to content

Design: concurrency model #26

@findleyr

Description

@findleyr

Right now, requests to a single MCP session are serialized by our jsonrpc2 framework, allowing the server to observe requests in logical order.

For gopls, we support a jsonrpc2.Async(ctx) method, similar to t.Parallel(), which allows the request to be handled asynchronously to other requests.

Perhaps this is irrelevant in the context of stateless servers, which will automatically handle requests asynchronously on a separate handler. But it needs to be considered.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions