Finding Stable Allocations In Distributed Real-Time Systems With Multiple Environmental Parameters And Replicable Applications