Using a virtual machine instance as the basic unit of user execution in a server environment
First Claim
1. A method for servicing requests received by a database system in a multiple-user environment, the method comprising the steps of:
- spawning a first process executing a first virtual machine instance in response to establishing a first database session between the database system and a first user;
spawning a second process executing a second virtual machine instance in response to establishing a second database session between the database system and a second user;
responding to requests that are received by the database system in said first session by executing virtual machine code using the first virtual machine instance; and
responding to requests that are received by the database system in said second session by executing the virtual machine code using a the second virtual machine instance;
wherein said first virtual machine instance and said second virtual machine instance share access to data stored in a shared state area allocated in volatile memory associated with said server the database system.
0 Assignments
0 Petitions
Accused Products
Abstract
Techniques are provided for instantiating separate Java virtual machines for each session established by a server. Because each session has its own virtual machine, the Java programs executed by the server for each user connected to the server are insulated from the Java programs executed by the server for all other users connected to the server. The separate VM instances can be created and run, for example, in separate units of execution that are managed by the operating system of the platform on which the server is executing. For example, the separate VM instances may be executed either as separate processes, or using separate system threads. Because the units of execution used to run the separate VM instances are provided by the operating system, the operating system is able to ensure that the appropriate degree of insulation exists between the VM instances.
149 Citations
10 Claims
-
1. A method for servicing requests received by a database system in a multiple-user environment, the method comprising the steps of:
-
spawning a first process executing a first virtual machine instance in response to establishing a first database session between the database system and a first user;
spawning a second process executing a second virtual machine instance in response to establishing a second database session between the database system and a second user;
responding to requests that are received by the database system in said first session by executing virtual machine code using the first virtual machine instance; and
responding to requests that are received by the database system in said second session by executing the virtual machine code using a the second virtual machine instance;
wherein said first virtual machine instance and said second virtual machine instance share access to data stored in a shared state area allocated in volatile memory associated with said server the database system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10-16. -16. (canceled)
Specification