1658453413
Apache Cassandra is an open source NoSQL distributed database. This beginner's Cassandra course has four modules. The first three modules will cover the basics Apache Cassandra data modeling. The final module covers practical applications of Cassandra.
⭐️ Course Contents ⭐️
⌨️ (00:30) Module 1: Cassandra Intro and Background
⌨️ (21:53) Module 2: Collections, User Defined Types, and Counters
⌨️ (31:29) Module 3: Data Modeling
⌨️ (1:04:22) Module 4: Practical Applications
Get Started with Astra DB, built on Apache Cassandra: https://astra.datastax.com/register/ac250/vi-10
#apache #cassandra #database
1653973506
CDRS is production-ready Apache Cassandra driver written in pure Rust. Focuses on providing high level of configurability to suit most use cases at any scale, as its Java counterpart, while also leveraging the safety and performance of Rust.
Due to high configurability of CDRS, the performance will vary depending on use case. The following benchmarks have been made against the latest (master as of 03-12-2012) versions of respective libraries (except cassandra-cpp: 2.16.0).
cdrs-tokio-large-pool
- CDRS with node connection pool equal to double of physical CPU corescdrs-tokio-small-pool
- CDRS with a single connection per nodescylladb-rust-large-pool
- scylla
crate with node connection pool equal to double of physical CPU coresscylladb-rust-small-pool
- scylla
crate with a single connection per nodecassandra-cpp
- Rust bindings for Datastax C++ Driver, running on multiple threads using Tokiogocql
- a driver written in Go
Knowing given use case, CDRS can be optimized for peak performance.
This example configures a cluster consisting of a single node without authentication, and uses round-robin load balancing. Other options are kept as default.
use cdrs_tokio::cluster::session::{TcpSessionBuilder, SessionBuilder};
use cdrs_tokio::cluster::NodeTcpConfigBuilder;
use cdrs_tokio::load_balancing::RoundRobinLoadBalancingStrategy;
use cdrs_tokio::query::*;
#[tokio::main]
async fn main() {
let cluster_config = NodeTcpConfigBuilder::new()
.with_contact_point("127.0.0.1:9042".into())
.build()
.await
.unwrap();
let session = TcpSessionBuilder::new(RoundRobinLoadBalancingStrategy::new(), cluster_config).build();
let create_ks = "CREATE KEYSPACE IF NOT EXISTS test_ks WITH REPLICATION = { \
'class' : 'SimpleStrategy', 'replication_factor' : 1 };";
session
.query(create_ks)
.await
.expect("Keyspace create error");
}
Download Details:
Author: krojew
Source Code: https://github.com/krojew/cdrs-tokio
License: View license
1653966148
CDRS is looking for maintainers
CDRS is Apache Cassandra driver written in pure Rust.
💡Looking for an async version?
Add CDRS to your Cargo.toml
file as a dependency:
cdrs = { version = "2" }
Then add it as an external crate to your main.rs
:
extern crate cdrs;
use cdrs::authenticators::NoneAuthenticator;
use cdrs::cluster::session::{new as new_session};
use cdrs::cluster::{ClusterTcpConfig, NodeTcpConfigBuilder};
use cdrs::load_balancing::RoundRobin;
use cdrs::query::*;
fn main() {
let node = NodeTcpConfigBuilder::new("127.0.0.1:9042", NoneAuthenticator {}).build();
let cluster_config = ClusterTcpConfig(vec![node]);
let no_compression =
new_session(&cluster_config, RoundRobin::new()).expect("session should be created");
let create_ks: &'static str = "CREATE KEYSPACE IF NOT EXISTS test_ks WITH REPLICATION = { \
'class' : 'SimpleStrategy', 'replication_factor' : 1 };";
no_compression.query(create_ks).expect("Keyspace create error");
}
This example configures a cluster consisting of a single node, and uses round robin load balancing and default r2d2
values for connection pool.
Download Details:
Author: AlexPikalov
Source Code: https://github.com/AlexPikalov/cdrs
License: Apache-2.0, MIT licenses found
1649198280
DataStax Driver for Apache Cassandra
A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (2.1+) and DataStax Enterprise (4.7+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3.
The driver supports Python 2.7, 3.5, 3.6, 3.7 and 3.8.
Note: DataStax products do not support big-endian systems.
Installation through pip is recommended:
$ pip install cassandra-driver
For more complete installation instructions, see the installation guide.
The documentation can be found online here.
A couple of links for getting up to speed:
cqlengine (originally developed by Blake Eggleston and Jon Haddad, with contributions from the community) is now maintained as an integral part of this package. Refer to documentation here.
See CONTRIBUTING.md.
Please report any bugs and make any feature requests on the JIRA issue tracker.
If you would like to contribute, please feel free to open a pull request.
Your best options for getting help with the driver are the mailing list and the DataStax Community.
Copyright DataStax, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Author: datastax
Source Code: https://github.com/datastax/python-driver
License: Apache-2.0 License
1646668620
Before getting started with the Deployment of Cassandra on Kubernetes infrastructure, we need to make sure that the below pre-requisites is in place-
For the purpose of demonstration, we will be making use of Minikube to have a Kubernetes setup.
1645112820
A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (2.1+) and DataStax Enterprise (4.7+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3.
The driver supports Python 2.7, 3.5, 3.6, 3.7 and 3.8.
Note: DataStax products do not support big-endian systems.
Installation through pip is recommended:
$ pip install cassandra-driver
For more complete installation instructions, see the installation guide.
The documentation can be found online here.
A couple of links for getting up to speed:
cqlengine (originally developed by Blake Eggleston and Jon Haddad, with contributions from the community) is now maintained as an integral part of this package. Refer to documentation here.
See CONTRIBUTING.md.
Please report any bugs and make any feature requests on the JIRA issue tracker.
If you would like to contribute, please feel free to open a pull request.
Your best options for getting help with the driver are the mailing list and the DataStax Community.
Download Details:
Author: datastax
Source Code: https://github.com/datastax/python-driver
License: Apache-2.0 License
1643424900
The Pentaho Big Data Plugin Project provides support for an ever-expanding Big Data community within the Pentaho ecosystem. It is a plugin for the Pentaho Kettle engine which can be used within Pentaho Data Integration (Kettle), Pentaho Reporting, and the Pentaho BI Platform.
It's a maven build, so mvn clean install
is a typical default for a local build.
JDK 11 in your path. Maven 3.3.9 in your path. This settings.xml
Option 1: Copy this file into your /.m2 folder and name it "settings.xml". Warning: If you do this, it will become your default settings.xml for all maven builds.
Option 2: Copy this file into some other folder--possibly the project folder for the project you want to build and use the maven 's' option to build with this settings.xml file. Example: mvn -s public-settings.xml install
.
The Pentaho profile defaults to pull all artifacts through the Pentaho public repository. If you want to try resolving maven plugin dependencies through the maven central repository instead of the Pentaho public repository, activate the "central" profile like this:
mvn -s -public-settings.xml -P central install
The 0.7.7-SNAPSHOT property version for the jacoco-maven-plugin is defined in several releases of the Pentaho parent poms, but it is only available in the Pentaho artifact repositories. If you are trying to resolve through maven central or other public repositories you should override to get the latest version like this:
mvn -s -public-settings.xml -P central install -Djacoco-maven-plugin.version=0.7.7.201606060606
Additional documentation is available on the Community wiki: Big Data Plugin for Java Developers
Download Details:
Author: pentaho
Source Code: https://github.com/pentaho/big-data-plugin
License: Apache-2.0 License
1641611640
The primary goal of the Spring Data project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.
The Apache Cassandra NoSQL Database offers many new capabilities for teams seeking a solution to handle high velocity, high volume and variable data flows. This new way of thinking introduces new concepts and a learning curve that can be intimidating to team members and team managers. Spring Data for Apache Cassandra offers a familiar interface to those who have used other Spring Data modules in the past.
The learning curve for developing applications with Apache Cassandra is significantly reduced when using Spring Data for Apache Cassandra. With the power to stay at a high level with annotated POJOs, or at a low level with high performance data ingestion capabilities, the Spring Data for Apache Cassandra templates are sure to meet every application need.
This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.
Here is a quick teaser of an application using Spring Data Repositories in Java:
public interface PersonRepository extends CrudRepository<Person, Long> {
List<Person> findByLastname(String lastname);
List<Person> findByFirstnameLike(String firstname);
}
@Service
public class MyService {
private final PersonRepository repository;
public MyService(PersonRepository repository) {
this.repository = repository;
}
public void doWork() {
repository.deleteAll();
Person person = new Person();
person.setFirstname("Matthew");
person.setLastname("Adams");
repository.save(person);
List<Person> lastNameResults = repository.findByLastname("Adams");
List<Person> firstNameResults = repository.findByFirstnameLike("M*");
}
}
@Configuration
@EnableCassandraRepositories
class ApplicationConfig extends AbstractCassandraConfiguration {
@Override
public String getContactPoints() {
return "localhost";
}
@Override
protected String getKeyspaceName() {
return "springdata";
}
}
Add the Maven dependency:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-cassandra</artifactId>
<version>${version}</version>
</dependency>
If you’d rather like the latest snapshots of the upcoming major version, use our Maven snapshot repository and declare the appropriate dependency version.
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-cassandra</artifactId>
<version>${version}-SNAPSHOT</version>
</dependency>
<repository>
<id>spring-libs-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>https://repo.spring.io/libs-snapshot</url>
</repository>
Having trouble with Spring Data? We’d love to help!
spring-data-cassandra
. You can also chat with the community on Gitter.Spring Data uses GitHub as issue tracking system to record bugs and feature requests. If you want to raise an issue, please follow the recommendations below:
You don’t need to build from source to use Spring Data (binaries in repo.spring.io), but if you want to try out the latest and greatest, Spring Data can be easily built with the maven wrapper. You also need JDK 1.8.
$ ./mvnw clean install
If you want to build with the regular mvn
command, you will need Maven v3.5.0 or above.
Also see CONTRIBUTING.adoc if you wish to submit pull requests, and in particular please sign the Contributor’s Agreement before your first non-trivial change.
Spring Data for Apache Cassandra was initially created and supported by the following companies and individuals:
Prowave Consulting - David Webb
SciSpike - Matthew Adams
John McPeek
Building the documentation builds also the project without running tests.
$ ./mvnw clean install -Pdistribute
The generated documentation is available from target/site/reference/html/index.html
.
Spring Data Examples contains example projects that explain specific features in more detail.
Download Details:
Author: spring-projects
Source Code: https://github.com/spring-projects/spring-data-cassandra
License: Apache-2.0 License
1637956800
👉We are excited to announce that support for Glowroot is now generally available for the Azure Cosmos DB Cassandra API. Glowroot is an open-source APM tool for monitoring the performance of your Java-based applications.
⭐️You can see more at the link at the end of the article. Thank you for your interest in the blog, if you find it interesting, please give me a like, comment and share with everyone. Thanks! ❤️
#azure #azurecosmosdb #cassandra #api
1634674860
In this video, I'm going to install and run Apache Cassandra on my Mac Book Pro. I cannot install and run it successfully with homebrew. That's why, I had to install it manually.
We will mention cassandra query language shell (cqlsh). I'm going to run DDL (Data Definition Language) scripts to create keyspaces (schemas in relational databases) and tables. Besides, DML (Data Manipulation Language) statements will be run to insert records and selecting / querying them.
1634660008
In this video, we are going to mention how to use Apache Cassandra wide column store for facial recognition tasks. Notice that key value stores such as Redis and Cassandra over-perform face verification tasks. Here,
Cassandra is a wide column store. In contrast to Redis key value store, it can store multiple columns for a row.
We will use deepface library for python to represent facial images as vector. Then, we will store vector representations in Cassandra.
1634458080
In my last MySQL vs article, I talked about Redis, which was a database I hadn’t heard about before. This time, I wanted to talk about a database that I’ve heard of but never gotten the time to try out. Cassandra DB is another NoSQL database that I haven’t had the opportunity to try but often heard about it at events like Hackathons.
1633622280
In this example we have a Go and Cassandra service. Go depends on Cassandra. Cassandra is slow in accepting connections. We will use our script in Go to force it to wait for Cassandra to accept connections first. Once Cassandra says it is ready then we will bring up the Go service.
1633611600
As an entrepreneur or an enterprise IT leader, you are likely thinking about the technology stack to use in your planned project. Your decision-making processes cover databases. Here, you think about SQL vs NoSQL databases. There are popular databases in both categories. Examples are MySQL and PostgreSQL among SQL databases. Among NoSQL databases, MongoDB and Cassandra are well-known. You might be weighing between MySQL vs MongoDB, MySQL vs Cassandra, PostgreSQL vs MongoDB, and PostgreSQL vs Cassandra.
1633359600
Alongside stability, Apache Cassandra 4.0 stands out for its ability to scale operations faster, its new auditing capabilities, and the way it embraces privacy by design. In this article, we’ll cover the new features and walk you through the steps required to upgrade to Cassandra 4.0.