Comment 1 for bug 1770703

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1770703] Re: [RFE] reusable agent unix socket connections for charms: python bindings

I don't think it would be particularly hard. The existing API on the socket
is essentially just passing the []string of CLI args. It should mostly be
just a change to charmhelpers to maintain a socket connection and send the
requests.
That said, it may not be possible to pipeline the requests today. It might
require reconnecting to issue a new request. But it would avoid to fork
overhead

John
=:->

On Mon, May 14, 2018, 01:35 Tim Penhey <email address hidden> wrote:

> ** Changed in: juju
> Status: New => Triaged
>
> ** Changed in: juju
> Importance: Undecided => Wishlist
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1770703
>
> Title:
> [RFE] reusable agent unix socket connections for charms: python
> bindings
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1770703/+subscriptions
>