GithubHelp home page GithubHelp logo

sszuev / concurrent-rdf-graph Goto Github PK

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

Concurrent RDF Graph implementations written in Kotlin

License: Apache License 2.0

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

concurrent-rdf-graph's People

Contributors

sszuev avatar

Watchers

 avatar

Forkers

arne-bdt

concurrent-rdf-graph's Issues

Pure Java version

As a library, it would be better it does not pull extra dependencies. + Right now there are no kotlin-specific features in use (coroutines are only in tests)

ReadWriteLockingGraph: improve performance

    1. change modify and releaseToSnapshot, snapshot collect operating could be divided on steps interspersed with each other, e.g. instead openIterators.keys.forEach { releaseToSnapshot(it) } something like while (openIterators.isNotEmpty) { if (toSnapshot(chunkSize, it)) openIterators.remove(...) }
    1. intellectual processing, if there is open iterator for ANY X ANY and modify operation for Q W E, than don't need releaseToSnapshot for that iterator
    1. check if iterator is started, if not the internal lock can be released after white operation
    1. NoOp Lock while Iterator's processing. Modify operations should turn on ReentrantLock before modification and turn off after modification

Related to apache/jena#1961

JMH benchmarks

GraphMem (single-thread), GraphTxn, SynchronizedGraph, ReadWriteLockingGraph

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.