On 12/28/17, Olivier Mascia <[email protected]> wrote:
>
> Is "fossil server" generally deemed sufficient for a small LAN (lab) of
> let's say < 10 developers each with their own clone ?
> Or should a proper HTTP server be used as front end to SCGI mode of fossil?

The "fossil server" command *should* be sufficient for this.  However,
it doesn't get used that much.  Most people run from a proper HTTP
server of some kind.  Consequently, it is possible for bugs to linger
in "fossil server" without anybody noticing.  One such performance
bug, that had been in the code for over 10 years, was fixed just
before Chrismas
(https://www.fossil-scm.org/fossil/info/05ec15cad53e8176).  That
particular fix applies to unix systems only, but there might be
similar problems on the windows side.

As a test of last weeks' fix, I am currently running a clone of the
Fossil self-hosting repository using the "fossil server" command in a
datacenter near Paris on a machine that is approximately equal to a
Raspberry Pi.  The clone is internet-facing
(http://www4.fossil-scm.org/) and so far seems to be holding up fine.

I just took a peek at the code for "fossil server" on windows.
(Unlike most other commands in fossil, the "fossil server" command
requires a separate implementation in windows.)  I am reminded that
windows is not the ideal platform on which to host a web server and
that compromises had to be made in the implementation.  It *should*
work. And it does work fine for things like "fossil ui".  But if you
start hitting it with any kind of load, I can see that it might easily
bog down.  Probably it will take someone with more windows-foo than me
to fix that.

So if you are having problems using "fossil server" on Windows, you
might do well to set up a Raspberry PI (or the equivalent) in the
corner of the room and run "fossil server" there instead, using the
latest "trunk" version of Fossil that contains the Christmas-eve patch
for the "fossil server" inefficiency.
-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to