3.0.3 • Published 27 days ago

@comunica/mediator-join-coefficients-fixed v3.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
27 days ago

Comunica Mediator Join Coefficients Fixed

npm version

A mediator that mediates over actors implementing the Join Coefficients mediator type. Based on the produced join coefficients, the mediator calculates an overal join cost based on several configurable weights, and picks the actor with the lowest overall cost. This is meant to be used for mediation over the RDF Join bus.

For example, on machines where I/O and memory is very expensive, this mediator's parameters could be tweaked so that the weight of I/O and memory are higher, so that they lead to a higher cost for actors that require more I/O and memory usage.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Install

$ yarn add @comunica/mediator-join-coefficients-fixed

Configure

After installing, this mediator can be instantiated as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-all/^3.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@type": "SomeActor",
      "someMediator": {
        "@id": "#mediatorRdfJoin",
        "@type": "MediatorJoinCoefficientsFixed",
        "cpuWeight": 1,
        "memoryWeight": 1,
        "timeWeight": 1,
        "ioWeight": 0.01,
        "bus": { "@id": ActorRdfJoin:_default_bus" }
      }
    }
  ]
}

Config Parameters

  • "cpuWeight": Weight for the CPU cost. Higher values lead to higher overall costs.
  • "memoryWeight": Weight for the memory cost. Higher values lead to higher overall costs.
  • "timeWeight": Weight for the execution time cost. Higher values lead to higher overall costs.
  • "ioWeight": Weight for the I/O cost. Higher values lead to higher overall costs.
  • "bus": Identifier of the bus to mediate over.
3.0.3

27 days ago

3.0.1

2 months ago

3.0.1-alpha.46.0

2 months ago

3.0.1-alpha.45.0

3 months ago

3.0.1-alpha.44.0

3 months ago

3.0.1-alpha.43.0

3 months ago

2.10.1

5 months ago

2.8.1

10 months ago

2.8.0

10 months ago

2.10.0

6 months ago

2.9.0

8 months ago

2.8.2

9 months ago

2.7.0

12 months ago

2.7.1

11 months ago

2.6.8

1 year ago

2.6.0

1 year ago

2.6.7

1 year ago

2.5.0

1 year ago

2.5.1

1 year ago

2.4.0

2 years ago

2.3.1-alpha.30.0

2 years ago

2.3.1-alpha.31.0

2 years ago

2.2.2-alpha.19.0

2 years ago

2.2.2-alpha.18.0

2 years ago

2.3.1-alpha.23.0

2 years ago

2.2.2-alpha.17.0

2 years ago

2.3.1-alpha.24.0

2 years ago

2.2.2-alpha.16.0

2 years ago

2.3.1-alpha.21.0

2 years ago

2.2.2-alpha.15.0

2 years ago

2.3.1-alpha.22.0

2 years ago

2.2.2-alpha.14.0

2 years ago

2.3.1-alpha.27.0

2 years ago

2.2.2-alpha.13.0

2 years ago

2.3.1-alpha.28.0

2 years ago

2.2.2-alpha.12.0

2 years ago

2.3.1-alpha.25.0

2 years ago

2.2.2-alpha.11.0

2 years ago

2.3.1-alpha.26.0

2 years ago

2.3.1-alpha.29.0

2 years ago

2.3.0

2 years ago

2.2.2-alpha.20.0

2 years ago

2.2.0

2 years ago

2.0.7-alpha.10.0

2 years ago

2.0.1

2 years ago

2.0.1-alpha.9.0

2 years ago

2.0.1-alpha.8.0

2 years ago

2.0.1-alpha.7.0

2 years ago

2.0.1-alpha.6.0

2 years ago

2.0.1-alpha.5.0

2 years ago