Ticket #1340 (new enhancement)

Opened 14 years ago

Last modified 13 years ago

Refresh should be done by an asynchronous process

Reported by: fguillaume Owned by: trac
Priority: P2 Milestone: CPS 3.5.7
Component: CPSRSS Version: 3.4.0
Severity: normal Keywords:


Refreshing a feed shouldn't be done by the thread that reads data, but should be done by an external process. Otherwise there's a much bigger risk of write conflict errors.

ClockServer would be a good use for that.

Change History

comment:1 Changed 14 years ago by jmorliaguet

What about adding a RAMCache with the channel_id as a keyset? I've done that with some custom CPS Widgets to avoid this type of problem.

comment:2 Changed 14 years ago by jmorliaguet

PS: this is not related to the thread issue, but to the conflict errors and to the ZODB in general. CPSRSS shouldn't store cached data in the ZODB in the first place.

comment:3 Changed 14 years ago by fguillaume

  • Milestone changed from CPS 3.5.0 to CPS 3.4.1

I totally agree, the cached channels should be in a RAMCache.

comment:4 Changed 13 years ago by sfermigier

  • Type changed from defect to enhancement
  • Milestone changed from CPS 3.4.1 to CPS 3.4.2
Note: See TracTickets for help on using tickets.