A
computerized system of main controller that each node uses to process packets comprising: the main controller that each node uses to process packets, wherein the main controller comprises a plurality of receiving threads while receiving or transmitting a plurality of packets, and wherein when packets are received, a
payload of the packet is placed per flow into a
payload buffer, which notifies a suitable context
queue by identifying a connection and a number of bytes received, and wherein the main controller further comprises: a policy controller configured to
handle how and when a request for data and computation is performed, relayed, and cached, based on a localized cost
estimation procedure, and a mode selector configured to calibrate a sending rate, a transmission window size, and a
payload buffer size, based on a given choice complexity parameter that optimizes for a high
throughput, a loss avoidance and a low latency.