[ 
https://issues.apache.org/jira/browse/SLING-5645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15541688#comment-15541688
 ] 

Ian Boston commented on SLING-5645:
-----------------------------------

GSon is being used for performance reasons. Probably not a good idea to remote 
it. In small file tests it is reported as being 20x faster than simple json 
parsing libraries like the Sling json library and 72% faster than Jackson. In 
large file tests is slower than Jackson. The message payloads should all be 
small, hence the choice. There are probably other faster encoding methods that 
could be used in place of Json, but the implementation is intended to be 
consumed by any language that can consume The AMQ protocol, not limited to java.

No problem with other changes.

> Provide a Jobs API and implementation suitable for widely distributed job 
> processing.
> -------------------------------------------------------------------------------------
>
>                 Key: SLING-5645
>                 URL: https://issues.apache.org/jira/browse/SLING-5645
>             Project: Sling
>          Issue Type: New Feature
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>
> This issue is to track work on a proof of concept to create a Jobs API and 
> implementation that will work in a distributed environment where the job 
> submitters and job consumers are not necessarily in the same JVM or in the 
> same Sling cluster. 
> Work is being done in a branch at 
> https://github.com/ieb/sling/tree/jobs_28/contrib/extensions/jobs
> Since the implementation needs supporting APIs/Capabilities not already 
> present in Sling. There are some sub-tasks associated with this issue to 
> address those.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to