[reportlab-users] intermittent problem

Robin Becker robin at reportlab.com
Thu Jun 7 05:44:56 EDT 2012


On 06/06/2012 18:26, Werner Thie wrote:

> Hi Jens

>

> Not being useable from threads seems to be the #1 problem for replab when used

> at higher production rates on servers.

>

> I solved the problem in twisted with ampoule offering a webservice on some local

> port which can be hammered with requests in parallel because ampoule is forking

> out the work into its process pool, which isolates the PDF production with

> z3c.rml nicely. Hope you can glean whatever you need from this

>

.........
Werner,

this approach is our recommended way for websites to do pdf production with
reportlab. For really long jobs eg some minutes cpu most web browsers and
connections will time out so having a queue server for pdf is also a way around
other issues.
--
Robin Becker


More information about the reportlab-users mailing list