[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Setting MV session ID from outside of Minivend.]]
****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
Quoting Hans-Joachim Leidinger (jojo@buchonline.net):
>
> Mike Heins schrieb:
> >
> > The thing is, Minivend has nothing to do with this. We use the Perl
> > Socket.pm and standard IO to do our reads. I do not want to have to
> > start getting down on the raw socket level. Minivend works too well as is.
> >
> > AS I SAID: I DO NOT HAVE TIME TO GET INTO THESE GUTS. That is one
> > of the reasons I use Perl, and one of the reasons one person is able
> > to maintain an app the size of Minivend.
> >
> > If someone wants to take on re-writing the Perl socket I/O layer
> > for BSD, I would welcome this. IT WILL NOT BE ME.
> >
>
> Mike,
>
> I'm so sorry!
> I want not to angry you!
I wasn't too angry. I don't like man pages quoted at me when I obviously
know at least something of what I am talking about.
The problem is well-known by the Perl porters, and there is no easy
solution. The thing is, that if you have interruptible system calls
that don't do rewinds, like BSD does, you cannot use signals at all
and expect reliability. (Some say signals are just plain not reliable
in Perl and you shouldn't use them at all. In fact, every few months I
get a segfault on a Linux-based or Solaris-based system due to the same
cause. But it is very, very, rare, and I find it acceptable.)
As I said, and now I am repeating myself; I am not knocking BSD. It is a
fine operating system by all accounts. I am sure many of the I/O decisions
they have made have something to do with its speed and reliablity. It just
doesn't work as well with Perl as some others do. I believe part of this
is because Perl people got frustrated with some of the BSD maintainers
and their past disrespect for script- or Perl-based software. This has
changed considerably in the last couple of years, and I have not seen
the same level of problem as before. But I do frequently see problems
with BSD that never come up on other OSes, and I believe that is why.
--
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list