Use cross-platform resource management in Scalability sample.