Hiperspace 2.1.3
dotnet add package Hiperspace --version 2.1.3
NuGet\Install-Package Hiperspace -Version 2.1.3
<PackageReference Include="Hiperspace" Version="2.1.3" />
paket add Hiperspace --version 2.1.3
#r "nuget: Hiperspace, 2.1.3"
// Install Hiperspace as a Cake Addin #addin nuget:?package=Hiperspace&version=2.1.3 // Install Hiperspace as a Cake Tool #tool nuget:?package=Hiperspace&version=2.1.3
Hiperspace
Hiperspace is an Object technology that uses a key-addressable store to expand an application data-model beyond the limits of memory that can be directly referenced in main memory.
Elements are not duplicated or changing to match database shapes.
Elements are serialized directly using Protocol Buffers
to and from key/value structure for storage in memory stores including CXL
expanded and pooled memory, shared cache , local SSD or key-value durable databases.
Elements that are not currently being used are released from main memory, and transparently (and quickly) reloaded when referenced. Memory stores allows petabytes of data to be addressed.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Microsoft.Bcl.HashCode (>= 6.0.0)
- protobuf-net.Core (>= 3.2.46)
- System.Numerics.Tensors (>= 9.0.2)
-
net9.0
- Microsoft.Bcl.HashCode (>= 6.0.0)
- protobuf-net.Core (>= 3.2.46)
- System.Numerics.Tensors (>= 9.0.2)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Hiperspace:
Package | Downloads |
---|---|
Hiperspace.Heap
Hiperspace heap store for session, edge and testing purposes |
|
Hiperspace.Rocks
HiperSpace RocksDB adaptor |
|
Hiperspace.SQL
# Hiperspace.SQL Hiperspace.SQL is a full SQL query engine for Hiperspace, supporting the full range of joins, aggregations, and subqueries. Hiperspace.SQL provides the same query functionality as a .NET client can use with LINQ queries, but without the need to write code in C#/F# Hiperspace fully supports point-in-time "time travel" queries that are not possible with Python Data-Frames or DuckDB ## Features - Hiperspace.SQL is not limited to queries of columns within a table, but supports the full navigation of properties of Hiperspace elements - Where a column is a complex object it is returned as a JSON object - Executing a batch of SQL statements return columnar data frames (dictionary of column-name and array of values) - Explain SQL returns the execution plan, detailing the SetSPaces accessed and keys used for search (Key, Index, Scan) - The Parquet method returns a Parquet file that can be used with any Apache Parquet library, or added to DuckDB OLAP store |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.3 | 182 | 3/5/2025 |
2.1.1 | 115 | 2/15/2025 |
2.1.0 | 104 | 1/24/2025 |
2.0.0 | 65 | 1/14/2025 |
1.3.9 | 115 | 11/15/2024 |
1.3.3 | 100 | 11/1/2024 |
1.3.1 | 162 | 10/18/2024 |
1.3.0 | 135 | 10/5/2024 |
1.2.31 | 152 | 9/15/2024 |
1.2.26 | 123 | 9/1/2024 |
1.2.18 | 89 | 8/6/2024 |
1.2.12 | 97 | 7/26/2024 |
1.2.9 | 127 | 7/19/2024 |
1.2.8 | 132 | 7/15/2024 |
1.2.4 | 148 | 7/4/2024 |
1.2.0 | 158 | 5/30/2024 |
1.0.46 | 101 | 5/11/2024 |
1.0.40 | 121 | 4/22/2024 |
1.0.34 | 169 | 3/14/2024 |
1.0.28 | 165 | 2/26/2024 |
1.0.27 | 152 | 2/16/2024 |
1.0.24 | 206 | 1/11/2024 |
1.0.23 | 193 | 1/1/2024 |
1.0.1 | 192 | 11/18/2023 |
# Overview
This release is primarily concerned with performance when used in a server context the volume if data is huge and accessed via `Hiperspace.DB` and many CPU-cores are available.
Performance is addressed with greater parallelism (graph `Node` and `Edge` queries already execute in parallel) and server-side filtering with using SQL queries.
## Parallelism
`PartitionSpace` and `GenerationSpace` have been updated to search each of the child spaces in parallel and collate results to return to a calling space. For very large hiperspaces `PartitionSpace` enables `Hiperspace.DB` to match the performance of direct/local hiperspaces by executing access in parallel. Hiperspace uses versioning to avoid transaction contention when multiple sessions are accessing a Space, as historical versions of a `GenerationSpace` never ned to be updated they are opened with read-only option, which obviates the need for rockshare to mediate access to the underlying files.
## SQL Queries
Hiperspace is optimized for key or index access to efficiently search hiperspace for elements that match key or key-part criteria.
For the model `entity Customer ( Id : Int64 ) { Name : String, ...};`, a client query `from c in space.Customers where c.Id == 42' is translated into 'space.Customers.Find (new Customer { Id = 42} )` which in turn is translated into `CustomerKeyPath.Get (42)`, which directly fetches the customer from Hiperspace.
For the model
```
entity Customer ( Id : Int64 ) { Name : String, ... [Accounts : Account ].
segment Account ( Id : Int64 ) { Title : String, ...};
```
A query `from as in space.CustomerAccounts where owner.Id == 42' is translated into 'space.CustomerAccounts.Find (new Account { owner = new Customer { Id = 42} })` which in turn is translated into `CustomerAccountKeyPath.Find (42)` retrieving all Accounts that are owned by Customer 42.
For the model
```
entity Customer ( Id : Int64 ) { Name : String, ...} [ Accounts : Account ( Customer = this ) ];
entity Account ( Id : Int64 ) { Title : String, Customer : Customer, ...};
```
A query `from as in space.Accounts where Customer.Id == 42' is translated into 'space.Accounts.Find (new Account { Customer = new Customer { Id = 42} })` which in turn is translated into `AccountCustonerIndex Path.Find (42)` retrieving all Accounts that have a Customer 42, because the Customer extension `Accounts : Account ( Customer = this )` causes an index to be created on Account.
**If** the extension `Accounts : Account ( Customer = this )` is omitted, the Account `SetSpace` is scanned (with a residual condition Customer.KeyType.Id of 42), but if the query is `from as in space.Accounts where Customer.Id < 42' the criteria is evaluated once the results have been returned - potentially a very large set.
### Query
The `Query` function allows 'space.Accounts.Query ("SELECT Account.* FROM Accounts WHERE Accounts.Customer.Id < 42") to be used to send the query to a `Hiperspace.DB` server where the results will be filtered before return to the client.