cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10395) Monitor UDFs using a single thread
Date Wed, 02 Dec 2015 17:39:11 GMT

    [ 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)

Mime
View raw message