Ready to talk about your DBaaS needs? Meet with us. Win a Tesla.* .
Accessing Cassandra with the Stargate gRPC APIs
gRPC is an HTTP/2 capable RPC (remote procedure call) API that uses binary protobuf payloads to improve data serialization performance. Common operational tasks (retries, load balancing, etc.) are handled automatically. Otherwise difficult capabilities like request/response multiplexing, streaming - and conveniences like HTTP header compression - are all just built-in. Great for high performance distributed systems and microservices.
What Is gRPC?
is a modern, open source remote procedure call (RPC) framework that can run anywhere. It enables client and server applications to communicate transparently, making it easier to build connected systems. It’s commonly used for:
- Low latency, highly scalable, distributed systems.
- Developing mobile clients which are communicating to a cloud server.
- Designing a new protocol that needs to be accurate, efficient and language independent.
- Layered design to enable extension - eg. authentication, load balancing, logging, and monitoring.
Why gRPC For Cassandra?
In general, you can expect native driver-level performance over HTTP(S)/2. gRPC handles a lot of networking and operational tasks automatically, so it’s easier to learn over DB-specific drivers. Stargate’s gRPC SDKs give Java, GoLang or Rust developers a supported connection option. For other languages without a supported driver, gRPC gives an option to create a client library.
How To Get The Stargate gRPC API
is an open-source data gateway, and is automatically available in DataStax Astra. If you have an Astra database, the Stargate gRPC API is already enabled. If you have access to your own self-hosted Cassandra cluster, see the Stargate documentation for instructions on how to . Stargate is also distributed with users and .
Items related to gRPC
Everything you need to get up to speed on all things Stargate.
Stargate Discord Server
Join our discord room to chat with the contributors and meet the community.
Learn about how you can get involved in the Stargate project.