swiftmq perf code for senders and recievers