You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Nikolay Izhikov (JIRA)" <ji...@apache.org> on 2018/01/29 10:56:00 UTC
[jira] [Comment Edited] (IGNITE-425) Introduce transformers for
continuous queries
[ https://issues.apache.org/jira/browse/IGNITE-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343215#comment-16343215 ]
Nikolay Izhikov edited comment on IGNITE-425 at 1/29/18 10:55 AM:
------------------------------------------------------------------
Hello, [~avinogradov]!
Thank you!
I have resolved all issues in upsource.
I also make some benchmarks, as you advised:
Source of benchmark - https://github.com/nizhikov/ignite-425-benchmark
Results - [https://gist.github.com/nizhikov/ff6f32f853316f07a6701ea41379b1ea]
Please, take a look.
{noformat}
# Run complete. Total time: 00:04:14
Benchmark Mode Cnt Score Error Units
Ignite425CQBenchmark.testMethod thrpt 10 18168,916 ± 218,356 ops/s
Ignite425CQBenchmark.testMethod:listenerExecuted thrpt 10 18168,866 ± 218,290 ops/s
Ignite425CQWTBenchmark.testMethod thrpt 10 18245,549 ± 677,447 ops/s
Ignite425CQWTBenchmark.testMethod:listenerExecuted thrpt 10 18245,529 ± 677,447 ops/s
{noformat}
was (Author: nizhikov):
Hello, [~avinogradov]!
Thank you!
I resolve all issues in upsource.
I also make some benchmarks, as you advised:
Source of benchmark - https://github.com/nizhikov/ignite-425-benchmark
Results - [https://gist.github.com/nizhikov/ff6f32f853316f07a6701ea41379b1ea]
Please, take a look.
{noformat}
# Run complete. Total time: 00:04:14
Benchmark Mode Cnt Score Error Units
Ignite425CQBenchmark.testMethod thrpt 10 18168,916 ± 218,356 ops/s
Ignite425CQBenchmark.testMethod:listenerExecuted thrpt 10 18168,866 ± 218,290 ops/s
Ignite425CQWTBenchmark.testMethod thrpt 10 18245,549 ± 677,447 ops/s
Ignite425CQWTBenchmark.testMethod:listenerExecuted thrpt 10 18245,529 ± 677,447 ops/s
{noformat}
> Introduce transformers for continuous queries
> ---------------------------------------------
>
> Key: IGNITE-425
> URL: https://issues.apache.org/jira/browse/IGNITE-425
> Project: Ignite
> Issue Type: Sub-task
> Components: cache
> Affects Versions: 2.2
> Reporter: Yakov Zhdanov
> Assignee: Nikolay Izhikov
> Priority: Major
> Fix For: 2.5
>
>
> Currently if updated entry passes the filter, it is sent to node initiated the query entirely. It would be good to provide user with the ability to transform entry and, for example, select only fields that are important. This may bring huge economy to traffic and lower GC pressure as well.
> Possible signatures will be:
> {noformat}
> public final class ContinuousQuery<K, V, T> {..} // T is a type transformer transforms to
> public ContinuousQuery<K, V, T> setLocalListener(Listener<T> locLsnr) {..} // Probably, we will have to introduce new listener type, since user may want to wipe out key as well.
> /* new method to add */
> public ContinuousQuery<K, V, T> setRemoteTransformerFactory(Factory<? extends ContinuousQueryTransformer<K, V, T>> factory) { ..}
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)