Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test performance of predictionio #369

Closed
letrangnhienanh opened this issue Dec 25, 2015 · 1 comment
Closed

Test performance of predictionio #369

letrangnhienanh opened this issue Dec 25, 2015 · 1 comment

Comments

@letrangnhienanh
Copy link

Dear all,
I would like to test performance of prediction phase of one algorithm using Locust.
The query of engine (REST API) looks similar to this:

engine_client = predictionio.EngineClient(url="http://192.168.1.1:8003")
print engine_client.send_query({"items": ["10181"], "num": 50, "category": ["31","32"], "blackList":["10184"]})

And with Java code:

    @RequestMapping(value = "/bestSeller", method = RequestMethod.GET)
public String getBestSellerProducts(
        Model model,
        @RequestParam(value = "categoryCode") String categoryCode,
        HttpServletRequest request, HttpServletResponse response)
        throws IOException {

    logger.info("getBestSellerProducts - blackList {}", blackList);
            ...
  }

Can anyone help me with this? Thank you very much.

@justiniso
Copy link
Member

This issue is not well-specified. If you still need help, can you make it more clear what the actual issue is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants