Tag Info

New answers tagged

0

If you want that only one machine at a time do something you can have a token and only the machine that "have" this token can launch the process. When a machine finish the process pass the token to other machine (randomly, round robin, to the machine who have less load...). you can pass this token via AWS or store in the database. One problem to this ...


2

Usually payment methods involve a step where your application will have to accept the payment. With PayPal it is after the customer is redirected back to your shop. Other PSPs (Payment Service Providers) will have some kind of notification, which you can accept or decline. At this point you could fulfill the order or decline the fulfillment and the payment. ...


1

You can allow the user to atomically select and "softly" lock the record by adding a timestamp to the record with when it was locked or when it will be unlocked. You prevent locked records being accessible by excluding them based on the time at locking and the lock field. Manual unlock (for a rollback/cancel) can be implemented by setting the timestamp to ...



Top 50 recent answers are included