CPC H04L 51/234 (2022.05) [G06Q 10/107 (2013.01); H04L 41/0663 (2013.01); H04L 45/22 (2013.01); H04L 45/28 (2013.01); H04L 45/306 (2013.01); H04L 51/06 (2013.01); H04L 51/212 (2022.05); H04L 51/214 (2022.05); H04L 51/48 (2022.05); H04L 67/01 (2022.05); H04L 67/10 (2013.01); H04L 67/125 (2013.01); H04L 67/561 (2022.05); H04L 69/08 (2013.01)] | 17 Claims |
1. A method for relaying electronic messages between connected gateway servers, the method comprising:
receiving, at a first gateway server of a plurality of gateway servers, an electronic message from a sender associated with a first client device to a recipient associated with a second client device, the second client device being hosted by a second gateway server of the plurality of gateway servers;
determining a sequence for the plurality of gateway servers that starts at the first gateway server and ends at the second gateway server;
assigning a first chain of the gateway servers in the sequence to the first client device associated with the sender of the electronic message, the first chain starting at the first gateway server and ending at a third gateway server of the sequence that is prior to the second gateway server; and
for each of the gateway servers in the sequence,
sending the electronic message to a subsequent gateway server in the sequence,
storing the electronic message in a respective message queue associated with at least one of the sender or the recipient, and
based on expiration of a specified time period, removing the electronic message from the respective message queue and storing a copy of the electronic message in an external storage.
|