Skip to content

feat: add deployment example, workflow example, and MCP benchmarks#2877

Merged
asim merged 1 commit intomasterfrom
claude/dx-iteration-2-fZd2J
Mar 4, 2026
Merged

feat: add deployment example, workflow example, and MCP benchmarks#2877
asim merged 1 commit intomasterfrom
claude/dx-iteration-2-fZd2J

Conversation

@asim
Copy link
Member

@asim asim commented Mar 4, 2026

Docker Compose deployment example (examples/deployment/):

  • docker-compose.yml with Consul, MCP gateway, Jaeger tracing
  • Dockerfile and Dockerfile.gateway for multi-stage builds
  • README with architecture diagram and customization guide

Cross-service workflow example (examples/mcp/workflow/):

  • Inventory, Orders, Notifications services
  • Shows agents orchestrating multi-step workflows from natural language
  • Stock check → reserve → order → notify in a single agent conversation

MCP gateway benchmark suite (gateway/mcp/benchmark_test.go):

  • ListTools: ~20μs (10 tools), ~48μs (100 tools)
  • Tool lookup: ~19ns (zero-alloc, scales to 500+ tools)
  • Auth inspect: ~7ns, scope check: ~16ns
  • Rate limiter: ~111ns per check
  • JSON encode/decode: ~1.5-2μs per tool

Updated examples README with new examples index.

https://claude.ai/code/session_01GkduEhcrqcG45rdfYh8dAc

Docker Compose deployment example (examples/deployment/):
- docker-compose.yml with Consul, MCP gateway, Jaeger tracing
- Dockerfile and Dockerfile.gateway for multi-stage builds
- README with architecture diagram and customization guide

Cross-service workflow example (examples/mcp/workflow/):
- Inventory, Orders, Notifications services
- Shows agents orchestrating multi-step workflows from natural language
- Stock check → reserve → order → notify in a single agent conversation

MCP gateway benchmark suite (gateway/mcp/benchmark_test.go):
- ListTools: ~20μs (10 tools), ~48μs (100 tools)
- Tool lookup: ~19ns (zero-alloc, scales to 500+ tools)
- Auth inspect: ~7ns, scope check: ~16ns
- Rate limiter: ~111ns per check
- JSON encode/decode: ~1.5-2μs per tool

Updated examples README with new examples index.

https://claude.ai/code/session_01GkduEhcrqcG45rdfYh8dAc
@asim asim merged commit c800dd3 into master Mar 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants