Pinned topic Context Variable
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
If I use more context variable in service. Is it impact the service performance?
Updated on 2012-06-22T11:27:24Z at 2012-06-22T11:27:24Z by SystemAdmin
swlinn 100000E7QE1348 Posts
Re: Context Variable2012-06-07T14:05:27ZThis is the accepted answer. This is the accepted answer.The usual answer is "it depends". Context variables are the normal mechanism of passing data between actions, so under normal conditions I'd say their use will not impact performance. However, like any platform, these variables will consume memory, so I'd be more concerned about the memory you consume than the actual number of context variables. These variables will remain in memory until the entire transaction processing is completed (request and response or error), so if you're storing a lot of data in these variables, then be aware of your backside latency as that combined with high memory usage of the processing rules could cause throughput issues on the appliance under high load.