Resource management plays a very important role in a grid or P2P computing environment. A global name space RSDictionary is presented to organize distributed resources based on the name instead of their hosting information such as the IP address and/or server name, etc. The RSDictionay defines a logical view and a physical view to manage the resources of such distributed environments to satisfy the efficiency requirements. The physical view organizes the resources into a static B-tree-like structure and mimics the organization of a dictionary, while the logical view is constructed at runtime according to the needs of a specific task. With the RSDictionary global name space, the computation resources can be solely deployed and referred by their name, and a local synchronization model is also introduced to minimize the maintenance costs.