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

Robert Stupp commented on CASSANDRA-10395:
------------------------------------------

CASSANDRA-7392 is a good hint.

The "issue" with wall-clock is that it also counts against GCs (the initial 
approach in CASSANDRA-9402 was to monitor the wall clock).
But OTOH wall time is also important.

Will have a look at this soon.

> Monitor UDFs using a single thread
> ----------------------------------
>
>                 Key: CASSANDRA-10395
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10395
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Minor
>             Fix For: 3.0.x
>
>
> Actually each UDF execution is handed over to a separate thread pool to be 
> able to detect UDF timeouts. We could actually leave UDF execution in the 
> "original" thread but have another thread/scheduled job regularly looking for 
> UDF timeouts, which would save some time executing the UDF.



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

Reply via email to