Patent ID: 11914624
Assignee: COUPANG CORP.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 9:
10. A system comprising:
non-transitory memory comprising instructions;
one or more processors configured to execute the instructions causing the one or more processors to:
receive, from a user device, a query;
parse, at a parsing module, a table property from the query;
determine whether a time complexity of the query is above an execution time threshold;
based on determining that the time complexity of the query is above the execution time threshold:
send a message to the user device comprising at least one of an indication of longer execution time, a suggestion of revisions to the query, or a notification that the query will not be sent for execution;

based on determining that the time complexity of the query is below the execution time threshold:
send a message to the user device wherein the message comprises at least one of an indication of an estimated query execution time or a notification that the query will be sent for execution;
determine whether the parsed name table property is associated with a stored table;
in response to determining an association, identify at least one cluster from among a plurality of clusters including the stored table;
identify, using a polling module, an optimal cluster from among the at least one cluster by:
determining, for each cluster of the at least one cluster, an execution lead time, a number of connections, a network latency, and an associated power consumption,
wherein the optimal cluster comprises a cluster with at least one of a least execution time, a least number of connections, a least network latency, or an associated power consumption; and
send the query to the identified optimal cluster for execution.