Ebay webservices request developers to cache results, in order to limit amounts of calls to servers and to receive ebay approval as a certified application. (raise api limits from 5k to 1.5mk).
One possibility Im thinking about is to create a store key-value to retrieve a particular search. if a file is created which key can be trigger to detect the same kind of search parameters
Currently the following information is retrieved in each call I perform to ebay servers.
My main question is: its possible to use elasticsearch as a key/value storage engine. where the value is the webservice response and the key is something like the relevant search parameters or the API call URL/XML in md5() format to hit the cache when a webuser request the same information?
any guideance, link or tutorial would be very appreciated, Im new in Elasticsarch. thank you.
correct me please if Im wrong. the idea would be to create index a document providing an id with my query params. if the cache hits that query params retrieves body json fields information like the following example:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.