On Nov 26, 2007 7:56 PM, namotco <[EMAIL PROTECTED]> wrote: > Well, I'm actually using this in an AJAX thing to update 3-4 times a > second so opening and closing a file probably is undesirable.
If you're only doing it three or four times a second, the overhead from a file read or database query is negligable. However, if you expect to get updated information every time, that could be a problem. Writing to a file 4 times per second is much worse than reading from it. If you do want to use POE, I think there's an example that tails a file which might be a good place to start. - Perrin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users