Experience Question

Hello,
i implemented a simple mailer with javamail and all works fine. now the project is for a community with a lot of members and i tested the send performance with following code:
MTAtransport = MTAsession.getTransport("smtp");
MTAtransport.connect(SMTP_HOST, SMTP_USER, SMTP_PWD);
while (0 till 1000) {
  msg todos...
   MTAtransport.sendMessage( msg, msg.getAllRecipients() );
}Now my mail-server is Qmail on another host and the test runs 3min 30 on "small" 2GHz debian system.
How can i tune up the performance?
If they are some possibilities to make email packages with more then one email and transfer this to the mail server?
Thanks for your suggestions!

I think you'll find that the slowness is due to your mail server. Some mail servers will even purposely
slow you down to prevent you sending large amounts of spam.
A simple test to see how fast the client runs without the server is to replace the sendMessage
call with the following:
msg.writeTo(new BufferedOutputStream(new FileOutputStream("msg.txt")));
If that runs slowly, we need to look into how you're constructing your messages.
If that runs quickly, the problem is almost certainly your mail server.
You might try using multiple threads, each with their own connection, to see if sending
messages in parallel is faster.
You might also want to watch the JavaMail debug output to see if there's a large delay
before the connect, or after a certain number of messages are sent, or when sending
the list of recipients.

Similar Messages

  • RMA experience + questions.

    hi everyone,
    Just wanted to share my RMA experience....... I got my new zen micro which froze at the "creative" screen (similar problem to everyone else)...so I returned it to get a replacement....
    I'm very happy with creative customer support because they always responded to my emails. Once they received my zen micro, they emailed me on the same day to tell me they received it. After, it took about 4 business days for them to test it and send out a replacement for me. My replacement was shipped to me today so I'm anxious to get it.........
    The tests results for my zen micro said "scratches on board". I have no idea how a new player (opened right from the box) could have scratches on the board....maybe it was defecti've from the very beginning? anyways, just wanted to tell whoever is having problems with their zen products, to contact creative and get your replacement......
    Quick Question: When I get my replacement zen micro, do I still get a warranty on the replacement? How long is the warranty?
    How long does it take for the replacement zen micro to be shipped to me?
    Message Edited by Tiger23 on <SPAN class=date_text>02-0-2005 <SPAN class=time_text>06:0 PM
    Message Edited by Tiger23 on 02--2005 03:50 AM

    hmm... I didn't get a message which said they received my player... only when they sent the replacement to me. i must say I'm happy with the support too! They are really helpfull.. I also got no note about testing on my old unit or something like that. Weird thing you got it and i didn't..:S But oh.. who cares, i've got a proper working new one now..

  • User experience question for High Availability

    Hi Experters,
    Not sure whether this is right forum to post this message.
    If anybody has already captured user experience for the failover environment, will appreciate their help on this. I will give overview of environment. Using PowerHA for ASCS/SCS failover, ORACLE Data Guard for Database failover.
    Trying to capture user experience for the failover environment
    if ASCS/SCS fail,
    App Server Fail (using F5 Load Balancer which should reroute, unless all app server fail),
    Database fail
    with following cases:
    1. User logged in, NO ACTIVITY. I believe NO IMPACT either ASCS/SCS fail or DB fail or App Server fail.
    2. User logged in and run a transaction before failover.
         What will happen in case of ASCS / SCS
         What will happen in case of DB failover
       and  what will happen in case of App server fail (NO High Availability, only redundant app servers.      MAX 4 app servers for each component)
    3. User logged in and run a transaction during failover.
       What will happen in case of ASCS / SCS
         What will happen in case of DB failover
       and  what will happen in case of App server fail (NO High Availability, only redundant app servers.      MAX 4 app servers for each component)
    Not sure which one possible or not. Some case thinking system will hang need to refresh. Some case hour glass and then come back once failover complete. and some case session closed completely.
    Thanks for your time and god bless the knowledge you have.
    Saroj

    just try to answer as much as I can (guess)
    > 1. User logged in, NO ACTIVITY. I believe NO IMPACT either ASCS/SCS fail or DB fail or App Server fail.
    DB failed and SCS failed won't have any impact to enduser, but if app server failed, the user session will lost, user will see a pop up error message at their SAPGUI.
    > 2. User logged in and run a transaction before failover.
    >      What will happen in case of ASCS / SCS
    user wont'be effected during failover if user is doing nothing but idle (replica enqueue is working before failover)
    >      What will happen in case of DB failover
    App server won't be able to do much thing but it's work processes into reonnecting status. it should resume (reconnect to DB) when failover is compoleted. So user should be able to continue the sessions.
    >    and  what will happen in case of App server fail (NO High Availability, only redundant app servers.      MAX 4 app servers for each component)
    user sessions in failed app server will be lost. However user should be able to logon agan if
    1)  logon via group, and
    2) within the group, there is at least one appl server alive.
    > 3. User logged in and run a transaction during failover.
    hanging or
    >    What will happen in case of ASCS / SCS
    if the transaction is using enqueue service, for example, then user will get error message.  otherwise, user won't be effected, e.g. if use is just search a list of order. user wont to able to logon via group during the failover.
    You also should be pepared for user connected through message server, .e.g. http request dispatching through message server directly , or via web dispatchr. user wont be able to connect during the failover.
    >      What will happen in case of DB failover
    user will get error message, transaction will be aborted.
    >    and  what will happen in case of App server fail (NO High Availability, only redundant app servers.      MAX 4 app servers for each component)
    very similar case  as case 2.

  • Just a 808 PureView user experience question

    Hi there,
    When the 808 asks for SIM pin code, the whole screen is nicely used for this process.
    Now, when the answer then comes, e.g. after a successful pin entry, the response text is something very tiny showed quickly on the left top corner of the phone.
    You got the whole screen in use for the pin request, so why wouldnt you show e.g. the successful pin entry message after that with big letters in the middle of the screen? 
    This just is an example how annoyingly the user experience is varying and is not thought in beforehand.
    This is my honest opinion and i think I am eglible to mention it as I had paid for so many hundreds of euros for the device.
    Also the phone now and then hangs without any visible reason, goes totally unresponsive and the battery must be removed. 
    The phone is up-to-date patched, so this is not due to an earlier firmware or something. 
    Yeah  I know I have guarantee, so I will return it if this continues, but the user experience thingy will not be fixed by the phone repair shop.
    Check what I mean here: http://youtu.be/kObyujPKyw0
    Cheers,
    Almrod Faelrvin

    In your case, you will need to take your phone to your local Nokia Care point for them to inspect.
    to locate your nearest Nokia Care: http://nokia.com/support

  • What is the Bluray Stream option for in Mpeg2 preset?

    I just noticed by accident that in the mpeg2 preset quality tab when I clicked the SD DVD drop-down box that there is an option to create a bluray stream. Am I correct to assume therefore that it is possible to create a bluray mpeg2 file direct from a QT Ref exported from FCP timeline; but it would have to be authored in another package, e.g. toast, encore? Has anyone used this? What is the quality like? Is there an avchd option somewhere - I couldn't find one so I presume there isn't one.
    TIA for anyone who can shed more light on this.

    One draw back with Toast 10 is that it will re-encode the video no matter if you have NEVER re-encode set. A bug since version 9, for what I read. One good thing is that you can put the HD/Blu-ray onto a regular DVD using Toast. These bit rates are higher than what you are used to... 10,000-18,000 Mbps. You can use either Mpeg-2 or H.264. H.264 being you better bet to use, if you can. These video files are wrapped in a .m2ts container. (I think that's the right) Lastly, Toast encoding time is terribly slow (zzz), at least on my machine.
    Google it and do some reading... And there are other forums that people have posted their experience/questions making these DVD's.

  • Email notification depending on date

    Here's what I need to do: I need compare an "Expiration Date" for various rows, compare each one to the current date and if the difference is less than 2 weeks, I need to send an email for each row.
    I'm looking for some general guidelines on how this is done. Also, I know I can set up a Startup job on windows but I'd rather have the application do everthing on it's own.

    I'm not doing any homework. I am a beginner and have limited experience. I am using the MVC model 2 architecture and I'm not quite sure how to fit this business requirement in. I don�t understand why some people automatically take this �do your own hw attitude� with beginners. Anyway�
    Here's the situation:
    I�m creating a simple �Domain Registration� app that stores information about registered domains and displays it. The issue is that I need to create a script that sends out an email when the domain�s expiration date is two weeks away. Of course I could have the application check the expiration date for each domain and then send an email depending on whether or not the exp date is two weeks away, but the issue is that I need to have it do this without having to do it manually. In other words, once I run the app, it should do a check for the exp dates in the database and set timers for the emails to go. I was looking at the Timer class but still don' t know where/when to start the timer.
    I�m just asking for generic instructions on how to go about doing this. I don�t need specific java answers because I know java. This is a logic and experience question more than anything else. I hope this helps but if anyone else wants to give it a shot and you need more info let me know and I�ll do my best to give you as much of it as possible.

  • Email Notification - User LogIn date

    Hi All,
    Our client has a requirement to send the email notification to the user if he has not logged in CRMOD for more than 2 days.
    Does anybody has worked on similar kind of request. Please guide
    Regards,
    S

    I'm not doing any homework. I am a beginner and have limited experience. I am using the MVC model 2 architecture and I'm not quite sure how to fit this business requirement in. I don�t understand why some people automatically take this �do your own hw attitude� with beginners. Anyway�
    Here's the situation:
    I�m creating a simple �Domain Registration� app that stores information about registered domains and displays it. The issue is that I need to create a script that sends out an email when the domain�s expiration date is two weeks away. Of course I could have the application check the expiration date for each domain and then send an email depending on whether or not the exp date is two weeks away, but the issue is that I need to have it do this without having to do it manually. In other words, once I run the app, it should do a check for the exp dates in the database and set timers for the emails to go. I was looking at the Timer class but still don' t know where/when to start the timer.
    I�m just asking for generic instructions on how to go about doing this. I don�t need specific java answers because I know java. This is a logic and experience question more than anything else. I hope this helps but if anyone else wants to give it a shot and you need more info let me know and I�ll do my best to give you as much of it as possible.

  • Regarding -- HCM Certification

    Hi,
        I want to do HCM certification, SAP was changed the pattern as Associate, Professional and Master.
    I'm Abaper so that Can go directly Professional Certification instead of Associate
    I was very familiar with HCM but I didu2019nt work in HCM but flow and knowledge is there so that Can I go for Professional Certification.
    One more question
    There are 2 methods to reach certification
                              1. e-learning : 200 hrs or 5 Months    its about Indian Rs : 180000/-
                              2. Directly with Mentor                      its about 3Lacks
    Now http://www.pearsonvue.com/sap/examlist/ , I can directly register with pearsonvue is there any change in fee
    Pearsonvue is only for testing or SAP eduction partner
    Satya Vani

    Hi Zub,
       I do not have HR module experience but I have knowledge of HR Configuration. Basically I do have 2 years of experience in ABAP.
                Is this enough for Professional certificaton.  If the certification questions asked from Real Time or from Exprience I may not able to answer those questions.
               Is Professional questions from TAB  Materials or they will ask Experience Questions
                I'm still confusing which one I have to Choose either Associate or Professional
    thanks
    Regards,
    Satya Vani
    Edited by: d swathi on Mar 9, 2010 1:42 PM

  • Using my iTunes library momentarily on a different computer

    Hi everyone... I have a special case for you... Hopefully, it hasn't been answered before.
    Let's say I have my iTunes library on a iMac (in users/music/iTunes). And all my music is stored on an external HD and is kept organised by iTunes.
    3-4 times a year I organise parties and play music from my library. Of course I don't want to take my iMac with me, I'd rather use my old MacBook (black edition) which still perfectly works.
    Question is: for one night, could I copy my iTunes library files from the iMac to the MacBook (in the users/music/iTunes folder). And simply connect my external HD to the MacBook.
    Given the location of the library is the same and the music ist externally stored, would it work?
    I would use it for one night, then simply go back to using my iMac.
    What do you think of this? Thanks in advance for your input and experiences.

    Question is: for one night, could I copy my iTunes library files from the iMac to the MacBook (in the users/music/iTunes folder).
    I'd copy the entire \Music\iTunes\ folder, not just the library file(s) but yes, it should work fine.
    Alternately, you could...
    1 copy the \Music\iTunes\ to the external.
    2 Hold Option and launch iTunes.
    3 Select *Choose library* and select the _iTunes library_ file in the iTunes older on the external.
    4 iTunes menu File -> Organize library - Consolidate.
    This will copy everything into the iTunes folder on the external.
    Then you can use it with any Mac (including the original) and everything will work fine.
    Do step 3 above whenever you connect the external to a different computer.

  • My iphone 4 started displaying a message box with the following message: "This accessory is not optimized for this phone. You may experience noise and loss of battery."  My question is: how to fix this?

    My iphone 4 started displaying a message box with the following message: "This accessory is not optimized for this phone. You may experience noise and loss of battery."  My question is: Why is this happening and how do I fix it? (I'm losing battery power precipitously). Thanks in advance for any assistance with this question.

    Thanks Kilted Tim, you solved the problem. I'm mightily impressed at the simplicity of the solution!
    Jaded Kane

  • I'm not sure if I am writing this in the correct area (this is my second attempt at posting a question), but I have a comment about a recent store experience in Sandusky, OH.  I am not a current Verizon customer, but I was visiting friends and we had to g

    I'm not sure if I am writing this in the correct area (this is my second attempt at posting a question), but I have a comment about a recent store experience in Sandusky, OH.  I am not a current Verizon customer, but I was visiting friends and we had to go to the store to get something taken care of.  First off, allow me to compliment the nice, new store.  Boy, its changed over the past few years ago when I was in last. My comment is mostly directed to one specific employee.  When we entered the store, we were "welcomed" by a sloppy dressed gentlemen (his clothes were probably two sizes two small), which really struck me as unusual because every other employee in the store was dressed really "casual" with nice sporty clothing and red shoes.  Either way, after being entered into the computer, the gentlemen told me to wander around or have a seat in the back and someone would be with us soon.  As soon as we walked away from the door, the gentlemen handed his "duty" off to another employee who took over welcoming people coming in.  For whatever reason, I felt glued to him as he stood out to me.  After leaving the door, he immediately went to the back of the room, hunched over a cabinet, where he stood for the next 30+ minutes playing on his phone, frowning and not speaking to anyone around him.  Again, I found this unusual because everyone else was overly friendly and smiling.  I finally decided to walk by and see what he was doing.  It appeared that he was texting someone.  He paid no attention to me whatsoever as I walked by, just continued to frown and text on his phone.  I did take not of his name tag for future reference.  His name was Justin.  I am assuming he's the manager of the location as he was just standing around while everyone else worked.  I do understand that managers aren't necessarily doing the "dirty work" of the employees, but he could have at least found some better fitting clothing (I find it hard to believe Verizon doesn't supply it), been a little friendly, pretended to be busy, and not been texting the entire time we were there.  Again, the store was great, the other employees were very helpful, but the manager seemed to be doing is own little thing and it didn't put off a good image for the rest of the store.  Just wanted to share my comments.

    lisab101,
    We appreciate you reaching out to us. We greatly appreciate the feedback that you have provided us. Please know that we will lift this up to management and the issues will be addressed.
    Thank you,
    RobinD_VZW
    Follow us on twitter @VZWSupport

  • Photoshop CS4 Experience, Problems & Questions

    Hi all,
    i just installed my Production Suite Premium on the following System (fresh install, clean System, no other versions of Photoshop):
    Intel E8500 Dualcore
    Nvidia Geforce 9800 GX2 (Driver Version 178.24)
    3 GB RAM
    Windows XP Professionel SP3
    Photoshop has its own Scratchdisk assigned with at least 50 GB free Space.
    I know that the 9800 GX2 is considered to be a "Gaming-Card" but as a freelance artist i work for the game-industry on many occasions and I need a decent gaming hardware to test what I am working on. As far as I know, the card meets all requirements for CS4 and Nvidia tells me, that their GPU's are perfect for CS4. (wasn't a problem with any version before, I use Photoshop AND Nvidia-Cards since Photoshop 4)
    Here are the things that bug me:
    - Photoshop disables the OpenGL Features on random occasions, stating, that it has encountered a problem. This happens either in Two GPU-Mode or One-GPU-Mode.
    There's no obvious reason for any errormessage, because IF Open GL is activated it seems to work pretty good, zooming and rotating works quite well and fast. I noticed, that the problem happens either after saving my file or when i open photoshop.
    - Photoshop crashed on several occasions mostly concerning heavy transforming of multiple layers. It simply didn't respond anymore in the midst of the transormation-process.
    My guess is, that this is also linked to the GPU/Driver. System-Memory is checked, GPU works like a charm in all other applications. CS3 has not once crashed in one year, so i guess it has to do with the changes made in CS4.
    Strange thing is, that even with open GL deactivated, the above written problems occur. I would have thought, that with OpenGL dectivated, Photoshop would somehow become kind of CS3 again, but it seems, there had been to much changes to simply disconnect photoshop from it's new OpenGL interface.
    Apart from these two Problems, Photoshop CS4 is doing ok. It feels kind of sluggish compared to older versions, but that might also change with some new drivers.
    Sad thing is, that the rotate canvas feature and the extended moverange for images, the main reasons why i upgraded to CS4, are only working with
    OpenGL activated. I really hope there will be a fix in the near future.
    There are other questions concerning PS CS4's usability:
    - The Scale-Brush Feature uses alt + right mouse buttons, what seems kind of strange when using a stylus (Even more when using a stylus without buttons like the wacom layout-marker).
    I would prefer another combination of keyboard shortcuts plus stylus movement ctrl + alt for example. so far i have not found a way to remap the keys. Am i missing something? Or is this impossible?
    - Is there a way to get window behavior back the way it was in CS3? The new way of handling windows is ok, but i liked the old one better. If i disable "floating windows docking" there's no way to maximize a window INSIDE the photoshop workspace. The maximize button on top of every window is right now completely useless because it maximizes the window AND gets rid of all the menus and palettes. I don't see why i want to do that.
    That's it. I hope this is useful either for the guys at adobe or for other users. Every new Photoshop-Version has had its problems, i hope that these will just be dealt with like the ones before.
    All the best,
    Pickman

    Photoshop CS4 does cause crashes. I can vouch for that too. When it happens, the first instinct is almost always to assume that something is wrong with the computer and start from there. Comments to this effect are prominent in many threads. It is also Adobe's prevalent approach. So people experiencing these problems will tend not to post on these forums. Statements like 'because there are only a few posts, a significant number of people are not experiencing [these] problems' are therefore unfounded. There simply has not been time yet for people to resolve potential hardware/system problems.
    In my case, I started experiencing unexplained crashed with CS3 in July (see below) but it was only when Adobe admitted that they could be partly to blame that I posted my experiences (elsewhere) on this forum.
    Anyway, to cut a long story short, I have installed Photoshop CS4 on a newly reformatted HDD containing a fresh clean installation of Windows XP/SP3, fully patched, with everything working hunky dory, and no legacy installations of Photoshop or other CS software to worry about. All the same PS CS4 keeps crashing. The symptoms are unexplained total freeze ups occurring at random. I may get several hours use, sometimes a lot less, before I am forced to reboot and start all over again. Certainly the ability to do any useful work is severely compromised, and yes, the first inclination is to blame the hardware or system installation.
    The thing is I had been chasing a similar, probably related, problem with CS3 (possibly caused by cloning my system drive, see http://www.adobeforums.com/webx/.59b6bd8d/ ) while Photoshop was still activated, so I have had several months head start over anyone who may now be experiencing similar problems with CS4. As a result, Dell, whose support has been great throughout, have replaced just about every component under the hood of my PC, certainly everything that could be causing a problem. (GPU, CPU, memory, MB, PSU, disk controller, disk cables...). As a result, I am running a virtually brand new computer. Hardware and system problems have been all but eliminated. I have all the latest drivers for everything. It is virtually a brand new computer!
    Yet PS/CS4 keeps crashing for no reason that can be established. Adobe have given me lots of homework to do to try to find out what affects it or remedies there are. It is all very tedious, but so far, nothing...
    I am coming to the conclusion that there must be something intrinsically wrong with PS/CS4 that makes it incompatible with some systems and software installations, but not necessarily because of any fault with the latter. I have to say that, after initially trying to push me away, Adobe are being very helpful and clearly want (need?) to get to the bottom of this. The trouble is that when the system locks up, it is completely and utterly paralysed, so any diagnostic and error reporting systems are inoperative. This suggests something beneath or beyond Windows, and, if it is not hardware, this points the finger of blame squarely at the activation software, which uses rootkit technology. (Would this be the same on a Mac, I wonder?)
    For the record, my system is a Dell Precision 370 desktop with Dell/Phoenix BIOS A08, 3.2GHz Pentium 4 CPU, Intel 925X chipset, 2MB ECC SDRAM, Nvidia Quadro FX3450 graphics, 2x Seagate 146MB Cheetah 5.5k disks (SCSI) in non-RAID configuration. From the limited experience I have had, it seems perfectly capable of running the software (apart from when it crashes, of course.)

  • Question:  Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions! If so what would you recommend? Was looking at Sophos. Does anyone have any experience with this? Thanks

    Question:  Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions! If so what would you recommend? Was looking at Sophos. Does anyone have any experience with this? Thanks

    Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions!
    You will continue to hear different opinions here, where thoughts range everywhere between "anti-virus software is the evil spawn of Satan" to "anyone not running anti-virus software is a fool."
    Truth is, this is still a very personal decision on a Mac. Depending on circumstances, it is still very easily possible to stay safe without using anti-virus software, but circumstances and personal preferences vary widely. Besides which, anti-virus software cannot even remotely provide you a guarantee of protection!
    To learn how to stay safe (with or without anti-virus software), and how to decide whether to use anti-virus software, see my Mac Malware Guide.

  • HT3591 I was about to download (buy) some music from ITunes when they said I had to answer these security questions, however I've never answered in my hole apple experience which has left me unable to buy anything because I don't know my security question

    I was about download music when it then asked me for my security questions. The problem for me is that I've never answered these questions ever in my hole apple experience and even if I did, I've 100% completely forgot about them. I then decided to email a link to deactivate my questions however this email from Apple had never come, I'm know left unable to download music, apps, and books.

    You need to manage your Apple ID and change your security question there.

  • TS4079 I ask Siri a question, there is a very long pause and then when she does come back she appologises by saying she cannot help me now and I should check back later...anyone experience this??

    I ask Siri a question, there is a very long pause and then when she does come back she appologises by saying she cannot help me now and I should check back later...anyone experience this??

    Yes... a search of the forums would have prevented asking that question.

Maybe you are looking for