From: Zoran V. <zv...@ar...> - 2005-05-29 12:31:44
|
Hi friends, I would like to get some movement for this RFE since it is somehow important for us. The basics is: we'd be able to abstract (almost) all file-related operation to use the Tcl API and herewith get all the benefits of the Tcl VFS infrastructure. So, we can serve pages from ZIP files, for example, build self-contained distributions (single file containing all of the server distribition plus user application) etc. Stephen has expressed his doubts about ability to support the mmap()'ed pages and this is true. Using the Tcl VFS API, mmaped files are not supported. But, this is no big deal, IMO. Since the mmap functionality is per default disabled in standard setup I do not consider this a showstopper for the Tcl VFS. If somebody would like to use mmaped pages, he can do this anytime by properly configuring the server. I would leave this untouched. Actually, I will also touch this part in order to make mmaped pages available for Windows platform as well (which is not the case now). Needed changes would be to replace all open/close/stat/fstat and alike with their Tcl API counterparts all over the place. Also, some platform-specific wrappers need to be written in order to add Windows support for mmaped files. I would like to do this on the short term (say in couple of weeks). I'd like to get some (more) pros/cons of that and discuss them with you. Zoran |