public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dietmar Maurer <dietmar@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>,
	 Dominik Csapak <d.csapak@proxmox.com>
Subject: Re: [pbs-devel] [RFC PATCH proxmox 1/4] proxmox-async: add SenderWriter helper
Date: Fri, 18 Feb 2022 08:36:05 +0100 (CET)	[thread overview]
Message-ID: <464675824.1190.1645169765999@webmail.proxmox.com> (raw)

This can block the executor? If so, should we use block_in_place?
Or does self.sender.blocking_send() consider that automatically?
 
> On 02/17/2022 10:40 AM Dominik Csapak <d.csapak@proxmox.com> wrote:
> 
>  
> this wraps around a tokio Sender for Vec<u8>, but implements a blocking
> write. We can use thas as an adapter for something that only takes a
> writer, and can read from it asynchonously
/listinfo/pbs-devel




             reply	other threads:[~2022-02-18  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-18  7:36 Dietmar Maurer [this message]
2022-02-18 15:27 ` Wolfgang Bumiller
  -- strict thread matches above, loose matches on Subject: below --
2022-02-17  9:40 [pbs-devel] [RFC PATCH proxmox/proxmox-backup] implement streaming serialization for api calls Dominik Csapak
2022-02-17  9:40 ` [pbs-devel] [RFC PATCH proxmox 1/4] proxmox-async: add SenderWriter helper Dominik Csapak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=464675824.1190.1645169765999@webmail.proxmox.com \
    --to=dietmar@proxmox.com \
    --cc=d.csapak@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal