Patent attributes
There is provided mechanisms for distributing resource units among instances of actors. A method is performed by a requesting runtime environment. The method comprises providing, to responding runtime environments, a request for resource units to be used by at least one of the instances when run by the requesting runtime environment. The method comprises obtaining, from the responding runtime environments, indications of amount of resource units made available from a respective one of the responding runtime environments to the requesting runtime environment. The method comprises determining, based on the obtained indications, individual amounts of resource units required by the requesting runtime environment from each of the responding runtime environments. The method comprises indicating, to the responding runtime environments, said individual amounts of resource units required by the requesting runtime environment.