Unreal3.2 Win32 service or regular app?
Unreal3.2 Win32 service or regular app?
i am not running win 2000 adanvanced server, and i run unreal3.2 if i were to run the server as a service, would i be able to host more users and have less lag (better performance basically) then if i were to run it as a regular application?
Personally, I can't see why there would be a difference. If there is something different in the way Windows does background services as opposed to normal applications (Note: by default Windows will give resources to the most foreground application but this can be changed in the System Properties.) then by all means chose which one is best...
However, choosing NT Service gives you these advantages:
1) Unreal can start the instant the machine is booted - no need to login or anything.
2) As Unreal runs as NT AUTHORITY\System, permissions should never be a problem... of course this has security implications as well, but if you run your server properly, you should have little need to worry about this...
3) If Unreal should crash (and of course, no program should ever crash but one can't say all the bugs have been squashed yet
), Service Control Manager can automatically restart it, run another file (for example, you can code a seperate daemon that will pick up the .core file from the Unreal directory and mail it to codemastr or post it on the bug forum automatically (good luck
), and then restart the IRCd), or reboot the system (if it should be necessary).
However, choosing NT Service gives you these advantages:
1) Unreal can start the instant the machine is booted - no need to login or anything.
2) As Unreal runs as NT AUTHORITY\System, permissions should never be a problem... of course this has security implications as well, but if you run your server properly, you should have little need to worry about this...
3) If Unreal should crash (and of course, no program should ever crash but one can't say all the bugs have been squashed yet
Boy did that give me ideas!
Thanks aquanight
Thanks aquanight
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Automatically sending bug reports is a very bad idea. You wouldn't want to flood the mail accounts/forums with lots of reports about the same bug in every minutes, would you? (Because you can never be 100% sure your ircd won't crash at startup). You'd better report bugs at bugs.unrealircd.org, and only if you are sure you aren't reporting the same one.
-
codemastr
- Former UnrealIRCd head coder
- Posts: 811
- Joined: Sat Mar 06, 2004 8:47 pm
- Location: United States
- Contact:
Well you're right, but you are also wrongPersonally, I can't see why there would be a difference. If there is something different in the way Windows does background services as opposed to normal applications (Note: by default Windows will give resources to the most foreground application but this can be changed in the System Properties.) then by all means chose which one is best...
-- codemastr
Well, yeah, not loading the GUI and other stuff does indeed make it use a bit less resources, but there's also the point I mentioned where, by default, Windows will give more resources to foreground applications than NT Services. While this option can be changed to share resources evenly, the default setting somewhat offsets the resources saved...