Ready to talk about your DBaaS needs? Meet with us. Win a Tesla.* .

Toggle Menu

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?

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.

Why gRPC For Cassandra?
How To Get The Stargate gRPC API

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 .


More Resources

Items related to gRPC

Stargate.io

Stargate.io

Everything you need to get up to speed on all things Stargate.

Stargate Discord Server

Stargate Discord Server

Join our discord room to chat with the contributors and meet the community.

Community

Community

Learn about how you can get involved in the Stargate project.

Request an Astra DB demo and see how it can make Cassandra easier!


Facebook logo
Facebook logo
Facebook logo
Facebook logo
Facebook logo
Facebook logo

DataStax, is a registered trademark of DataStax, Inc.. Apache, Apache Cassandra, Cassandra, Apache Pulsar, and Pulsar are either registered trademarks or trademarks of the Apache Software Foundation.