Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In scope of this the ticket (

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODPUBSUB-64
) were created 2 new sample modules were created locally . They were and registered as 'publisher' and 'subscriber' in the 'mod-pubsub'.

After that, new mechanism on sending the A specific number of events with counter were sent from publisher to subscriber module was created. This mechanism working through 'Okapi' and 'mod-pubsub'. It was created without any timeouts between publishing eventsevent.

You can see the schema of this flow below: 



Then, we run 'Testing was performed locally on 'folio/snapshot-backend-core' vagrant box with specific resources parameters: CPUS=8; Memory=25GB 


MemoryTotal countPayload sizeRequest time (from publisher module to pub-sub)Result (Subscriber`s received events number)
mod-pubsub682MB30012 KB

First req: 1006ms

Last req: 2931ms

300
Okapi768MB50012 KB 

First req: 1452ms

Last req: 5873ms

416
Kafka
70012 KB

First req: 9081ms

Last req: 14019ms

552



As a result, we have that if in case the number of events is more than 500, then some events published by the first module were not received by another. This is an issue for further investigation: 

...