1. A method comprising: creating a mapping of a plurality of devices of a networked computing environment, the mapping describing a relationship between a primary device and at least one device of the plurality of devices, the relationship between the primary device and the at least one device being determined as a function of real-time interactions between the primary device and the at least one device, wherein the mapping of the plurality of devices is periodically updated based on the real-time interactions; determining a plurality of potential actions to be performed on the primary device; calculating an effect of a potential action of the plurality of potential actions on the plurality of devices in response to simulating performing the potential action on the primary device, the calculated effect being updated in response to the mapping of the plurality of devices being updated; determining a monetary cost of the calculated effect of the potential action; performing an optimization action in response to the monetary cost of the calculated effect being below a predetermined threshold; and determining an optimal time to perform the potential action according to the calculated effect of the potential action, the optimal time comprising a time when the monetary cost of the calculated effect of the potential action is minimal, wherein the optimization action comprises scheduling the potential action to be performed at the determined optimal time, wherein the optimal time to perform the potential action is updated in response to the calculated effect being updated according to the real-time interactions between the plurality of devices.