[p4] Why run Reviews as Daemons?

David Birkhead daveb at data-pipes.com
Mon May 22 08:11:56 PDT 2006


The main advantage is performance. Doing anything other than a quick 
query can me expensive and drastically slow down the performance of 
your Perforce server.  A review daemon on the other hand is a 
separate process. It can even be run on a separate computer. Because 
it is completely separate from Perforce is won't slow it down.

-Daveb

At 05:39 AM 5/22/2006, Weintraub, David wrote:
>When I first setup my review daemon, I set it up as a daemon as Perforce
>recommended. However, I quickly decided to modify the script to act as a
>post-submit trigger.
>
>By making the review daemon a trigger, you solve the types of problems
>that Keri-Lyn is having. Plus, since you are dealing with a single
>changelist, you can include the description, and even set up the email
>message, so that any replies will go back to the person who made the
>change.
>
>So, why does Perforce talk about setting up the review process as a
>daemon instead of a trigger? Do sites only run such a daemon once or
>twice per day? Does making this a trigger slow down Perforce?
>
>
>-----Original Message-----
>From: perforce-user-bounces at perforce.com
>[mailto:perforce-user-bounces at perforce.com] On Behalf Of Mullis,
>Keri-Lyn
>Sent: Friday, May 19, 2006 3:09 PM
>To: perforce-user at perforce.com
>Subject: [p4] Python Review Daemon Script
>
>The issue is that the script won't stay running on the Perforce machine.
>How I am doing this now, is remote desktop to the machine, log in as
>myself, and run the python script.  The problem is that after a certain
>amount of time, the server logs me out and shuts off anything that was
>running.
>
>
>
>I have a internal company ticket open for this issue, hoping they could
>set up the script to run as a service.  Not much progress being made
>there.  I suggested possibly being able to modify my profile so that it
>would keep me logged in (but locked) so that the script will continue to
>run.
>
>
>
>Is there an easy or obvious way to make this run as a windows service?
>
>
>
>I wanted to know if any of you had any ideas as to how this could be
>done, either as a service or something (anything) else.  I contacted
>tech support at Perforce but I'm not sure they understood the issue, as
>their response was to make an "at" command in windows calls the script
>periodically.  That won't work if I can't stay logged in!
>
>
>
>It's kind of a pain to keep the remote session open and having to keep
>checking it all day - and when I leave at the end of the day it's only a
>matter of time before it logs me out and shuts off.
>
>
>
>Any ideas?
>
>
>
>
>
>Keri-Lyn Mullis
>
>Release Engineer/IT Production Control
>
>First Marblehead
>
>kmullis at firstmarblehead.com
>
>Medford:     (781)-658-5019
>
>
>
>
>
>*This e-mail and any attachments may contain content protected under
>federal law and is also confidential and proprietary in nature.
>If you received this message in error, please notify the sender
>immediately and delete the original and destroy all copies of the
>message and any attachments. Any other use of this e-mail by you
>including retaining, using, copying, distributing, or otherwise
>disclosing this information in any manner is prohibited.
>
>_______________________________________________
>perforce-user mailing list  -  perforce-user at perforce.com
>http://maillist.perforce.com/mailman/listinfo/perforce-user
>_______________________________________________
>perforce-user mailing list  -  perforce-user at perforce.com
>http://maillist.perforce.com/mailman/listinfo/perforce-user


More information about the perforce-user mailing list