Patent attributes
In an example embodiment, a load balancing-capable application container at a first network endpoint comprises an analysis component, a communicator component, and a user application, the user application comprising a first portion containing one or more functions executable by either the first network endpoint or a second network endpoint and a second portion containing one or more functions executable by the first network endpoint but not the second network endpoint. The user application is executed, causing invocation of a first function in the first portion. One or more metrics are obtained from the first network endpoint and the second network endpoint. A real-time aggregate score for the first function is calculated based on the one or more metrics. It is then determined whether to execute the first function on the first network endpoint or the second network endpoint based on a comparison of the real-time aggregate score to a threshold.