thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen George (JIRA)" <>
Subject [jira] [Commented] (THRIFT-4777) Non Blocking Server implementation for Rust
Date Thu, 07 Feb 2019 21:13:00 GMT


Allen George commented on THRIFT-4777:

Yeah. It also reminds me a lot of [tower-grpc]( I
assume an approach like the one in [thrift-async](
wouldn't work for you?

I'm still a little unclear about which parts you'll make async and which ones you won't, especially
if you don't touch generated code. If you don't want to change the gen'd code you'd still
have to have a threadpool to which to delegate {{process()}} calls to on a socket readiness
event, right? I assume the (rough) thing you're going to build is:

select(connected_clients) {
  case has_bytes(socket):
    thread.spawn() { processor.process(socket) }
  case ...

> Non Blocking Server implementation for Rust
> -------------------------------------------
>                 Key: THRIFT-4777
>                 URL:
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Rust - Library
>            Reporter: Satyender Yadav
>            Assignee: Allen George
>            Priority: Minor
> Implement Non blocking server in Thrift rust library.

This message was sent by Atlassian JIRA

View raw message