Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19758
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java daemon |
| Date | 2012-11-15 02:09 +0000 |
| Organization | UK Free Software Network |
| Message-ID | <k81isp$v9c$1@localhost.localdomain> (permalink) |
| References | (4 earlier) <50a1b94b$0$294$14726298@news.sunsite.dk> <k7ueha$5v6$1@localhost.localdomain> <50a2ca3d$0$281$14726298@news.sunsite.dk> <k812nj$r2j$1@localhost.localdomain> <50a41358$0$291$14726298@news.sunsite.dk> |
On Wed, 14 Nov 2012 16:55:33 -0500, Arne Vajhøj wrote: > On 11/14/2012 4:33 PM, Martin Gregorie wrote: >> On Tue, 13 Nov 2012 17:31:22 -0500, Arne Vajhøj wrote: >> >>> You know what a daemon is. >>> >>> Besides the web integration with Apache and IIS that accounts for 99+% >>> of PHP usage, then PHP also comes with a command line utility. >>> >>> So you can write a daemon in PHP and run it via the command line >>> utility. >>> >> Thanks for the clarification. I thought you must have been talking >> about some special PHP daemonising framework or library. > > Nope. Just not very good at explaining what I meant. > Probably same here. I have written a batch-type program in PHP but would probably not do it again because I think there are better languages for that. This program walks a directory structure, generating thumbnails of all the images it finds. Its companion (still in PHP under Apache) generates menus if thumbnails on the fly. Its first cut generated the thumbnails as needed, but that was deadly slow, hence the overnight batch directory walker. I ended up rewriting the thumbnail generating program in Java and dumping the PHP version when I needed a non-trivial enhancement (the ability to generate permanent HTML menu pages. As a bonus, the Java version is significantly faster which is quite surprising considering its run is fairly short - 2-3 seconds on a typical run when it finds nothing to do in the 600+ directories it looks at. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Java daemon "sl@exabyte" <sb5309@hotmail.com> - 2012-11-12 22:17 +0800
Re: Java daemon David Lamb <dalamb@cs.queensu.ca> - 2012-11-12 09:25 -0500
Re: Java daemon "sl@exabyte" <sb5309@hotmail.com> - 2012-11-12 23:55 +0800
Re: Java daemon Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-12 22:07 +0000
Re: Java daemon "sl@exabyte" <sb5309@hotmail.com> - 2012-11-13 10:56 +0800
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-12 22:08 -0500
Re: Java daemon "SL" <sb5309@hotmail.com> - 2012-11-13 13:59 +0800
Re: Java daemon Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-13 21:50 +0000
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-18 16:43 -0500
Re: Java daemon Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-19 01:05 +0000
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-18 20:41 -0500
Re: Java daemon Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-20 00:32 +0000
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-19 20:07 -0500
Re: Java daemon Arved Sandstrom <asandstrom2@eastlink.ca> - 2012-11-19 20:38 -0400
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-19 20:22 -0500
Re: Java daemon Arved Sandstrom <asandstrom2@eastlink.ca> - 2012-11-20 17:46 -0400
Re: Java daemon Lew <lewbloch@gmail.com> - 2012-11-18 20:10 -0800
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-19 10:50 -0500
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-12 22:06 -0500
Re: Java daemon Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-13 21:36 +0000
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-13 17:31 -0500
Re: Java daemon Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-14 21:33 +0000
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-14 16:55 -0500
Re: Java daemon Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-15 02:09 +0000
Re: Java daemon "SL" <sb5309@hotmail.com> - 2012-11-13 14:40 +0800
Re: Java daemon Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2012-11-12 23:39 -0800
Re: Java daemon "SL" <sb5309@hotmail.com> - 2012-11-13 16:16 +0800
Re: Java daemon Arved Sandstrom <asandstrom2@eastlink.ca> - 2012-11-13 06:37 -0400
Re: Java daemon David Lamb <dalamb@cs.queensu.ca> - 2012-11-13 08:46 -0500
Re: Java daemon "John B. Matthews" <nospam@nospam.invalid> - 2012-11-13 21:23 -0500
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-18 16:52 -0500
Re: Java daemon markspace <-@.> - 2012-11-18 14:02 -0800
Re: Java daemon jlp <jlp@jlp.com> - 2012-11-19 20:39 +0100
Re: Java daemon "SL@maxis" <ecp_gen@my-rialto.com> - 2012-11-20 15:23 +0800
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-12 09:41 -0500
Re: Java daemon Jim Janney <jjanney@shell.xmission.com> - 2012-11-12 14:24 -0700
Re: Java daemon Lew <lewbloch@gmail.com> - 2012-11-12 13:35 -0800
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-12 22:05 -0500
Re: Java daemon Arne Vajhøj <arne@vajhoej.dk> - 2012-11-18 16:40 -0500
csiph-web