GithubHelp home page GithubHelp logo

sszuev / concurrent-rdf-graph Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 187 KB

Concurrent RDF Graph implementations written in Kotlin

License: Apache License 2.0

Kotlin 100.00%
rdf apache-jena concurrency rdf-graph java java-library kotlin kotlin-library

concurrent-rdf-graph's Introduction

Concurrent RDF Graph

Summary

A simple jvm library containing RDF graph implementations suitable for concurrent environment.

Contains several implementations, including

  • SynchronizedGraph - straightforward implementation which uses the standard synchronized java block
  • ExtendedSynchronizedGraph - advanced implementation which uses the standard java synchronized block
  • ReadWriteLockingGraph - it uses java.util.concurrent.locks.ReadWriteLock

Each implementation is an instance of org.apache.jena.sparql.graph.GraphWrapper from Apache Jena. The project is equipped with concurrent tests, the local running of which may end with TimeoutException if the local machine is not fast enough. Also, there are benchmarks tests.

Available via jitpack

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
...
<dependency>
    <groupId>com.github.sszuev</groupId>
    <artifactId>concurrent-rdf-graph</artifactId>
    <version>1.1.0-kotlin</version>
</dependency>

Run benchmarks

gradlew clean jmh

or

gradlew clean jmhJar
java -jar build/libs/concurrent-rdf-graph-kotlin-{version}-jmh.jar 

For allowed arguments, see help:

java -jar build/libs/concurrent-rdf-graph-kotlin-{version}-jmh.jar -help

Example:

java -jar build/libs/concurrent-rdf-graph-kotlin-{version}-jmh.jar -wi 3 -i 3 -p factory=RW_LOCKING_GRAPH_V2,SYNCHRONIZED_GRAPH

License

Apache License Version 2.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.