Mouse moves are submitted to an AWS SQS Queue
Use the grey canvas on the left to draw a shape with the mouse while you hold down the left mouse button.
As you draw, messages will be sent to an SQS containing information about the X & Y coordinates of the mouse. These messages will be received by the browser polling the same SQS queue, and rendered on the right-hand canvas.
Notice how the points are drawn out of order on the right-hand side?
This is because messages received via an SQS are received in an indeterminate order. This is a characteristic of the standard SQS queue.
Events read from Queue and plotted on canvas