If that will be configurable, let's say with --with-vfs during configure or
somehow to have the ability using low-level or Tcl interfaces, i have no
problems with it. The cases when direct calls would be necessary for high
performance sites, but in cases when performance is acceptable Tcl Vfs can be used.
-------- Original Message --------
To: Navidevel
From: Zoran Vasiljevic <[EMAIL PROTECTED]>
Subject: [naviserver-devel] RFE #1202462
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
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
- [Re: [naviserver-devel] RFE #1202462] vlad
- Re: [Re: [naviserver-devel] RFE #1202462] Zoran Vasiljevic