Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Sending Custom Mass Mail - Fastest Way Possible

by hippo (Bishop)
on May 29, 2015 at 15:35 UTC ( [id://1128302]=note: print w/replies, xml ) Need Help??


in reply to Sending Custom Mass Mail - Fastest Way Possible

Currently we send out a weekly news letter to all our users ... I am sending 1 message at a time which as you can imagine takes forever.

Since you quote no figure for "all our users" and no duration for "takes forever" there's little to go on. If you have 500 users and it takes half a day, then you probably have a fixable bottleneck. Conversely, if you have 5000 users and it takes half an hour then you are doing pretty well and perhaps your best next step is ... outsourcing.

  • Comment on Re: Sending Custom Mass Mail - Fastest Way Possible

Replies are listed 'Best First'.
Re^2: Sending Custom Mass Mail - Fastest Way Possible
by edimusrex (Monk) on May 29, 2015 at 15:36 UTC
    ok, to give you some numbers it takes about 15 minutes to send to 53 users, as that number grows I expect the run time to increase. Seems a little long in my opinion

      Yes, that's orders of magnitude too long. Time to do some benchmarking of your code and find the bottleneck. Have you used Devel::NYTProf before? It would be my initial recommendation.

        No I haven't but I will look into it. Thank you for the recommendation

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1128302]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found