1. A computer-implemented method comprising: receiving, at a processor, a plurality of queries, wherein individual queries of the plurality of queries are associated with respective data stream sources and comprise processor-executable instructions to read from the associated data stream sources; selecting a first computing entity of a plurality of computing entities on the basis of both: a first measure of load balancing between the plurality of computing entities; and a second measure of communications traffic cost between the data stream source associated with a first query of the plurality of queries and the first computing entity; sending first control instructions to the first computing entity to trigger the first computing entity to install the first query; selecting a second computing entity of a plurality of computing entities on the basis of both: a third measure of load balancing between the plurality of computing entities; and a fourth measure of communications traffic cost between the data stream source associated with a second query of the plurality of queries and the second computing entity; sending second control instructions to the second computing entity to trigger the second computing entity to install the second query; after sending the first control instructions to the first computing entity and sending the second control instructions to the second computing entity, rebalancing the first query and the second query, and allocating a third query of the plurality of queries, by selecting a third computing entity, a fourth computing entity, and a fifth computing entity of the computing entities on the basis of both: a fifth measure indicating load balancing between the third computing entity, the fourth computing entity, and the fifth computing entity with respect to the first query, the second query, and the third query; and a sixth measure indicating a communications traffic cost between: at least one of the third computing entity, the fourth computing entity, and the fifth computing entity; and at least one data stream source associated with at least one of the first query, the second query, or the third query; sending control instructions to the first computing entity to trigger the first computing entity to move the first query off the first computing entity; sending control instructions to the second computing entity to trigger the second computing entity to move the second query off the second computing entity; sending control instructions to the third computing entity to trigger the third computing entity to install the first query; sending control instructions to the fourth computing entity to trigger the fourth computing entity to install the second query; and sending control instructions to the fifth computing entity to trigger the fifth computing entity to install the third query.