You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Werner Brasch <we...@hmmh.de.INVALID> on 2022/01/13 08:52:03 UTC

RE: Re: Concurrency Block in a cluster&In-Reply-To=<98de79ac-8d48-2a77-8b9a-a6f97a240aec@les7arts.com>

Hello Jacques
Yes, we are using the cache-clearing and activemq for the communication between the applications.
But in the workflow we need a synchronized block, for example for searching the next "open task" in the database, the logged-in user has to work on the task.
When two users search for the next "open task " at the same time, it is possible they get the same "open task", that is what we like to prevent.

Many greetings werner

Von: Werner Brasch <we...@hmmh.de.INVALID>
Gesendet: Freitag, 17. September 2021 10:11
An: 'dev@ofbiz.apache.org' <de...@ofbiz.apache.org>
Betreff: Messaging-System ActiveMQ Performance

Hallo

We are Using the OFBiz-CRM with two instances after a loadbalancer.
So we have to make "cacheClearing" and we are Using the descripton of "https://cwiki.apache.org/confluence/display/OFBIZ/Distributed+Entity+Cache+Clear+%28DCC%29+Mechanism"
Now we have a Problem with the performance or with the configuration.
When we do multiple operations, delete 10.000 rows in a table, we got 10.000 messages and for a long period (> 10 minutes) the messages are reading.
Is it a performance problem or a configuration problem. What could be a solution?

Thank you.
Best regards.

Viele Grüße aus Bremen

Dipl. Physiker
Werner Brasch
Softwareentwickler

[Beschreibung: Beschreibung: cid:6404AF5A-9DB8-4AB8-9632-138706E07F24@hmmh.ag]

hmmh multimediahaus AG
Leading in Connected Commerce
Am Weser-Terminal 1 · 28217 Bremen
Telefon +49 421 696 50 - 353 · Telefax +49 4 21 / 6 96 50-190
www.hmmh.de<http://www.hmmh.de/> · werner.brasch@hmmh.de<ma...@hmmh.de>

Näher dran: Lernen Sie hmmh besser kennen und folgen Sie uns auf www.facebook.com/hmmh.de<https://www.facebook.com/hmmh.de>.

HR Bremen B 20536 · St.Nr. 60-102/03285 · EG Ust.-ID: DE 114413710
Vorstand: Stefan Messerknecht (Sprecher), Björn Portillo · Vorsitzender des Aufsichtsrats: Florian Haller


Re: Concurrency Block in a cluster&In-Reply-To=<98de79ac-8d48-2a77-8b9a-a6f97a240aec@les7arts.com>

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Werner,

At this stage I suggest that you create a Jira:
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Contributors+Best+Practices#OFBizContributorsBestPractices-HowtocreateaJiraissue

It seems an improvement, if not a bug, should be raised

Jacques

Le 13/01/2022 à 09:52, Werner Brasch a écrit :
> Hello Jacques
> Yes, we are using the cache-clearing and activemq for the communication between the applications.
> But in the workflow we need a synchronized block, for example for searching the next "open task" in the database, the logged-in user has to work on the task.
> When two users search for the next "open task " at the same time, it is possible they get the same "open task", that is what we like to prevent.
>
> Many greetings werner
>
> Von: Werner Brasch <we...@hmmh.de.INVALID>
> Gesendet: Freitag, 17. September 2021 10:11
> An: 'dev@ofbiz.apache.org' <de...@ofbiz.apache.org>
> Betreff: Messaging-System ActiveMQ Performance
>
> Hallo
>
> We are Using the OFBiz-CRM with two instances after a loadbalancer.
> So we have to make "cacheClearing" and we are Using the descripton of "https://cwiki.apache.org/confluence/display/OFBIZ/Distributed+Entity+Cache+Clear+%28DCC%29+Mechanism"
> Now we have a Problem with the performance or with the configuration.
> When we do multiple operations, delete 10.000 rows in a table, we got 10.000 messages and for a long period (> 10 minutes) the messages are reading.
> Is it a performance problem or a configuration problem. What could be a solution?
>
> Thank you.
> Best regards.
>
> Viele Grüße aus Bremen
>
> Dipl. Physiker
> Werner Brasch
> Softwareentwickler
>
> [Beschreibung: Beschreibung: cid:6404AF5A-9DB8-4AB8-9632-138706E07F24@hmmh.ag]
>
> hmmh multimediahaus AG
> Leading in Connected Commerce
> Am Weser-Terminal 1 · 28217 Bremen
> Telefon +49 421 696 50 - 353 · Telefax +49 4 21 / 6 96 50-190
> www.hmmh.de<http://www.hmmh.de/> · werner.brasch@hmmh.de<ma...@hmmh.de>
>
> Näher dran: Lernen Sie hmmh besser kennen und folgen Sie uns auf www.facebook.com/hmmh.de<https://www.facebook.com/hmmh.de>.
>
> HR Bremen B 20536 · St.Nr. 60-102/03285 · EG Ust.-ID: DE 114413710
> Vorstand: Stefan Messerknecht (Sprecher), Björn Portillo · Vorsitzender des Aufsichtsrats: Florian Haller
>