Browse Prior Art Database

Controlled Server Side Execution Environment

IP.com Disclosure Number: IPCOM000014399D
Original Publication Date: 2000-Jan-01
Included in the Prior Art Database: 2003-Jun-19
Document File: 2 page(s) / 42K

Publishing Venue

IBM

Abstract

Internet Server Providers usually prohibit users to author dynamic web pages, using, for example, CGI, JavaScript, scripts Java or other kinds of scripts. This is because an errant script could consume all of the CPU time or other system resources causing the service provider's server to hang or seem to fail. This invention provides a controlled execution environment with limited (in percentage of execution and in total time per script) preemptable CPU and other resources (locks, storage,...) so that even an errant server script would not substantially impair ISP service from incorrectly or inappropriately authored web pages. The end subscriber can author their own web server scripts, enabling more flexible e-commerce options without having to own the server. The ISP would not have to worry about service on his server because the scripts would be limited in their ability to significantly impact server performance or reliability. This can be accomplished as follows. A typical ISP offers a specified amount of disk storage and provides http and ftp access to the files associated with that storage. The http and ftp service is addressed by a specific URL which can be further qualified with a hierarchical path name. Thus the ISP customer is able to create a static web site using these services. This customer may wish to augment the static site with dynamic server side support which may, for example, accept on-line e-commerce orders and collect these in a file on the ISP site, or forward such information, perhaps as email, to another location. This invention enables this as follows. When the URL is requested from the ISP server, if it contains an interactive query delimited with a question mark "?" or specifies a CGIBIN script, or other query, a thread is opened in a virtual machine on the ISP server to handle the query. The virtual machine may be Java based or be of another kind. However, the thread running on behalf of the ISP customer is limited in capability as follows:

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 2

Controlled Server Side Execution Environment

Internet Server Providers usually prohibit users to author dynamic web pages, using, for example, CGI, JavaScript, scripts Java or other kinds of scripts. This is because an errant script could consume all of the CPU time or other system resources causing the service provider's server to hang or seem to fail.

This invention provides a controlled execution environment with limited (in percentage of execution and in total time per script) preemptable CPU and other resources (locks, storage,...) so that even an errant server script would not substantially impair ISP service from incorrectly or inappropriately authored web pages.

The end subscriber can author their own web server scripts, enabling more flexible e-commerce options without having to own the server. The ISP would not have to worry about service on his server because the scripts would be limited in their ability to significantly impact server performance or reliability.

This can be accomplished as follows. A typical ISP offers a specified amount of disk storage and provides http and ftp access to the files associated with that storage. The http and ftp service is addressed by a specific URL which can be further qualified with a hierarchical path name. Thus the ISP customer is able to create a static web site using these services. This customer may wish to augment the static site with dynamic server side support which may, for example, accept on-line e-commerce orders and collect these in a file on the ISP site, or forward such information, perhaps as email, to another location. This invention enables this as follows. When the URL is requested from the ISP server, if it contains an interactive query delimited with a question mark "?" or specifies a CGIBIN script, or other query, a thread is opened in a virtual machine on the ISP server to handle the query. The virtual machine may be Java based or be of another kind. However, the thread running on behalf of the ISP customer is limited in capability as follows:

The thread is given a limited amount of CPU time per time slice of duration x

A CPU time slice is assigned to the thread only once per y units of time

The thread is limited in allocating no more than z amount of virtual memory storage

The thread is terminated after n number of time slices

The thread is permitted read and write access only to specified subtree(s) in the file system,

belonging to ISP customer. The thread is permitted to send or receive a limited amount of email in m bytes, per transaction.

The ISP customer is provided with service for J number of transactions per month, unless additional

charges are paid The thread is not charged for IP protoc...