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

Move code to master branch #13

Merged
merged 57 commits into from Feb 3, 2017
Merged

Move code to master branch #13

merged 57 commits into from Feb 3, 2017

Conversation

tsegismont
Copy link
Contributor

@vietj can you have a look? Thanks

tsegismont and others added 30 commits August 25, 2016 16:11
… defaults easily

Use our own jgroups file (based on default multicast+tcp) to get the lock and counter protocols added.
From time to time, 1 or 2 tests were failing (not always the same). But the symptoms were identical: each of the nodes created thought it was the leader. This may happen when nodes on the same machine start at the same time, and ping messages are lost in both ways.
No need to transfer data for a meaning less value
Since we now have near cache, the infinispan cache no longer needs to be replicated.

My testing with the request/reply scenario show that CPU usage is similar to vertx-hazelcast after the change.
Before, one my CPU was around 100% at 500msg/sec, because we had to iterate through the set of mappings.
 - get latest fixes
 - reduce dependency size by 1M
We don't use cache loaders ... etc so we can use the minimal set of deps
If a user wants this in his app, he will have to tune the stack
…roblem to the user (as all Vert.x modules do)

Kept the JGroups redirection for testing (JBossLogging redirection is no longer needed since we don't depend on infinispan-embedded any more)
Also, fixed the logback scope (wasn't set to test)
Workaround the null classloader issue with JBossMarshalling
Prevent NPE because view listener could be started before the nodeListener is set
Do not block cache update with listeners (sync=false)
Clear nearch in async multimap in case two partitions get merged back into one (so we eventually get consistent subs data across nodes)
- Favor availability over consistency
- Eviction is disabled by default
- Use replication mode for __vertx.haInfo
  Will avoid blocking/slow traversal at the expense of slower writes and memory penalty
Tested and documenting the result here.
- Externalize deployment commands
- Run all steps in script phase because a failure in after_success
  does not fail the build
This is because it's currently based on JGroups Locks while the expected semantic is a semaphore with a single permit
@vietj
Copy link
Contributor

vietj commented Feb 3, 2017

👍

@tsegismont tsegismont merged commit 8ffb173 into master Feb 3, 2017
@tsegismont tsegismont deleted the initial-work branch February 14, 2018 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants