Exploring Data @ Netflix

Netflix Technology Blog
8 min readintermediate
--
View Original

Overview

The article discusses the Netflix Data Explorer, an open-source tool designed to provide engineers with fast and safe access to data stored in Cassandra and Dynomite/Redis. It highlights the features of the Data Explorer, including multi-cluster access, schema design, and support for binary data, while also emphasizing its potential benefits for the open-source community.

What You'll Learn

1

How to use the Netflix Data Explorer for accessing data in Cassandra and Dynomite/Redis

2

Why schema design is crucial for new Cassandra users

3

How to implement multi-cluster access for improved productivity

4

When to use the Query IDE for advanced CQL queries

Key Questions Answered

What features does the Netflix Data Explorer provide for data access?
The Netflix Data Explorer offers features such as multi-cluster access, a schema designer for creating tables, an explore mode for executing CRUD operations, and a query IDE with autocomplete functionality. These tools enhance productivity and simplify data management for engineers.
How does the Netflix Data Explorer support binary data?
The Data Explorer allows users to opt-in to retrieve binary data fields with their choice of encoding. This feature is designed to manage the size of persisted data while still providing access to necessary binary values when needed.
What is the purpose of the CLI setup tool in the Data Explorer?
The CLI setup tool is designed to simplify the process of creating configuration files for the Data Explorer. It provides prompts to guide users through the configuration process, allowing for easy customization and the ability to generate multiple configuration files for different environments.
How does Netflix ensure safe operations when executing CQL commands?
Netflix implements guardrails within the Data Explorer to prevent users from executing potentially harmful commands, such as 'DROP TABLE'. When such commands are attempted, users are redirected to a bespoke workflow that includes additional validation to ensure safe execution.

Technologies & Tools

Some links below are affiliate links. We may earn a commission if you make a purchase.

Key Actionable Insights

1
Utilize the schema designer in the Data Explorer to simplify table creation in Cassandra.
This tool allows new users to drag and drop elements to create tables, significantly lowering the intimidation factor associated with writing CREATE TABLE statements.
2
Implement multi-cluster access to streamline data management across different environments.
By directing users to a single web portal for all data stores, productivity can be greatly enhanced, especially in production environments with numerous clusters.
3
Leverage the explore mode for quick CRUD operations and data exports.
This mode allows engineers to efficiently execute point queries and export results, facilitating easier data management and replication between environments.
4
Take advantage of the CLI setup tool for creating and managing configuration files.
This tool simplifies the configuration process, making it easier to adapt the Data Explorer to different environments and requirements.

Common Pitfalls

1
Users may attempt to execute destructive CQL commands without understanding the consequences.
To avoid this, the Data Explorer has implemented workflows that guide users through safe execution processes, ensuring that critical operations are validated before being performed.