Home / Companies / ScyllaDB / Blog / August 2024

August 2024 Summaries

4 posts from ScyllaDB

Filter
Month: Year:
Post Summaries Back to Blog
ShareChat, a leading social media platform in India, faced significant challenges in scaling its machine learning feature store to meet the demands of its rapidly growing user base, particularly for its short-form video app, Moj. Initially, the system, based on ScyllaDB, struggled to handle the required scalability, becoming unresponsive at 1 million features per second when the goal was to achieve 1 billion. Through performance optimizations, the team restructured the database schema, improved cache locality, and implemented consistent hashing, which allowed them to significantly reduce the load on ScyllaDB while achieving their scalability goals without expanding the database infrastructure. By splitting the feature service into multiple deployments and leveraging technologies such as Envoy Proxy for better observability and caching, ShareChat improved the cache hit rate and managed to scale the feature store to handle 3 billion features per second. The process underscored the importance of using proven technologies, the incremental nature of optimizations, and the need for practical solutions, even if they are not the most elegant.
Aug 27, 2024 1,995 words in the original blog post.
The ScyllaDB Migrator is a powerful tool designed to facilitate the migration of data from Apache Cassandra and Amazon DynamoDB to ScyllaDB, leveraging Apache Spark for parallel processing of large datasets. It supports both cold and hot migration strategies, enabling efficient backfilling of historical data and seamless replication of new changes during migration. The Migrator's architecture allows for resilience against read or write failures, a feature that permits resuming migrations from interruption points, and it also offers the flexibility to rename item columns during the process. Recent updates include enhanced support for DynamoDB S3 exports, AWS AssumeRole authentication, a schema-less approach for increased reliability, and a dedicated documentation website. The Migrator has been updated to support the latest versions of Spark and Scala and includes an Ansible playbook to simplify Spark cluster setup. Future enhancements are poised to include support for savepoints with DynamoDB sources, a shard-aware ScyllaDB driver for optimized performance, and compatibility with SQL-based sources like MySQL. The Migrator's comprehensive capabilities make it an essential tool for organizations looking to transition to ScyllaDB efficiently and cost-effectively.
Aug 20, 2024 2,129 words in the original blog post.
ScyllaDB's engineering team has been actively working to reduce latency spikes during administrative operations by implementing continuous monitoring and rigorous testing strategies. The team measures operational latency across three workload scenarios—write, read, and mixed—under various conditions such as repairs, node additions, and decommissions, using a detailed methodology that includes preloading data and establishing a baseline latency. Advanced metrics like High Dynamic Range (HDR) Histograms are employed to capture comprehensive latency data, allowing the team to identify performance bottlenecks and make precise optimizations. Recent tests have shown significant improvements, with latencies remaining in the single-digit range, thanks to the introduction of new features in ScyllaDB 6.0, such as tablets for faster cluster resizing and immediate node joining. These ongoing efforts not only enhance the database's performance but also reflect the team's commitment to delivering high-quality solutions that meet user needs.
Aug 14, 2024 930 words in the original blog post.
In a recent presentation by ScyllaDB Co-Founder Dor Laor and Technical Director Felipe Mendes, the team showcased the implementation of a new dynamic "tablets-based" data replication architecture aimed at enhancing the scalability and elasticity of ScyllaDB. The demonstration highlighted the advantages of combining Raft and tablets to achieve linear scaling, faster operations, and reduced latency during node adjustments in a cluster. The demo involved real-time operations on a ScyllaDB cluster, illustrating how new nodes can quickly accommodate increased demand and how dynamic load balancing is achieved through automated resharding based on node capacity. With the introduction of the Raft protocol in ScyllaDB 6.0, topology metadata management has been linearized, improving operational simplicity, correctness, and performance, while preventing data loss and ensuring accurate schema updates through TimeUUIDs. The future roadmap envisions a more flexible and simplified approach, allowing users to operate without concerns about instance types, capacity planning, and throughput limits, characterized by a "typeless, sizeless, limitless" strategy.
Aug 06, 2024 967 words in the original blog post.