Home / Companies / ScyllaDB / Blog / November 2023

November 2023 Summaries

7 posts from ScyllaDB

Filter
Month: Year:
Post Summaries Back to Blog
ScyllaDB, a high-performance NoSQL database compatible with Apache Cassandra and DynamoDB, is highlighted for its speed and efficiency in handling heavy workloads. The blog post provides a comprehensive guide on setting up a 1 million operations per second benchmark using ScyllaDB Cloud and Amazon Web Services, facilitated by a Terraform tool that automates the cloud infrastructure setup. The process involves deploying a ScyllaDB Cloud cluster with specific hardware configurations, using the cassandra-stress tool for benchmarking, and monitoring the performance in real-time via the ScyllaDB Cloud console. The post also includes instructions for cloning the necessary repository from GitHub and emphasizes the cost-effectiveness of using ScyllaDB Cloud, offering resources for further learning and community support through the ScyllaDB Forum.
Nov 29, 2023 511 words in the original blog post.
BenchANT conducted a detailed benchmarking study comparing the performance of MongoDB and ScyllaDB in handling caching workloads, focusing on throughput, latency, scalability, and cost-effectiveness. Using the YCSB Workload A with both uniform and hotspot request distributions, the study evaluated small, medium, and large database scaling sizes. The findings revealed that ScyllaDB consistently outperformed MongoDB by providing higher throughput and lower latencies across all configurations, achieving near-linear scalability and offering significantly more operations per dollar. In the uniform distribution tests, ScyllaDB's throughput reached up to 20 times higher than MongoDB, while the latency results showed ScyllaDB maintained lower read and update latencies. The study also included a long-running 12-hour benchmark, where ScyllaDB sustained stable performance compared to MongoDB, which experienced latency spikes. Additionally, ScyllaDB demonstrated superior insert performance, especially with larger datasets, and both databases showed increased throughput with weaker consistency settings, though ScyllaDB's improvements were more pronounced.
Nov 15, 2023 1,776 words in the original blog post.
Common configuration mistakes in ScyllaDB deployments often stem from running outdated versions, using unsupported operating systems, and having inconsistent configurations across nodes. ScyllaDB's rapid development cycle necessitates regular updates to benefit from the latest improvements, and its performance is closely tied to the capabilities of modern kernels, making it crucial to use up-to-date Linux distributions. Diverging configurations within a cluster can lead to inefficient operations, and maintaining a consistent setup across all nodes is essential for optimal performance. Proper monitoring is vital, with the ScyllaDB Monitoring Stack recommended for its ease of use and integration with support services. Ignoring alerts can lead to unresolved issues, and automation is encouraged to streamline updates and maintenance. The article emphasizes the importance of staying current with releases, having effective monitoring, and employing automation to prevent common pitfalls in ScyllaDB management.
Nov 14, 2023 2,388 words in the original blog post.
ScyllaDB, a high-performance NoSQL database, is widely used for applications requiring high throughput and predictable low latency, but its distributed nature leads to significant network costs due to data replication across multiple nodes. Key factors affecting network costs include replication factor, consistency level, payload size, and the use of features like Materialized Views. Strategies to optimize ScyllaDB performance and reduce costs involve efficient data modeling, caching, asynchronous processing, load balancing, and partitioning, as well as leveraging ScyllaDB Manager for efficient backup strategies, including automated backups, deduplication, and flexible retention policies. Additionally, compression techniques at various levels — client-side, node-to-node, and application-level — can significantly minimize data transmission size, while a zone-aware driver optimizes access patterns to reduce cross-AZ data transfers. ScyllaDB's topology configurations like Multi-AZ, Multi-DC, and Single AZ offer trade-offs between availability and cost, requiring careful consideration to balance data durability against expenses. Overall, a comprehensive approach integrating application-level optimizations with ScyllaDB's built-in features ensures enhanced performance and cost-effectiveness.
Nov 08, 2023 2,720 words in the original blog post.
The blog post by Eliran Sinvani compares the price performance of ScyllaDB and DynamoDB across various workloads and pricing models, highlighting a significant migration of DynamoDB users to ScyllaDB Cloud due to better cost efficiency. The detailed benchmark analysis reveals that ScyllaDB consistently offers lower costs and better latency performance in most scenarios, with costs being 5X to 40X lower and P99 latency up to 4X better under typical workloads. The comparison indicates that DynamoDB's pricing complexity and higher write costs make it less suitable for data-intensive applications with growing throughput demands, whereas ScyllaDB's architecture—featuring LSM-tree-based storage, shard-per-core design, and advanced schedulers—leverages modern hardware to provide superior performance at a fraction of the cost. The study further illustrates how ScyllaDB can manage multiple workloads within a single cluster more efficiently, offering significant cost savings and better performance, particularly under the Zipfian distribution where DynamoDB struggles with hot partitions.
Nov 06, 2023 2,062 words in the original blog post.
benchANT provides a detailed comparison of the architectures of MongoDB and ScyllaDB, highlighting their differences in performance and scalability. While both NoSQL databases promise high availability and scalability, their approaches diverge significantly. MongoDB is known for its ease of use and offers a replica set cluster for high availability and a sharded cluster for horizontal scalability, which can add operational complexity. It uses a B+-Tree index and supports various indexing strategies, making it suitable for range-based queries. ScyllaDB, on the other hand, is designed for performance-critical workloads and utilizes a shard-per-core approach, ensuring efficient hardware utilization and consistent performance. It uses a multi-primary architecture with a decentralized structure, facilitating easy horizontal scaling without additional services. ScyllaDB's architecture allows for easier data repartitioning and load balancing, providing clear advantages in scalability over MongoDB. The report includes insights into their internal storage mechanisms, with MongoDB employing a Wired Tiger engine and ScyllaDB using a commit log and memtables, demonstrating how these differences impact their handling of workloads. Companies like Discord and Numberly have migrated from MongoDB to ScyllaDB to address performance issues, underscoring ScyllaDB's suitability for high-throughput and low-latency applications. Additionally, a separate benchmark report compares the performance, scalability, and costs of MongoDB Atlas and ScyllaDB Cloud, offering deeper insights into their capabilities.
Nov 02, 2023 2,483 words in the original blog post.
"Database Performance at Scale" is a collaborative book by Cynthia Dunlop, Felipe Cardeneti Mendes, Piotr Sarna, and Pavel Emelyanov, designed to guide teams in optimizing database performance through addressing low latency, high throughput, and other critical considerations. Available for free under the Creative Commons license, the book draws from the authors' extensive experience in performance-focused database engineering and aims to provide insights into commonly overlooked aspects of database performance like DB internals, drivers, infrastructure, and monitoring. The authors have also shared their expertise in a virtual masterclass, summarizing the book’s key points for those who may not have the time to read the full 270-page text. The book emphasizes the importance of understanding workload nuances, selecting appropriate tools, and implementing effective monitoring systems, while also sharing personal insights from the writing process, reflecting on the challenges and surprises encountered along the way.
Nov 01, 2023 1,538 words in the original blog post.