A method for optimization of access points (14, 34) comprised in a Wi-Fi system by a cloud controller for the Wi-Fi system, the plurality of access points (14, 34) communicatively coupled to one another in the same Wi-Fi network, the method comprising: receiving, from the Wi-Fi system, inputs related to operation of the Wi-Fi system; performing an optimization based on the inputs to maximize an objective function which reflects real world performance and usage preferences by maximizing excess capacity for a load ratio considering a load desired by each of Wi-Fi client devices of the Wi-Fi system, and providing, to the Wi-Fi system, outputs comprising operational parameters for the Wi-Fi system based on the optimization, the outputs being used to configure the Wi-Fi system including the plurality of access points (14, 34), wherein at least one access point (14, 34) communicatively coupled to or providing access to a device providing external communication for the Wi-Fi system and with one or more remaining access points (14, 34) of the plurality of access points(14, 34) connected to one another via wireless backhaul links and to the device providing external communication for the Wi-Fi system via the at least one access point (14, 34), wherein the operational parameters comprise channels and topology for the wireless backhaul links, wherein the inputs comprise a plurality of traffic load required by each Wi-Fi client device, signal strength for each possible link, data rate for each possible link, packet error rates on each link, strength and load on in network interferers, and strength and load on out of network interferers; and wherein the outputs further comprise a plurality of channel and bandwidth selection routes and topology, Request to Send/Clear to Send, RTS/CTS, settings, Transmitter, TX, power, clear channel assessment, client association steering, band steering, Arbitration inter-frame spacing, AIFS, and Wi-Fi contention windows. receiving, from the Wi-Fi system, inputs related to operation of the Wi-Fi system; performing an optimization based on the inputs to maximize an objective function which reflects real world performance and usage preferences by maximizing excess capacity for a load ratio considering a load desired by each of Wi-Fi client devices of the Wi-Fi system, and providing, to the Wi-Fi system, outputs comprising operational parameters for the Wi-Fi system based on the optimization, the outputs being used to configure the Wi-Fi system including the plurality of access points (14, 34), wherein at least one access point (14, 34) communicatively coupled to or providing access to a device providing external communication for the Wi-Fi system and with one or more remaining access points (14, 34) of the plurality of access points(14, 34) connected to one another via wireless backhaul links and to the device providing external communication for the Wi-Fi system via the at least one access point (14, 34), wherein the operational parameters comprise channels and topology for the wireless backhaul links, wherein the inputs comprise a plurality of traffic load required by each Wi-Fi client device, signal strength for each possible link, data rate for each possible link, packet error rates on each link, strength and load on in network interferers, and strength and load on out of network interferers; and wherein the outputs further comprise a plurality of channel and bandwidth selection routes and topology, Request to Send/Clear to Send, RTS/CTS, settings, Transmitter, TX, power, clear channel assessment, client association steering, band steering, Arbitration inter-frame spacing, AIFS, and Wi-Fi contention windows.