Skip to content
Discussion options

You must be logged in to vote

(1) Calls are concurrent, and (2) for HTTP transports, this means multiple concurrent HTTP requests. By default, we use http.DefaultClient, but you can configure this with client options for the HTTP transports.

Regarding scalability, I strongly recommend testing for your use case. You may find https://github.com/modelcontextprotocol/go-sdk/tree/31e97ad69edad679c726449c4584353502965cf5/examples/client/loadtest to be a good starting point (though looking at that, each worker has a distinct client session; perhaps we should update it to also make concurrent requests on a single session).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by findleyr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants