# RPC Examples (/sdks/cpp/how-to/rpc)



Request-reply examples covering commands (execute actions) and queries (fetch data).

<Cards>
  <Card title="Send Command" href="/sdks/cpp/tutorials/command-send">
    Send a command and receive execution confirmation
  </Card>

  <Card title="Handle Command" href="/sdks/cpp/how-to/rpc/command-handle">
    Subscribe to and handle incoming commands
  </Card>

  <Card title="Command Timeout" href="/sdks/cpp/how-to/rpc/command-timeout">
    Handle command timeout scenarios
  </Card>

  <Card title="Command Group" href="/sdks/cpp/how-to/rpc/command-group">
    Load-balanced command handling with consumer groups
  </Card>

  <Card title="Send Query" href="/sdks/cpp/tutorials/query-send">
    Send a query and receive response data
  </Card>

  <Card title="Handle Query" href="/sdks/cpp/how-to/rpc/query-handle">
    Subscribe to and handle incoming queries
  </Card>

  <Card title="Cached Query" href="/sdks/cpp/how-to/rpc/query-cached">
    Query caching with CacheKey and CacheTTL
  </Card>

  <Card title="Query Group" href="/sdks/cpp/how-to/rpc/query-group">
    Load-balanced query handling with consumer groups
  </Card>
</Cards>
