Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@cubejs-backend/cubestore
Advanced tools
Website • Docs • Examples • Blog • Slack • Twitter
Cube.js pre-aggregation storage layer.
Over the past year, we've accumulated feedback around various use-cases with pre-aggregations and how to store them. We've learned that there are a set of problems where relational databases as a storage layer has significant performance and functionality issues.
These problems include:
UNION ALL
queriesJOIN
performance across rolled up tablesOver time, we realized that if we try to fix these issues with existing database engines, we'd end up modifying these databases' codebases in one way or another.
We decided to take another approach and write our own materialized OLAP cache store, designed solely to store and serve rollup tables at scale.
To optimize performance as much as possible, we went with a native approach and are using Rust to develop Cube Store, utilizing a set of technologies like RocksDB, Apache Parquet, and Arrow that have proven effectiveness in solving data access problems.
Cube Store is fully open-sourced and released under the Apache 2.0 license.
We intend to start distributing Cube Store with Cube.js, and eventually make Cube Store the default pre-aggregation storage layer for Cube.js. Support for MySQL and Postgres as external databases will continue, but at a lower priority.
We'll also update all documentation regarding pre-aggregations and include usage and deployment instructions for Cube Store.
[[info | ]] | If your platform/architecture is not supported, you can launch Cube Store | using Docker.
linux-gnu | linux-musl | darwin | win32 | |
---|---|---|---|---|
x86 | N/A | N/A | N/A | N/A |
x86_64 | ✅ | ✅ | ✅ | ✅ |
arm64 | ✅[1] |
[1] It can be launched using Rosetta 2 via the x86_64-apple
binary.
Starting with v0.26.48
, Cube.js ships with Cube Store enabled when CUBEJS_DEV_MODE=true
.
You don't need to set up any CUBEJS_EXT_DB_*
environment variables or
externalDriverFactory
inside your cube.js
configuration file.
For versions prior to v0.26.48
, you should upgrade your project to the latest
version and install the Cube Store driver:
yarn add @cubejs-backend/cubestore-driver
After starting up, Cube.js will print a message:
🔥 Cube Store (0.26.64) is assigned to 3030 port.
Start Cube Store in a Docker container and bind port 3030
to 127.0.0.1
:
docker run -d -p 3030:3030 cubejs/cubestore:edge
Configure Cube.js to use the above connection for an external database via the
.env
file:
CUBEJS_EXT_DB_TYPE=cubestore
CUBEJS_EXT_DB_HOST=127.0.0.1
Create a docker-compose.yml
file with the following content:
version: '2.2'
services:
cubestore:
image: cubejs/cubestore:edge
cube:
image: cubejs/cube:latest
ports:
# 4000 is a port for Cube.js API
- 4000:4000
# 3000 is a port for Playground web server
# it is available only in dev mode
- 3000:3000
env_file: .env
depends_on:
- cubestore
links:
- cubestore
volumes:
- ./schema:/cube/conf/schema
Configure Cube.js to use the above connection for an external database via the
.env
file:
CUBEJS_EXT_DB_TYPE=cubestore
CUBEJS_EXT_DB_HOST=cubestore
docker build -t cubejs/cubestore:latest .
docker run --rm cubejs/cubestore:latest
Check out https://github.com/cube-js/arrow/tree/cubestore-2020-11-06 and put .cargo/config.toml in the current directory with following contents:
paths = ["../../arrow/rust"]
It should point to checked out Apache Arrow fork and it'll allow you to build project against locally modified sources.
Cube Store is Apache 2.0 licensed.
FAQs
Cube.js pre-aggregation storage layer.
The npm package @cubejs-backend/cubestore receives a total of 12,072 weekly downloads. As such, @cubejs-backend/cubestore popularity was classified as popular.
We found that @cubejs-backend/cubestore demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.