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

v0.9 #65

Closed
wants to merge 8 commits into from
Closed

v0.9 #65

wants to merge 8 commits into from

Conversation

mcollina
Copy link
Collaborator

@mcollina mcollina commented Feb 2, 2014

This will be a disruptive one, as we will need to change some API.
As LevelUp is going to remove WriteStream support from it, I think we should do it too.

The current WriteStream implementation only use is by LevelGraph-N3 to import huge loads of triples. In order to do so, LevelGraph uses level-writestream, a WriteStream alternative that can handle multiple concurrent batches: https://npmjs.org/package/level-writestream. That breaks the atomicity of putting all indexes in a single batch, but it's extremely efficient for write loads.

In the browser, having any WriteStream in will just increase the package size.

  • Upgrade Level-js and remove the patching
  • Upgrade LevelUp to 0.19 and dump putStream and delStream
  • Deprecate getStream in favor of readStream.
  • Write a gaws (levelGrAph-WriteStream) module to add that functionality again, if someone needs it.
  • Update LevelGraph-N3 and LevelGraph-JSONLD to not use putStream but leverage the new module, and/or a different solution.
  • Multilevel support Multilevel Support #60.
  • remove join() and joinSearch(), which were deprecated in favor of search() and searchStream()`)

Any opinions? Consider this as a proposal, any volunteers for any of this?

@pietercolpaert
Copy link

@mcollina
Copy link
Collaborator Author

Closed as LevelGraph needs a new release now :).

@mcollina mcollina closed this Oct 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants