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

Colin Patrick McCabe commented on HTRACE-302:
---------------------------------------------

* Add test hooks to the golang client and HRPC server, so that we can inject 
faults during unit testing
* Add configurable I/O timeouts to HRPC, so that the server can't get blocked 
indefinitely by really slow clients.  Default I/O timeout is a minute.
* Add a configurable maximum number of HRPC handlers
* Add {{TestHrpcAdmissionsControl}} and {{TestHrpcIoTimeout}}
* {{MiniHTraced#Close}} must shut down the HRPC server and block until its 
goroutines are done.

> htraced: Add admissions control to HRPC to limit the number of incoming 
> messages
> --------------------------------------------------------------------------------
>
>                 Key: HTRACE-302
>                 URL: https://issues.apache.org/jira/browse/HTRACE-302
>             Project: HTrace
>          Issue Type: Bug
>          Components: htraced
>    Affects Versions: 4.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HTRACE-302.001.patch
>
>
> htraced: Add admissions control to HRPC to limit the number of incoming 
> messages.  This is important because if we bring in too many messages at 
> once, we'll end up using a huge (potentially unbounded) amount of memory when 
> we deserialize them.  Meanwhile, most messages can't be processed faster than 
> the datastore can handle them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to