This topic has been locked.
2 replies Latest Post - 2012-06-22T11:27:24Z by SystemAdmin
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 100000E7QE1344 PostsACCEPTED ANSWER
Re: Context Variable2012-06-07T14:05:27Z in response to SystemAdminThe 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.