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

JVM Snapshot Implementation #150

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open

JVM Snapshot Implementation #150

wants to merge 51 commits into from

Conversation

gegao
Copy link
Contributor

@gegao gegao commented Dec 31, 2013

I implement a feature that enables H-Store to execute OLAP queries on JVM Snapshot to avoid expensive distributed transactions. The snapshots are created using fork() system call which has Copy-On-Write mechanism.

Main changes include:

  • fork() and kill() JNI.
  • JVM Snapshot Manager.Main part of the code. It runs in a separate thread in the H-Store site. The Manager is in charge of creating, refreshing snapshots, communicating with snapshots and queuing OLAP queries.
  • JUnit test
  • Some changes to other parts of system includes snapshot initialization, snapshot synchronization etc.

This feature is under flag site.jvmsnapshot_enable. Details can be found in http://hstore.cs.brown.edu/documentation/deployment/jvm-snapshots/

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.

1 participant