You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/04/06 21:58:25 UTC
[jira] [Updated] (TS-4292) header_rewrite: Modify the Resource
object to be non-const
[ https://issues.apache.org/jira/browse/TS-4292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-4292:
------------------------------
Fix Version/s: (was: 6.2.0)
7.0.0
> header_rewrite: Modify the Resource object to be non-const
> ----------------------------------------------------------
>
> Key: TS-4292
> URL: https://issues.apache.org/jira/browse/TS-4292
> Project: Traffic Server
> Issue Type: Improvement
> Components: Plugins
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Labels: A
> Fix For: 7.0.0
>
>
> If we make the Resource object mutable (it's per transaction / evaluation), we can move some state into it for evaluation. In addition to fixing a tiny race condition in the RAND operator, we can then also "cache" intermediate results, that might be computationally expensive (such as Maxmind GeoIP lookups).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)