|
I have a system which gets requests at 25 transactions per second. On receiving a request, the system does a lookup in its database (which consists of 100,000 entries) to get the required information.
A request comes ever 1/25 seconds and for each request log2(100,000) entries in the db are looked up. Therefore in each second 25* log2(100,000) = (415) entries are looked up/compared.
I want to find out: what kind of a processor do I need to support this speed. I want to know how to perform the calculations? Say in case of X records in db and Y TPS..i would need a 3Ghz quad core processor .
Could you please help? I am not sure how'd I go about doing this.
|