Skip to content

Commit

Permalink
blank
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Mar 26, 2024
1 parent 7bce6f8 commit e12ae06
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,26 @@ jupytext:

## How agent plugin service works?
Before testing agents in the development environment, let's talk about how it works.

Compare to the bigquery plugin example here's how the bigquery agent service work.

Bigquery plugin

![image.png](https://raw.githubusercontent.com/flyteorg/static-resources/main/flyte/concepts/agents/plugin_life_cycle.png)

The life cycle will be
1. FlytePropeller sends request through SDK.

Bigquery agent service

![image.png](https://raw.githubusercontent.com/flyteorg/static-resources/main/flyte/concepts/agents/async_agent_life_cycle.png)

The life cycle will be
1. FlytePlugins send grpc request to the agent server.
2. Agent server sends request through SDK and return the query data.

You can find that it is a little bit slower than the plugin example above.

But it is far more easier to be implemented and still faster than writing the service in a pod task.

## How to setup Agent Service in Development Mode?
Expand Down

0 comments on commit e12ae06

Please sign in to comment.