Toggle Menu

Datastax

Examples

Search through our library of code and applications to help you get things done faster with DataStax and Apache Cassandra.

Visit us on Github

Example of the Week

A comparison of Java frameworks

A comparison of Java frameworks

This week’s example contains a microbenchmark that collects the compile time, startup time, memory usage, and load time of simple “Hello World”-like apps in Spring, Quarkus, Micronaut, and Helidon.

Go To GitHub

Our Most Popular Examples

Spring Data Cassandra REST API

This application uses Spring Data Cassandra and DataStax Astra to build a REST API for a backend service that interacts with products and orders.

Next.js/Astra Starter

A sample Next.js, DataStax Astra starter app.

Microservices with Spring, Kubernetes, and Cassandra

This example contains sample inventory microservices to demonstrate how to use Spring, Kubernetes and Cassandra together a single stack.

Filter by

  • Products
  • Language
Clear All

DataStax Python Driver for Apache Cassandra® Quickstart

A basic demo CRUD application using the DataStax Python driver

By: Rebecca Mills

Last updated: May 30, 2019

DataStax C# Driver for Apache Cassandra® Quickstart

A basic demo CRUD application using the DataStax C# driver 

By: Rebecca Mills

Last updated: May 25, 2019

Concurrent Requests in Node.js

Execute multiple concurrent requests asynchronously with Cassandra using the Node.js DataStax Driver

By: Jorge Bay Gondra

Last updated: Apr 23, 2019

Retrieving Cluster Topology in Java

Programmatically retrieve cluster topology in Java

By: Tomasz Lelek

Last updated: Mar 6, 2019

Load data with DataStax Graph Frames

Load vertices and edges via DSE Graph Frames and use Spark collaborative filtering algorithms

By: Paras Mehra

Last updated: Feb 7, 2019

Querying Tuples in Node.js

Write and read tuple types with Cassandra using the Node.js DataStax Driver

By: Andrew Tolbert, Jorge Bay Gondra

Last updated: Nov 19, 2018

Object Mapper in Node.js

Basic example of the Node.js DataStax Driver Object Mapper with Cassandra

By: Andrew Tolbert, Jorge Bay Gondra

Last updated: Nov 18, 2018

Introduction to DataStax Graph Frames

Basic usage of DataStax Enterprise Graph Frames

By: Artem Aliev

Last updated: Sep 17, 2018

GraphQL Cassandra Application

Application demonstrating using Cassandra, GraphQL, and a modern JavaScript frontend

By: Sebastian Estevez

Last updated: Apr 23, 2018