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



Commands and queries request-reply examples.

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

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

  <Card title="Command Timeout" href="/sdks/kotlin/how-to/rpc/command-timeout">
    Configure command execution timeouts
  </Card>

  <Card title="Command Consumer Group" href="/sdks/kotlin/how-to/rpc/command-group">
    Load-balanced command handling across workers
  </Card>

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

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

  <Card title="Cached Query" href="/sdks/kotlin/how-to/rpc/query-cached">
    Query with server-side response caching
  </Card>

  <Card title="Query Consumer Group" href="/sdks/kotlin/how-to/rpc/query-group">
    Load-balanced query handling across workers
  </Card>
</Cards>
