![[r]evolution Summer 2022: Distributed SQL “Workspaces” Power Modern Applications](/assets/img/30af28fd4c92f86771a0170ca37bc0b0240a5969-830x320.webp)
We designed SingleStore to be a fast distributed SQL database.
Many of our customers start with SingleStore powering a single workload, but as companies leverage data across the organization to inform decision making and introduce new products and services, the need for shared data grows. Traditionally, companies copy data across various storage solutions and applications, and build a complex web of data and applications resulting in convoluted data pipelines between disparate data solos. This introduces cost, complexity and latency, resulting in critical applications operating on stale data.
Solution: Workspaces
Workspaces is our newest feature, which enables customers to run multiple workloads on isolated compute deployments, while providing ultra low-latency access to shared data. This is possible because of the unique SingleStore architecture, leveraging our native internal data replication engine to ensure applications are always operating on fresh data.
Users can create and terminate workspaces directly using the cloud portal, or through our scalable Management API. Databases are created and attached to one or more workspaces concurrently, allowing simultaneous operation of multiple workloads on shared data. Databases can be attached and detached from workspaces on-the-fly, allowing organizations to manage and meet rapidly changing needs.
Because workspaces are stateless, they can be created and terminated at will, making it easy to run reporting or custom telemetry applications on the fly. When a workspace is terminated it no longer incurs charges, offering simple cost optimization of any workload while ensuring data is retained as long as needed.
Unique Design
![Figure: [r]evolution Summer 2022: Distributed SQL “Workspaces” Power Modern Applications](/assets/img/9db1a3a65efad3bd0a4fe184fb6d684fe978b97d-2048x1471.webp)
SingleStore is a real-time HTAP database designed on a modern distributed SQL architecture. This means that compute can be scaled out using the native clustered architecture, rather than simply scaling up using larger machines. Workspaces further enhance this distributed architecture by freeing databases from the confines of a single cluster, delivering the true value of separate compute and storage.
Some enterprise data warehouses offer a similar separation of compute and storage, but because they are only designed for analytic workloads, they sacrifice latency to enable this flexibility. This is because writes are forced to go to object storage, which introduces latency and causes queries to return stale data if changes haven’t been propagated completely across the storage stack.
SingleStore is designed to power modern applications, where real-time access to data and low latency query responses are just as important as scalability and concurrency. To meet this need, SingleStore workspaces are designed to provide low latency data access to databases across every workspace deployed within a group (a logical tool for organization of workspaces). Each separate application running on an independent workspace can be scaled up or down, while still ensuring fast access to fresh data.
Use Cases
Impact.com has been running SingleStore to power their customer-facing applications for some time, but now with the introduction of Workspaces they have also moved their reporting and internal analytics workloads to SingleStore, unifying their entire data architecture:
“Workspaces are very exciting for us… we can now simply add and scale workloads across the organization’s most important data!” - Mauricio Aristizabal, Data Architect, Impact.com
Impact found that the customer data being stored in SingleStore was critical for reporting and other operational analytics within the company, but the process of moving this data out of SingleStore and into pure analytics solutions like Cloudera or Snowflake was costly and time consuming. It also introduced latency, which meant that by the time analysts got to the data it was already stale. They wanted a way to run the workloads previously running on Hadoop directly on SingleStore, which is where workspaces came in.
“..when Cloudera’s Impala and Kudu could not keep up with the speed of Impact’s business, SingleStore delivered. SingleStore checks all the boxes with sub-second reporting, low-latency analytics, high concurrency, separation of storage and compute with workspaces, and more — which is why SingleStore is now Impact’s Database for 100% of its data and reporting. In short: All Data. One Platform.™”
In addition to scaling out to multiple workloads, workspaces also provides a simple way to manage isolation between ingest and application workloads. Many customers are now using isolated workspaces for ingesting from streaming data sources like Confluent Kafka or Redpanda, and blog posts like Nabil Nawaz’s “loading 100 billion rows ultrafast” show the incredible power of parallel ingest into SingleStore. Now with workspaces, users can isolate ingest workloads and dynamically scale them up or down based on scheduling and performance needs, all while maintaining the consistent query response and strict SLAs needed for customer-facing applications.
More companies than ever are using machine learning to customize content for their customers, or to provide real-time services such as fraud detection. A Tier 1 U.S. Bank is using SingleStore to deliver “On The Swipe Fraud Detection” by operationalizing fraud detection models against customer transactional data. Now with workspaces, these workloads can be run directly on data generated by customer facing applications, without affecting the ability to deliver application uptime or impacting user generated workloads. Workspaces provides complete isolation and independent scalability without requiring complex integration of multiple data sources.
![Figure: [r]evolution Summer 2022: Distributed SQL “Workspaces” Power Modern Applications](/assets/img/526490285342a8cd2753436fdc232fe9c597b3aa-2048x1150.webp)
Manage application & operational ML workloads with Workspaces
Design & Architecture
SingleStore’s workspaces are built using the native data replication engine built into our database. If you have read about features such as leaf fanout failover you may already be familiar with the storage engine — but if not, check out Adam Prout’s description of what makes the SingleStore storage engine unique.
Workspaces further this design by creating isolated pools of compute resources, which are clustered on top of cloud hardware. These compute pools have dedicated memory and persistent disk cache to deliver immediate query responsiveness, while operating on top of bulk scale-out object storage.
When combined with SingleStore’s query code generation and tiered Universal Storage architecture, this allows workspaces to deliver extremely low latency query response, highly concurrent access and fast parallel streaming ingest while automating the movement of data across workloads.
Try Workspaces
SingleStore offers a free Shared cluster to get started, and $500 in free credits for a Standard cluster. Together they let you load data, connect your application, and experience the performance and scalability of a real-time Distributed SQL database.
You can also take a look at Eric Hanson’s demonstration of SingleStore “running a trillion rows per second,” and try it for yourself to see how SingleStore delivers the fastest performance and lowest query latency, deployed on your public cloud of choice.














