All,
I am working on creating a toolbar that looks at certain links on a page and injects some links of my own by getting them from a webservice, which I am writing too.
There can be 100s of links on a page and there can be 100,000s of such toolbars installed.
The question is, what are the best practices I should follow to make sure that the server responds very very fast?
I will be putting an expires and lastmodified, etag on the responses but even then we are talking of a lot of requests here! Do you think this design will scale at all? The webservice is itself pretty simple and I will not have it hit the database at all (everything will be cached at ehcache).