Hi Lin,

First of all, I would suggest using Continuous Queries [1] since this 
functionality provide much stronger delivery guarantees rather than basic 
events sub-system.

Next, how your benchmark looks like? Just want to see what and how you measure.

[1] https://apacheignite.readme.io/docs/continuous-queries 
<https://apacheignite.readme.io/docs/continuous-queries>

—
Denis

> On Jun 30, 2016, at 12:36 PM, Lin <[email protected]> wrote:
> 
> It looks like the bottleneck is the bandwidth, the eth is 1Gb, the bandwidth 
> received in the client is 121 MB, it is almost reach the physical upper bound.
> 
> Can I remove or cut off some contents in the CacheEvent? Or using the custom 
> event?
> 
> 
> ------------------ Original ------------------
> From:  "Lin";<[email protected]>;
> Date:  Thu, Jun 30, 2016 04:42 PM
> To:  "user"<[email protected]>;
> Subject:  performance of CacheEvents
> 
> Hi all,
> 
> I have one client node and two server node, the client registered only two 
> events on a specified cache "cache1" ,
>  the  EventType.EVT_CACHE_OBJECT_PUT and EventType.EVT_CACHE_OBJECT_REMOVED.
> 
> Compared with no events case, we test the cache puts operation with yardstick.
> The OPS of cache puts can reach 70K OPS in the client, but only 5K OPS in the 
> events case.
> 
> I know the housands of events per second will lead to performance 
> degradation, and I have just enable the two events.
> If I have to enable these two events, could you tell me how to or can I 
> improve the performance?
> 
> PS: My network interface's bandwitdh is 1G, and the CPU loads is 15.4%, the 
> used memory is 6.4G(total is 64G).
> 
> Best regards
> Lin

Reply via email to