in reply to Which feed method?
WAT? File read and process is probably always going to be less intensive than HTTP request. You have to parse the RSS for both. Don’t read the file repeatedly all the time; either respect the TTL from the feed or stat the file to see if it’s fresh. The HTTP requires, depending on webserver technique, a server side file read too so there are additional clock costs hidden there. How you parse the RSS is going to matter too. I am a bit out of the loop but I would assume that XML::RSS::LibXML would be the most performant choice. You know what they say about assumptions and performance. :P
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Which feed method?
by hankcoder (Scribe) on May 08, 2016 at 05:48 UTC | |
by Your Mother (Archbishop) on May 08, 2016 at 06:38 UTC | |
by RonW (Parson) on May 10, 2016 at 01:07 UTC | |
by hankcoder (Scribe) on May 10, 2016 at 14:49 UTC | |
by RonW (Parson) on May 10, 2016 at 17:19 UTC | |
by hankcoder (Scribe) on May 10, 2016 at 17:17 UTC |