On 29 Jun, Oscar Plameras wrote: > Ideally, one would want all list to be stored in the local Memory but we > know this is impossible and with the internet growing in leaps and bounds > the list is growing bigger and faster by the day. Also, you would want a > DNS software that predicts the information that will be requested just in > time when it is required. Again this is a mammoth task and out there our > technical friends have been trying.
Well, I can't see *any* difference between this problem and the classical caching problem. Your traffic typically has some coherency simply because communications tend to be between people who are in some kind of dialogue. It seems to me that the cost of storing an IP address as a string, plus a word for the decimal IP address, should cost roughly 50 bytes. I.e. I'd guess you should be able to cache about 20,000 addresses / Mb. I'd be surprised if any but very large organisations would receive email from more than that number of *domains* per day. If one cache entry saves you thousands or even just tens of milliseconds, then setting aside some space would give a speed-up of at least 3 orders of magnitude. Bargain! luke -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
