You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by Gustavo Frederico <gu...@thinkwrap.com> on 2016/09/08 18:53:21 UTC

pio build & train - server available?

Is the server available for events and queries while executing pio build
and pio train? If not, are there ways to ensure high availability?

Gustavo

Re: pio build & train - server available?

Posted by Pat Ferrel <pa...@occamsmachete.com>.
Think of PIO as 2 or more servers: 1) EventServer, which may run continuously, taking events from outside and queries during pio build or from the second server 2) PredictionServer, there is one of these per engine. It serves query results. Some templates allow these to run continuously (like the Universal Recommender) others require a restart of the PredictionServer after each pio train

Both can be made HA with the use of a load balancer.


On Sep 8, 2016, at 2:59 PM, Donald Szeto <do...@apache.org> wrote:

pio build and pio train are independent processes from pio eventserver and pio deploy, so you can still take events and serve queries.

On Thu, Sep 8, 2016 at 11:53 AM, Gustavo Frederico <gustavo.frederico@thinkwrap.com <ma...@thinkwrap.com>> wrote:
Is the server available for events and queries while executing pio build and pio train? If not, are there ways to ensure high availability?

Gustavo




Re: pio build & train - server available?

Posted by Donald Szeto <do...@apache.org>.
pio build and pio train are independent processes from pio eventserver and
pio deploy, so you can still take events and serve queries.

On Thu, Sep 8, 2016 at 11:53 AM, Gustavo Frederico <
gustavo.frederico@thinkwrap.com> wrote:

> Is the server available for events and queries while executing pio build
> and pio train? If not, are there ways to ensure high availability?
>
> Gustavo
>
>