AT&T: Parallel requests over the same socket connection.

Bug #1100362 reported by Ben Kietzman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
servicejunction
Fix Released
Medium
Ben Kietzman

Bug Description

AT&T has requested an enhancement. They have various connections setup to interface with the Service Junction. The connections stay up 24x7. Multiple requests are sent on the socket. Each request is handled using FIFO logic. There is a concern that requests could become backlogged on the socket.

Revision history for this message
Ben Kietzman (ben-kietzman) wrote :

A possible solution would be to add a keyword to the first line of every request that would trigger the Service Junction to handle that request in parallel instead of FIFO. Then if the keyword exists, multiple incoming requests would be handled in parallel and their associated responses would have the possibility of being written back in mixed order.

FIFO vs parallel request handling would be triggered based on the keyword in the first line of each request. So if there were three incoming requests where the first and third requests had the keyword and the second did not, then in essence the first two requests would run at the same time while the third request would have to wait until the second completed.

description: updated
Changed in servicejunction:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Ben Kietzman (ben-kietzman)
status: Triaged → In Progress
Revision history for this message
Ben Kietzman (ben-kietzman) wrote :

Added the new logic. The new keyword is "ProcessType". Setting the field to "parallel" will trigger the new logic for that particular request. The new logic is now in a soak period to make sure no bugs were introduced.

Changed in servicejunction:
status: In Progress → Fix Committed
Changed in servicejunction:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.