followtherhythm
Joined 10 years ago
Karma
18
Submissions
15
Member since
May 13
Joined 10 years ago
To be honest Storm's API is richer. Our approach however was to make stream processing available to all developers. It doesn't get simpler than four callbacks:
void init(CtxPtr context);
void destroy();
void processRecord(CtxPtr context, FrameworkRecord &&r);
void processTimer(CtxPtr context, const string &key, int time);
Metadata metadata();[1]: https://github.com/concord/concord-jvm/tree/master/concord_k...
As for how it affects redpanda, currently we are working on exposing metrics via Prometheus. All of this work occurs on background threads, so the only way it would affect throughput is if enough coprocessors are deployed with enough actual work that would eventually start to fill up our seastar reactors.