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

Introducing hazel cast for clustered operation of collins #367

Merged
merged 3 commits into from
Sep 7, 2015

Conversation

yl3w
Copy link
Contributor

@yl3w yl3w commented Sep 6, 2015

Summary:
In standalone (1 instance) mode, collins relies on GuavaCache for
in-memory cache. This prevent operation in a clustered environment
where it is not possible to ensure cache is coherence across multiple
instances, which can only be achieved by reducing ttl and therefore
the effectiveness of the cache.

As part of doing this, fixed incorrect assumption and implementation
to allow for the domain objects to be appropriately serialized.

Hazelcast will serve as the pub/sub module for firehose implementation.
An experimental implementation to flush out the details for this change
was done earlier

The Firehose relies on collins callback mechanism, this commit includes
changes to fix up the callbacks and add testing around them.

2 specifications with many tests have been added as part of this effort
for cache and callbacks.

@byxorna @Primer42 @roymarantz @defect

PS: Use w=1 when viewing the diff.

Bhaskar Maddala added 3 commits September 6, 2015 18:26
Summary:
In standalone (1 instance) mode, collins relies on GuavaCache for
in-memory cache. This prevent operation in a clustered environment
where it is not possible to ensure cache is coherent across multiple
instances, which can only be achieved by reducing ttl and therefore
the effectiveness of the cache.

As part of doing this, fixed incorrect assumption and implementation
to allow for the domain objects to be appropriately serialized.

Hazelcast will serve as the pub/sub module for firehose implementation.

Note:
Hazelcast was introduced to support distributed message queue for firehose
The Firehose relies on collins callback mechanism, this commit includes
changes to fix up the callbacks.

2 specifications will many tests have been added as part of this effort
for cache and callbacks.
yl3w added a commit that referenced this pull request Sep 7, 2015
Introducing hazel cast for clustered operation of collins
@yl3w yl3w merged commit 3c5b16c into master Sep 7, 2015
@yl3w yl3w deleted the bhaskar-distributed-cache branch September 7, 2015 11:10
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