Comments (1)
Hi @ceecer1 it took me sometime to understand that, but as far as I know the best way is still iterating over your list and inserting that. Why? Cassandra is distributed by nature, so your insert must goes anywhere around the cluster, it is different from a batch update in a relational database that goes to the same place. Cassandra batch means different here and I suggest to you read this blog post:
https://lostechies.com/ryansvihla/2014/08/28/cassandra-batch-loading-without-the-batch-keyword/
Try to parallel your List using Futures or even Akka.
from cassandra-phantom.
Related Issues (12)
- Tests fail due to connection refused using embedded db HOT 2
- DB creation with wrong Clustering order HOT 1
- 2.9.x-2.12.x version example code HOT 7
- Make use of Docker
- Question about the way data is being stored to two tables HOT 2
- Open Too Many Files
- Examples very out of date with phantom HOT 3
- SongService fails to compile HOT 2
- Examples of how to Implement counter columns? HOT 2
- Presence of CQL on the main doc is misleading HOT 1
- How to run this project? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassandra-phantom.