Hi,

I'm working on a project where there is about 8300 mails in the
subscriber database. That's not a point to discuss.

To make this working I have first tryed to find the best configuration
for s&d. Here is what I have done:

* setup a new instance (instance-newsletter) not plugged on the load
balancer, so no way a visitor use this instance
* add clock server configuration on this instance
* add zcml-additionnal to register the queuedDelivery
* unconfigure directdeliverey over all other instance
* don't touch to the plone.smtp utility already registred by s&d

Next I have test all the UI by hand and found some issues:

* channel default view batch all subscribers. It takes about 3 minutes
to display. I have fixed it in my own project egg.
* search results. If you push search where there is lots of results
(typing 'gmail' for example) the page take 3 minutes to display. I
have fixed it in my project egg.

During a tick and dispatch, even with this configuration I have a
hardware issue: The dispatch take about 2.5GO RAM for 8000 emails.

This seems to comes from the transaction but I'm not sure. I still
don't understand the code of
collective.singing.scheduler.MessageAssemble.__call__. It create a
message with self.render_message but doesn't do anything with it. And
self.render_message only call composer.render that return a simple
Message. I will be glade someone explain me this a bit more.

I guess this is the transaction that store in memory every messages. If
this is the case we can decrease the size of one message by doing some
improvement like write the content of the message on the filesystem. I
will make some tests around this later in the week.

May be someone has worked on this and have some solutions and or
ideas ?

I will submit patches from my project egg once I will have finished
this project and I will be sure every things is working. 

-----
Jean-Michel François aka toutpt
http://toutpt.wordpress.com
http://twitter.com/toutpt

-- 
View this message in context: 
http://plone.293351.n2.nabble.com/How-to-make-newsletter-with-lots-of-subscribers-with-Singing-and-Dancing-tp5187908p5187908.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to