SlideShare a Scribd company logo
VECTORIZED
rpc redux
I’m alex, we are vectorized
● CEO
● Have been working w/ seastar for 3 years.
○ Prev: Principal Eng @Akamai; CTO for concord.io,
acquired by Akamai 2016
● First non-scylla fully seastar-based company/product
(vectorized.io/redpanda)
VECTORIZED
redpanda by vectorized
● Redpanda is a Kafka replacement for mission critical
systems, focused on:
○ operational simplicity
○ safety
○ 10x the performance
VECTORIZED
agenda
● results
● motivation
● reflection
● ergonomics
● measurements
● limitations
VECTORIZED
VECTORIZED
talk: 6x faster than flatbuffers for nested tables
~7X lower latency!
24ms
161 ms
rpc goals, (1) PODs / No IDL
rpc goals, (2) isolation
VECTORIZED
Shares quota
x-core comms quota
VECTORIZED
rpc goals, (3) No translation cost
connected_socket::input() 🠖 input_stream<char>
rpc goals, (4) native seastar::* types
VECTORIZED
rpc goals, (5) embrace the future<>
● seastar::future<>’s are epidemic, like actors
VECTORIZED
rpc goals, part 2
● Measurements
○ Large structs of native fields - 52 fields. Nested 6 levels.
○ Large payloads in fragments
● Reflection
● Ergonomics
● Limitations
○ non pointers, they require custom serdes - maybe useful
VECTORIZED
VECTORIZED
concept 1 - structure binding
VECTORIZED
concept 2 - constexpr
VECTORIZED
concept 3 - is_standard_layout && is_trivially_copyable
VECTORIZED
concept 4 - reflect & recurse
VECTORIZED
concept 4 - reflect & recurse
VECTORIZED
concept 4 - reflect & recurse
VECTORIZED
concept 4 - reflect & recurse
VECTORIZED
concept 4 - reflect & recurse
VECTORIZED
example
test 1 - large payload test 2 - nested payload
5% worse
End-to-end latency. 10GB at once, in 100K requests, 1MB per request, in 32K chunks
test 1 - large payload
server-side latency. 230MB at once in 1MM requests.
~7X faster!
24ms
161 ms
test 2 - nested payload
2X better
end-to-end latency. 230MB at once in 1MM requests.
test 2 - nested payload
VECTORIZED
redpanda by vectorized
alex@vectorized.io

More Related Content

PPTX
Seastar Summit 2019 Keynote
PDF
Back to the future with C++ and Seastar
PPTX
Scylla Summit 2019 Keynote - Avi Kivity
PDF
Introducing Scylla Open Source 4.0
PDF
Running a DynamoDB-compatible Database on Managed Kubernetes Services
PDF
Scylla: 1 Million CQL operations per second per server
PDF
ScyllaDB @ Apache BigData, may 2016
PDF
Scylla Summit 2016: Compose on Containing the Database
Seastar Summit 2019 Keynote
Back to the future with C++ and Seastar
Scylla Summit 2019 Keynote - Avi Kivity
Introducing Scylla Open Source 4.0
Running a DynamoDB-compatible Database on Managed Kubernetes Services
Scylla: 1 Million CQL operations per second per server
ScyllaDB @ Apache BigData, may 2016
Scylla Summit 2016: Compose on Containing the Database

What's hot (20)

PPTX
Scylla Summit 2018: Consensus in Eventually Consistent Databases
PDF
Introducing Scylla Cloud
PPTX
FireEye & Scylla: Intel Threat Analysis Using a Graph Database
PPTX
Scylla Summit 2018: How We Made Large Partition Scans Over Two Times Faster
PPTX
Lightweight Transactions at Lightning Speed
PPTX
Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!
PDF
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
PPTX
Scylla’s Journey Towards Being an Elastic Cloud Native Database
PPTX
Scylla Summit 2018: Cassandra and ScyllaDB at Yahoo! Japan
PPTX
SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...
PPTX
Scylla Summit 2018: OLAP or OLTP? Why Not Both?
PDF
Scylla Summit 2016: Graph Processing with Titan and Scylla
PPTX
How Scylla Manager Handles Backups
PPTX
Using ScyllaDB with JanusGraph for Cyber Security
PDF
Seastar / ScyllaDB, or how we implemented a 10-times faster Cassandra
PPTX
Empowering the AWS DynamoDB™ application developer with Alternator
PPTX
Scylla Summit 2018: Keynote - 4 Years of Scylla
PPTX
Scylla Summit 2018: Getting the Most Out of Scylla on Kubernetes
PPTX
Developing Scylla Applications: Practical Tips
PPTX
How Opera Syncs Tens of Millions of Browsers and Sleeps Well at Night
Scylla Summit 2018: Consensus in Eventually Consistent Databases
Introducing Scylla Cloud
FireEye & Scylla: Intel Threat Analysis Using a Graph Database
Scylla Summit 2018: How We Made Large Partition Scans Over Two Times Faster
Lightweight Transactions at Lightning Speed
Scylla Summit 2018: Keeping Your Latency SLAs No Matter What!
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
Scylla’s Journey Towards Being an Elastic Cloud Native Database
Scylla Summit 2018: Cassandra and ScyllaDB at Yahoo! Japan
SAS Institute on Changing All Four Tires While Driving an AdTech Engine at Fu...
Scylla Summit 2018: OLAP or OLTP? Why Not Both?
Scylla Summit 2016: Graph Processing with Titan and Scylla
How Scylla Manager Handles Backups
Using ScyllaDB with JanusGraph for Cyber Security
Seastar / ScyllaDB, or how we implemented a 10-times faster Cassandra
Empowering the AWS DynamoDB™ application developer with Alternator
Scylla Summit 2018: Keynote - 4 Years of Scylla
Scylla Summit 2018: Getting the Most Out of Scylla on Kubernetes
Developing Scylla Applications: Practical Tips
How Opera Syncs Tens of Millions of Browsers and Sleeps Well at Night
Ad

