You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Can Celasun (JIRA)" <ji...@apache.org> on 2017/06/06 09:24:18 UTC

[jira] [Commented] (THRIFT-3959) Golang TSimpleServer Is More Of A TThreadedServer?

    [ https://issues.apache.org/jira/browse/THRIFT-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16038446#comment-16038446 ] 

Can Celasun commented on THRIFT-3959:
-------------------------------------

With the upcoming Go 1.9 [type aliases|https://tip.golang.org/ref/spec#Type_declarations] we can rename {{TSimpleServer}} to something like {{TConcurrentServer}} and an alias for the old type to keep backwards compatibility.

> Golang TSimpleServer Is More Of A TThreadedServer?
> --------------------------------------------------
>
>                 Key: THRIFT-3959
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3959
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>            Reporter: Paul Brown
>
> The documentation says TSimpleServer is a "Simple singlethreaded server for testing.", however the golang implementation looks it spawns a go routine to process each request: https://github.com/apache/thrift/blob/master/lib/go/thrift/simple_server.go#L134-L138
> Shouldn't it be renamed to TThreadedServer?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)