as for an example of what i'm trying to do :
we needed a script to send periodic customized email messages.
instead of re-inventing the wheel, we wanted to use all the stuff we already built off of Pyramid:
- per-request caching and optimization of database calls
- use customization
- email transaction logging ( who what when where how why )
- email gateway support
because we have per-request objects and tracking , we needed to ensure a new , clean , request. so we had multiple bootstrap() calls. the overhead of bootstrap, drops our output by quite a bit -- 1200 emails/hr/server. We're small now , so this isn't a problem. We're growing, so it's a concern. Only calling bootstrap once will probably push us well above 12k emails/hr/server