More from ScyllaDB (20)

PDF
Understanding The True Cost of DynamoDB Webinar
PDF
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
PDF
New Ways to Reduce Database Costs with ScyllaDB
PDF
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
PDF
Powering a Billion Dreams: Scaling Meesho’s E-commerce Revolution with Scylla...
PDF
Leading a High-Stakes Database Migration
PDF
Achieving Extreme Scale with ScyllaDB: Tips & Tradeoffs
PDF
Securely Serving Millions of Boot Artifacts a Day by João Pedro Lima & Matt ...
PDF
How Agoda Scaled 50x Throughput with ScyllaDB by Worakarn Isaratham
PDF
How Yieldmo Cut Database Costs and Cloud Dependencies Fast by Todd Coleman
PDF
ScyllaDB: 10 Years and Beyond by Dor Laor
PDF
Reduce Your Cloud Spend with ScyllaDB by Tzach Livyatan
PDF
Migrating 50TB Data From a Home-Grown Database to ScyllaDB, Fast by Terence Liu
PDF
Vector Search with ScyllaDB by Szymon Wasik
PDF
Workload Prioritization: How to Balance Multiple Workloads in a Cluster by Fe...
PDF
Two Leading Approaches to Data Virtualization, and Which Scales Better? by Da...
PDF
Scaling a Beast: Lessons from 400x Growth in a High-Stakes Financial System b...
PDF
Object Storage in ScyllaDB by Ran Regev, ScyllaDB
PDF
Lessons Learned from Building a Serverless Notifications System by Srushith R...
Understanding The True Cost of DynamoDB Webinar
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
New Ways to Reduce Database Costs with ScyllaDB
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Powering a Billion Dreams: Scaling Meesho’s E-commerce Revolution with Scylla...
Leading a High-Stakes Database Migration
Achieving Extreme Scale with ScyllaDB: Tips & Tradeoffs
Securely Serving Millions of Boot Artifacts a Day by João Pedro Lima & Matt ...
How Agoda Scaled 50x Throughput with ScyllaDB by Worakarn Isaratham
How Yieldmo Cut Database Costs and Cloud Dependencies Fast by Todd Coleman
ScyllaDB: 10 Years and Beyond by Dor Laor
Reduce Your Cloud Spend with ScyllaDB by Tzach Livyatan
Migrating 50TB Data From a Home-Grown Database to ScyllaDB, Fast by Terence Liu
Vector Search with ScyllaDB by Szymon Wasik
Workload Prioritization: How to Balance Multiple Workloads in a Cluster by Fe...
Two Leading Approaches to Data Virtualization, and Which Scales Better? by Da...
Scaling a Beast: Lessons from 400x Growth in a High-Stakes Financial System b...
Object Storage in ScyllaDB by Ran Regev, ScyllaDB
Lessons Learned from Building a Serverless Notifications System by Srushith R...
Ad

Recently uploaded (20)

PPTX
TLE Review Electricity (Electricity).pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
STKI Israel Market Study 2025 version august
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
The various Industrial Revolutions .pptx
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Chapter 5: Probability Theory and Statistics
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPTX
Tartificialntelligence_presentation.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
Web App vs Mobile App What Should You Build First.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Getting Started with Data Integration: FME Form 101
TLE Review Electricity (Electricity).pptx
observCloud-Native Containerability and monitoring.pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
DP Operators-handbook-extract for the Mautical Institute
Hindi spoken digit analysis for native and non-native speakers
gpt5_lecture_notes_comprehensive_20250812015547.pdf
STKI Israel Market Study 2025 version august
1. Introduction to Computer Programming.pptx
Final SEM Unit 1 for mit wpu at pune .pptx
The various Industrial Revolutions .pptx
Getting started with AI Agents and Multi-Agent Systems
NewMind AI Weekly Chronicles – August ’25 Week III
Chapter 5: Probability Theory and Statistics
A contest of sentiment analysis: k-nearest neighbor versus neural network
Tartificialntelligence_presentation.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Web App vs Mobile App What Should You Build First.pdf
OMC Textile Division Presentation 2021.pptx
Getting Started with Data Integration: FME Form 101

Seastar Summit 2019 vectorized.io