> In general  ScriptMediator uses 3rd party libs  and Filter mediator is in 
> build with synapse so ideally Filter should be perform well, since script 
> mediator injecting 3rd party script engines i.e java script or groovy  
> engines and in the context of performance aspect, it depend what you will try 
> to do with that.

Does this mean that a script mediator in a flow would increase the CPU usage, 
GC activity and raise the pressure on heap ?
Are the scripts interpreted every single time (I.e. 100 times in a second for a 
100 TPS flow) ? Is there any optimisation made by WSO2 ESB at deploy time ?

Luca

> 
> Cheers,
> Dushan
> 
> 
> On Thu, Feb 20, 2014 at 9:02 PM, Krishantha Dinesh <[email protected]> 
> wrote:
>> Hi,
>> I have short question.
>> is there any significant performance hit between script mediator and filter 
>> mediator?
>> what is recommended to use?
>> 
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
> 
> 
> 
> -- 
> Dushan Abeyruwan | Associate Tech Lead
> Integration Technologies Team
> PMC Member Apache Synpase
> WSO2 Inc. http://wso2.com/
> Blog:http://dushansview.blogspot.com/
> Mobile:(0094)713942042
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to