If you have two different card , you have to configure two mux and two channel adopter XML files .
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/307c41d7-180f-4985-82e3-3ae7a9010472n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAGCvrBT%3D_9mF5yoJJ5o86Ewxyhrj3jEXLKLG2TF%3DDLkSj8HPQ%40mail.gmail.com.
SpaceFactory.getSpace("transient:xyz");
SpaceFactory.getSpace("tspace:xyz");
you will hit
if (TSPACE.equals (scheme) || TRANSIENT.equals (scheme)) {
sp = new TSpace();
}
This is also how the channeladaptor creates the space defined by the property.
sp = grabSpace (persist.getChild ("space"));
protected Space grabSpace (Element e) {
return SpaceFactory.getSpace (e != null ? e.getText() : "");
}
-chhil
In addition to what Chill said, you don't need two spaces, just having different queues is enough for how you are trying to solve your problem.
But furthermore, I don't see how using different queues will improve the time to process the more critical service, unless you know the culprit is the other transaction manager to be under heavy load and it frequently has many transactions in the queue, and you expecting the other service have way less load.
You would need to verify that is the issue before trying to make your system more complex. But even if that is the issue using the default configuration for the Query host participant that uses continuations would be enough. And if it's not, then it is because the server isn't enough and you would need to split your jPOS in two instances running in different servers. But this is unlikely in a test environment unless you are testing heavy load, or your production service is under a so very heavy load that seems unlikely or the server is too modest for that load.
The issue may also be on the destination server not able to process the log, but we can't say nothing about that with the information you provided so far.
So, my advice, before trying to move forward with this configuration, really assess why your transactions are timing out.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/ab93b7dc-aa34-40a6-9d00-a7e19593b57fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/ab93b7dc-aa34-40a6-9d00-a7e19593b57fn%40googlegroups.com.
Andrés Alcarraz
If the queue is always full, and increasing the number of session doesn’t help, then the problem is not that they are in the same queue, but that the hardware, or the usage of the hardware by the software, isn’t enough to process the load. In that case, splitting the transactions in two queues would not help.
That’s what I tried
to explain in a previous response. The transaction manager
process the transactions in parallel, and by using
continuations, like it is the default in the QueryHost
participant, don’t even block the queue.
I’m not saying you should not use different transaction managers, you should if the business logic is different, I’m not sure that you are doing it for the right reason.
So far, I don’t understand what is the exact issue you are facing. Are the transactions of the fast track being delayed? If you have a hunch that what ever problem you are facing is due to something, before changing the implementation, you better find a way to test your hypothesis. I cannot help you do that because you haven’t shared enough of your configuration to understand where the block could be happening.
If you have the same logic in the two transaction managers with the same participants, if one of those participants is the cause of the delay; having them in a different transaction manager with a different queue, will not solve your issue.
Kind regards.
Andrés Alcarraz
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/e93e881c-d849-43f1-ac85-fe0af831b78bn%40googlegroups.com.
Reads like you are taking from the input queue with a single thread.
Perhaps share your Qbean configuration or describe it accurately so we might see?
--
Mark
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/e93e881c-d849-43f1-ac85-fe0af831b78bn%40googlegroups.com.
What's the TPS of transactions coming in from position and TPS of your system handling those requests?
If you see postilion TPS way higher than your handling you know your system is not processing fast enough.
You should put a timestamp in your first participant (put it in the context) and timestamp before the transaction leaves your system, the difference tells you how long you are taking.
Your log should show you the head and tail of your queue, head should be as close to the tail , this indicates you are processing transactions at the rate they are coming in.
2GB does appear to be very low.
How many sessions are configured for your txn mgr?
Do you have sufficient connections to your outbound entity?
Is the transaction build up due to timing out and postilion is sending you saf'd reversal advices or repeats ?
-chhil
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/67724d84-55cc-4aa9-8b1f-e79c975a630bn%40googlegroups.com.
You really need to ask the admins of the Postillion system you are serving responses for what they see from their perspective - that is what I think matters.
For me you have not yet described the flow or the perceived problem in any detail to help here.
I wonder if you are perhaps returning a response on a different network connection tonthat it arrived on - is the allowed and can the requestor do the matching, do they expect to have to?
--
Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/a565adcb-0b47-4081-a6bc-5cc92d6abb43n%40googlegroups.com.
The timing in the transaction you have does not have the time included for when you got the transaction, put it in a context and in the queue.
So what you need is getting the profiler when you are preparing the context put a checkpoint called "inqueue' so that the log includes the inqueue time . So when you see the end the inqueue time is added.
We also put a timestamp in there when populating the context. So before sending the transaction out we calculate the difference of now - timestamp and see if it's beyond the threshold and not send it. Threshold would be a time I know will result in postilion timing out and reversing , so there is no point sending it out.
If the difference between head and tail becomes large you are not processing fast enough.
I also think the overhead of your large number of sessions is causing an issue. You should do a load test to determine it , I would try something much lower like 200.
-chhil
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/BadtYuMn84N9g_Sx-sR8UqOxZ0MLC8UoGhgll37pPTOeqMnIcka5ImqcSxRVoDOqgBM88GZTNIdcmhFOeDQHxhfC17T1JUwp4y_LkUWtO7o%3D%40pm.me.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/67724d84-55cc-4aa9-8b1f-e79c975a630bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/289678f9-d70f-4a7c-9cd7-54e4d7dbc74dn%40googlegroups.com.