Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Strongbox from OrientDB to JanusGraph #1649

Open
20 of 31 tasks
sbespalov opened this issue Jan 22, 2020 · 7 comments · May be fixed by strongbox/strongbox-parent#62, strongbox/strongbox-db#19 or #1676
Open
20 of 31 tasks

Migrate Strongbox from OrientDB to JanusGraph #1649

sbespalov opened this issue Jan 22, 2020 · 7 comments · May be fixed by strongbox/strongbox-parent#62, strongbox/strongbox-db#19 or #1676
Assignees
Labels
enhancement in progress work is in progress

Comments

@sbespalov
Copy link
Member

sbespalov commented Jan 22, 2020

Task Description

Due to many problems in using OrientDB, it was decided to switch to another database. JanusGraph was chosen as a new database.
As part of the PoC project we developed the core concept of Domain Model implementation based on TinkerPop and Spring Data Neo4j. All persistence of Strongbox should be reworked follwing way:

  • Domain Entities should have interfaces (this is needed to support inheritance, which is not supported by JanusGraph out of the box)
  • Every Domain Entity should have EntityTraversalAdapter implementation (needed to provide CRUD traversals for the entity)
  • Every entity should have Repository based on GremlinRepository
  • All CRUD operations in repository should be implemented with EntityTraversalAdapter
  • Cypher can be used for custom queries with Spring Data Neo4j

Task List

Follow-up tasks to be created:

Useful Links

Help

@sbespalov
Copy link
Member Author

@carlspring
Copy link
Member

@sbespalov .

Here are my findings...

Building strongbox against strongbox locally (via mvn spring-boot:run in the strongbox-web-core) eventually fails with the attached logs. Part of the build passes, but then it suddenly crashes.

Here are the logs:

In addition, the build is quite sluggish... I assume this has something to do with all the writes going on...?

@sbespalov
Copy link
Member Author

I assume this has something to do with all the writes going on...?

@carlspring could you please clarify what it means?

@carlspring
Copy link
Member

carlspring commented Apr 15, 2020

I don't have the log files in front of me right now, but I believe that there were failing transactions while writing (?)...

@sbespalov
Copy link
Member Author

ok, thanks for clarifying
I'll create a task to fix it

@carlspring carlspring pinned this issue May 19, 2020
@shubham-singh-748
Copy link

How can i join awesome_for_beginners chat communtiy?

@steve-todorov steve-todorov unpinned this issue Oct 1, 2021
@lvca
Copy link

lvca commented Jan 11, 2022

Hi guys, OrientDB has a successor and its name is ArcadeDB. It's much faster, lighter, 100% java (no JNA/JNI), and supports the same SQL from OrientDB (it's actually the only piece of SW we copied). It supports also Gremlin (the latest version), Cypher, and much more. Also used embedded has minimal dependencies, the entire engine is a few MB.

I am the original author of OrientDB and now working on ArcadeDB. OrientDB was dead in the water a long time ago, the future is ArcadeDB. We're helping many projects with this switch. If you guys are interested I'd love to create a POC for StrongBox and eventually a PR.

Cheers,
Luca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment