All, thanks for the help on this. Would like some guidance/advice on my implementation as follows:
I'll be buying additional memory to run a BackgrounDRb process, and will run it on a new port as mentioned. The background process essentially does the following: every night, for each record in a certain table in my database, it goes out and makes several HTTP connections to external data sources to refresh those records.
At its worst, the background process would launch all connections simultaneously, thus incurring a significant memory hit. However, I can throttle it so that it only launches the connections in batches. For example, if there are fifty connections, I can launch the first ten, wait for those to finish, launch the next ten, wait for those to finish, and so forth, until all connections are done.
My question is: per my account (and I can upgrade, if need be, just let me know) how much system memory do you recommend I use at any one time? Do you terminate processes that use more than a certain amount? What's your guidance in terms of this.
I assume that memory is allocated on an as needed basis on the system?
Thanks for your assistance.
2008-08-14 04:20 PM