Sujet : Re: Apache + mod_php performance
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 03. Oct 2024, 02:57:06
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdktli$3dnpf$9@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla Thunderbird
On 10/2/2024 9:18 PM, Lawrence D'Oliveiro wrote:
On Wed, 2 Oct 2024 20:51:54 -0400, Arne Vajhøj wrote:
On 10/2/2024 8:44 PM, Lawrence D'Oliveiro wrote:
The C runtime can wrap it in the same sort of thing it does for any
other channel.
>
It would have to reimplement a lot of RMS functionality to be able to
properly work with VMS files in an efficient manner.
I don’t see why RMS needs to come into it at all. RMS seems like a poor
fit for the whole stdio/POSIX I/O model.
Process A creates a text file and start writing to it, process A send
the channel to process B, process B want to write more data to it.
B send "ABC\n" to wrapper.
What does the wrapper write to disk?
RFM=STMLF : 0x41 0x42 0x43 0x0A
RFM=VAR : 0x03 0x00 0x41 0x42 0x43 0x00
RFM=VFC : ...
RFM=FIX MRS=512 : ...
And that is just for sequential files. We also got index-sequential
and relative files.
Yes - C IO and RMS IO are not easy to align, but we have RMS whether we like it or no.
Arne