GitHub user pdu-mn1 opened a pull request:
https://github.com/apache/samza/pull/531
SAMZA-1719: Add caching support to table-api
This change adds caching support for Samza tables. This is especially
useful for remote table where the accesses can have high latency for
applications that can tolerate staleness. Caching is added in the form
of a composite table that wraps the actual table and a cache. We reuse
the ReadWriteTable interface for the cache. A simple Guava cache-based
table is provided in this change.
Original PR was inadvertently closed:
https://github.com/apache/samza/pull/524
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pdu-mn1/samza table-cache
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/samza/pull/531.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #531
----
commit 2771427a991b7899724636382bdb28594fe5ef6f
Author: Peng Du <pdu@...>
Date: 2018-05-14T21:32:26Z
table-api: Add caching support
This change adds caching support for Samza tables. This is especially
useful for remote table where the accesses can have high latency for
applications that can tolerate staleness. Caching is added in the form
of a composite table that wraps the actual table and a cache. We reuse
the ReadWriteTable interface for the cache. A simple Guava cache-based
table is provided in this change.
commit 229a7bdf2c88c42f8812c15864cd7a26a72bec11
Author: Peng Du <pdu@...>
Date: 2018-05-21T16:38:08Z
Address comments from Jagadish
----
---