Skip to main content
edited body
Source Link
Vaccano
  • 4.1k
  • 5
  • 35
  • 39

I plan to do this by creating an "Input Queue" for each instance of my load balanced services. I will take the input (Either User or what was labeled "Queue" in my question) and put them in a queue. I intend to hash a key value that is in both inputs and use that hash to select the queue the input goes in. This will ensure that one queue (and one service instance) will get both inputs and that they will happen synchronously.

Once I can ensure that, I can wait till I get both messages and then perform the operation for the service (Like Lacy indicated). (SaveSafe from any race condition issues.)

I plan to do this by creating an "Input Queue" for each instance of my load balanced services. I will take the input (Either User or what was labeled "Queue" in my question) and put them in a queue. I intend to hash a key value that is in both inputs and use that hash to select the queue the input goes in. This will ensure that one queue (and one service instance) will get both inputs and that they will happen synchronously.

Once I can ensure that, I can wait till I get both messages and then perform the operation for the service (Like Lacy indicated). (Save from any race condition issues.)

I plan to do this by creating an "Input Queue" for each instance of my load balanced services. I will take the input (Either User or what was labeled "Queue" in my question) and put them in a queue. I intend to hash a key value that is in both inputs and use that hash to select the queue the input goes in. This will ensure that one queue (and one service instance) will get both inputs and that they will happen synchronously.

Once I can ensure that, I can wait till I get both messages and then perform the operation for the service (Like Lacy indicated). (Safe from any race condition issues.)

The way I am planningplan to do this is to makeby creating an "Input Queue" for each instance of my load balanced services. I will take the input (Either User or what was labeled "Queue" in my question) and put them in a queue. I planI intend to hash a key value that is in both inputs and use that hash to select the queue the input goes in. This will ensure that one queue (and one service instance) will get both inputs and that they will happen synchronously.

Once I can ensure that, I can wait till I get both messages and then perform the operation for the service (Like Lacy indicated). (Save from any race condition issues.)

The way I am planning to do this is to make an "Input Queue" for each instance of my load balanced services. I will take the input (Either User or what was labeled "Queue" in my question) and put them in a queue. I plan to hash a key value that is in both inputs and use that hash to select the queue the input goes in. This will ensure that one queue (and one service instance) will get both inputs and that they will happen synchronously.

Once I can ensure that, I can wait till I get both messages and then perform the operation for the service (Like Lacy indicated). (Save from any race condition issues.)

I plan to do this by creating an "Input Queue" for each instance of my load balanced services. I will take the input (Either User or what was labeled "Queue" in my question) and put them in a queue. I intend to hash a key value that is in both inputs and use that hash to select the queue the input goes in. This will ensure that one queue (and one service instance) will get both inputs and that they will happen synchronously.

Once I can ensure that, I can wait till I get both messages and then perform the operation for the service (Like Lacy indicated). (Save from any race condition issues.)

Source Link
Vaccano
  • 4.1k
  • 5
  • 35
  • 39

The way I am planning to do this is to make an "Input Queue" for each instance of my load balanced services. I will take the input (Either User or what was labeled "Queue" in my question) and put them in a queue. I plan to hash a key value that is in both inputs and use that hash to select the queue the input goes in. This will ensure that one queue (and one service instance) will get both inputs and that they will happen synchronously.

Once I can ensure that, I can wait till I get both messages and then perform the operation for the service (Like Lacy indicated). (Save from any race condition issues.)