Application: Feed fetching service #57

Closed
opened 2017-07-09 22:48:11 -04:00 by jking · 1 comment
Owner

A service for fetching feeds on a schedule is essential.

There's a few ways of implementing this:

  1. Use PHP's pthreads extension to fetch, parse, and store feeds concurrently
  2. Use popen() to spawn Arsse CLI instances to process feeds
  3. Use curl_multi_init() to make concurrent HTTP calls to the Arsse server
  4. Use a mundane PHP script to process feeds serially

It may make sense to implement all four of these, picking the best of whatever is available in a given environment.

A service for fetching feeds on a schedule is essential. There's a few ways of implementing this: 1. Use PHP's pthreads extension to fetch, parse, and store feeds concurrently 2. Use `popen()` to spawn Arsse CLI instances to process feeds 3. Use `curl_multi_init()` to make concurrent HTTP calls to the Arsse server 3. Use a mundane PHP script to process feeds serially It may make sense to implement all four of these, picking the best of whatever is available in a given environment.
Author
Owner

Experimental services exist for 2, 3, and 4.

Experimental services exist for 2, 3, and 4.
jking closed this issue 2017-07-27 09:22:14 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

-

Dependencies

No dependencies set.

Reference: MensBeam/Arsse#57
No description provided.