Scylla offers full compatibility with Cassandra, meaning any Cassandra application works unmodified with Scylla using the standard drivers available to the community. While this will still be the case, there are many gains to be had by using Scylla-specific drivers. Those drivers will work with both Cassandra and Scylla but upon detecting scylla-specific features they will able to unleash many performance optimizations. In this talk we will ll cover which scenarios will benefit from the Scylla drivers and what’s coming next.
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
Scylla Summit 2018: Scylla Feature Talks - Gains by Using Scylla-Specific Drivers
1. Gains by Using the
Scylla-Specific Drivers
Piotr Jastrzebski
Software Engineer, ScyllaDB
2. About me
Piotr Jastrzebski
Programmer for almost 20 years
Software Engineer for over 10 years
Android at Google
Trading at Two Sigma Investments
Distributed DB at ScyllaDB
5. Paging support
▪ Fetch each page from the same coordinator
▪ Coordinator can cache state
▪ Less work resulting in better throughput and lower latency
6. Shard awareness
▪ Next level of request routing
▪ Connect directly to the shard that manages requested data
▪ Reduces inter shard communication
▪ Improves latency
7. Shard awareness
There is no network hop, both
CPUs are in the same system.
But worst case, it adds a task
quota to request processing.
CPU that owns
connection
CPU that owns
the token
Token
8. Shard awareness
Driver opens connections to all
CPUs, and learns which tokens
belong to each CPU.
Request is sent directly to owner.
CPU that owns
the token
Token
10. Shard awareness - latency per shard
Before After
Before After
Before After
11. Current status
Java Driver Go Driver
Shard awareness Ready Ready
Paging support Ready Coming Soon
Java Driver URL: https://github.com/scylladb/java-driver
Go Driver URL: https://github.com/scylladb/gocql