1

Topic: Sequence of events

There is a system of payments. The system sends payment in an external system and periodically  the status. There is class Transfer (transfer) with events SenderReject, SenderAccepted, SenderSent, ReceiverRecieved, ReceiverReject, ReceiverAccepted etc the Essence that there is a service which periodically receives on each transfer of event and can be got from the moment of the last check Transfer had time to transit 3 events. That is as a matter of fact Transfer is got goes under the column of events. Also it is necessary  to make depending on peak in system. How it to do that many macaroni did not turn out?

2

Re: Sequence of events

Hello, busk, you wrote: B> There is a system of payments. B> the system sends payment in an external system and periodically  the status. B> there is class Transfer (transfer) with events SenderReject, SenderAccepted, SenderSent, ReceiverRecieved, ReceiverReject, ReceiverAccepted etc B> the Essence that there is a service which periodically receives on each transfer of event and can be got from the moment of the last check Transfer had time to transit 3 events. B> that is as a matter of fact Transfer is got goes under the column of events. There still there can be a set of problems - for example, during handling of one event one more came on the same transfer. Or the order has been broken. Or something else. It is necessary to look aside  models with warranties. I about handling of payments within the limits of payment system told on Highload ++ and RITAS, can look for reports. Well or generally to address for consultations)

3

Re: Sequence of events

Hello, busk, you wrote: B> There is a system of payments. B> the system sends payment in an external system and periodically  the status. B> there is class Transfer (transfer) with events SenderReject, SenderAccepted, SenderSent, ReceiverRecieved, ReceiverReject, ReceiverAccepted etc B> the Essence that there is a service which periodically receives on each transfer of event and can be got from the moment of the last check Transfer had time to transit 3 events. B> that is as a matter of fact Transfer is got goes under the column of events. B> also it is necessary  to make depending on peak in system. B> as it to do that many macaroni did not turn out? To select the last event, with necessary correllation id and to cause  a method? Yes one million methods, it is banal beginning a pattern strategy.

4

Re: Sequence of events

Hello, busk, you wrote: B> That is as a matter of fact Transfer is got goes under the column of events. Can take for a change Windows Workflow Foundation and store flow in basis Sql Server. Macaroni truth will be much.

5

Re: Sequence of events

Hello, Glory, you wrote: Can take for a change Windows Workflow Foundation and store flow in basis Sql Server. To take better it not.

6

Re: Sequence of events

Hello, itslave, you wrote:> Can take for a change Windows Workflow Foundation and store flow in basis Sql Server. I> to take better it not. Well I write - for a change. "Have a lot of fun...", as wrote SUSE Linux after loading, and the fan it was valid much.