Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

7/8/2022

Reading time:2 min

Apache Cassandra Lunch #87: Cassandra.api, Astra, and Stargate - Business Platform Team

by Obioma Anomnachi

In Apache Cassandra Lunch #87: Cassandra.api, Astra, and Stargate, we discussed using AstraDBs included Stargate API layer to substitute for the written Node and Python APIs in our Cassandra.api project. The live recording of Cassandra Lunch, which includes a more in-depth discussion and a demo, is embedded below in case you were not able to attend live. If you would like to attend Apache Cassandra Lunch live, it is hosted every Wednesday at 12 PM EST. Register here now!Datastax AstraAstra is a cloud native Database as a Service offered by Datastax. Its core is a version of Apache Cassandra, surrounded by supporting technologies and managed by Datastax. Astra offers a potentially cheaper option to users of Cassandra, while also relieving users of the burden of operating their own instances. Astra was used as the backend database for the original Cassandra.Api project alongside REST apis written in Python and Node.StargateStargate is an API gateway that sits between applications and Cassandra Databases. It is compatible with Astra,Cassandra 3.x,Cassandra 4.0, and DSE 6.8. Stargate creates a number of different APIs for representing and accessing Cassandra data. These include the Rest API (JSON w/ schema dependent endpoints), the Document API (Schemaless json), and the GraphQL API. Stargate works by creating coordinator nodes as part of a Cassandra cluster.Coordinator nodes don’t store data, but they can communicate with other Cassandra nodes that do. Then Stargate uses this functionality in order to furnish requests without having to store any data from the Cassandra cluster.Stargate InternalsStargate splits into three sections: API Extensions – Defines APIs and converts requests to and from database queries. It handles communication with clients and databases.Persistence Extensions – Communicates with the underlying database. Separate ones for different Cassandra versions. It uses Cassandra Java classes and interacts with internal Cassandra objects.Authentication Extensions – This section controls access to stargate Cassandra.LinkCassandra.Link is a knowledge base that we created for all things Apache Cassandra. Our goal with Cassandra.Link was to not only fill the gap of Planet Cassandra but to bring the Cassandra community together. Feel free to reach out if you wish to collaborate with us on this project in any capacity.We are a technology company that specializes in building business platforms. If you have any questions about the tools discussed in this post or about any of our services, feel free to send us an email!Posted in Data & Analytics, Events | Comments Off on Apache Cassandra Lunch #87: Cassandra.api, Astra, and Stargate

Illustration Image

In Apache Cassandra Lunch #87: Cassandra.api, Astra, and Stargate, we discussed using AstraDBs included Stargate API layer to substitute for the written Node and Python APIs in our Cassandra.api project. The live recording of Cassandra Lunch, which includes a more in-depth discussion and a demo, is embedded below in case you were not able to attend live. If you would like to attend Apache Cassandra Lunch live, it is hosted every Wednesday at 12 PM EST. Register here now!

Datastax Astra

Astra is a cloud native Database as a Service offered by Datastax. Its core is a version of Apache Cassandra, surrounded by supporting technologies and managed by Datastax. Astra offers a potentially cheaper option to users of Cassandra, while also relieving users of the burden of operating their own instances. Astra was used as the backend database for the original Cassandra.Api project alongside REST apis written in Python and Node.

Stargate

Stargate is an API gateway that sits between applications and Cassandra Databases. It is compatible with Astra,Cassandra 3.x,Cassandra 4.0, and DSE 6.8. Stargate creates a number of different APIs for representing and accessing Cassandra data. These include the Rest API (JSON w/ schema dependent endpoints), the Document API (Schemaless json), and the GraphQL API. Stargate works by creating coordinator nodes as part of a Cassandra cluster.

Coordinator nodes don’t store data, but they can communicate with other Cassandra nodes that do. Then Stargate uses this functionality in order to furnish requests without having to store any data from the Cassandra cluster.

Stargate Internals

Stargate splits into three sections: API Extensions – Defines APIs and converts requests to and from database queries. It handles communication with clients and databases.

Persistence Extensions – Communicates with the underlying database. Separate ones for different Cassandra versions. It uses Cassandra Java classes and interacts with internal Cassandra objects.

Authentication Extensions – This section controls access to stargate

Cassandra.Link

Cassandra.Link is a knowledge base that we created for all things Apache Cassandra. Our goal with Cassandra.Link was to not only fill the gap of Planet Cassandra but to bring the Cassandra community together. Feel free to reach out if you wish to collaborate with us on this project in any capacity.

We are a technology company that specializes in building business platforms. If you have any questions about the tools discussed in this post or about any of our services, feel free to send us an email!

Related Articles

mongo
rest
cassandra

GitHub - stargate/stargate: An open source data gateway

John Doe

3/7/2024

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

stargate