[JBoss JIRA] (ISPN-10784) XSite Docs: Async vs Sync
by Donald Naro (Jira)
[ https://issues.jboss.org/browse/ISPN-10784?page=com.atlassian.jira.plugin... ]
Donald Naro updated ISPN-10784:
-------------------------------
Sprint: DataGrid Sprint #37 (was: DataGrid Sprint #36)
> XSite Docs: Async vs Sync
> -------------------------
>
> Key: ISPN-10784
> URL: https://issues.jboss.org/browse/ISPN-10784
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation-Servers
> Reporter: Donald Naro
> Assignee: Donald Naro
> Priority: Major
>
> Expand xsite docs on ASYNC SYNC settings, client, intra-cluster and xsite.
> SYNC ensure the call is complete or not
> whereas ASYNC might cause inconsistency if there is a failure - and the user get only a log WARN message (or nothing)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10955) Reduce Primitive To Object Conversion - RequestRepository.addResponse(long, Address, Response)
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10955?page=com.atlassian.jira.plugin... ]
Diego Lovison reassigned ISPN-10955:
------------------------------------
Assignee: (was: Diego Lovison)
> Reduce Primitive To Object Conversion - RequestRepository.addResponse(long, Address, Response)
> ----------------------------------------------------------------------------------------------
>
> Key: ISPN-10955
> URL: https://issues.jboss.org/browse/ISPN-10955
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.1.Final
> Reporter: Diego Lovison
> Priority: Major
>
> 1 % of the total allocation (214 MiB) is caused by conversion from primitive types to object types.
> The most common object type that primitives are converted into is 'java.lang.Long', which causes 214 MiB to be allocated. The most common call site is 'org.infinispan.remoting.transport.impl.RequestRepository.addResponse(long, Address, Response):46'.
> Conversion from primitives to the corresponding object types can either be done explicitly, or be caused by autoboxing. If a considerable amount of the total allocation is caused by such conversions, consider changing the application source code to avoid this behavior. Look at the allocation stack traces to see which parts of the code to change. This rule finds the calls to the valueOf method for any of the eight object types that have primitive counterparts.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10955) Reduce Primitive To Object Conversion - RequestRepository.addResponse(long, Address, Response)
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10955?page=com.atlassian.jira.plugin... ]
Diego Lovison commented on ISPN-10955:
--------------------------------------
http://openjdk.java.net/jeps/218
> Reduce Primitive To Object Conversion - RequestRepository.addResponse(long, Address, Response)
> ----------------------------------------------------------------------------------------------
>
> Key: ISPN-10955
> URL: https://issues.jboss.org/browse/ISPN-10955
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.1.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> 1 % of the total allocation (214 MiB) is caused by conversion from primitive types to object types.
> The most common object type that primitives are converted into is 'java.lang.Long', which causes 214 MiB to be allocated. The most common call site is 'org.infinispan.remoting.transport.impl.RequestRepository.addResponse(long, Address, Response):46'.
> Conversion from primitives to the corresponding object types can either be done explicitly, or be caused by autoboxing. If a considerable amount of the total allocation is caused by such conversions, consider changing the application source code to avoid this behavior. Look at the allocation stack traces to see which parts of the code to change. This rule finds the calls to the valueOf method for any of the eight object types that have primitive counterparts.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10955) Reduce Primitive To Object Conversion - RequestRepository.addResponse(long, Address, Response)
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10955?page=com.atlassian.jira.plugin... ]
Work on ISPN-10955 stopped by Diego Lovison.
--------------------------------------------
> Reduce Primitive To Object Conversion - RequestRepository.addResponse(long, Address, Response)
> ----------------------------------------------------------------------------------------------
>
> Key: ISPN-10955
> URL: https://issues.jboss.org/browse/ISPN-10955
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.1.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> 1 % of the total allocation (214 MiB) is caused by conversion from primitive types to object types.
> The most common object type that primitives are converted into is 'java.lang.Long', which causes 214 MiB to be allocated. The most common call site is 'org.infinispan.remoting.transport.impl.RequestRepository.addResponse(long, Address, Response):46'.
> Conversion from primitives to the corresponding object types can either be done explicitly, or be caused by autoboxing. If a considerable amount of the total allocation is caused by such conversions, consider changing the application source code to avoid this behavior. Look at the allocation stack traces to see which parts of the code to change. This rule finds the calls to the valueOf method for any of the eight object types that have primitive counterparts.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10657) Handle async-xsite in parallel
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-10657?page=com.atlassian.jira.plugin... ]
Pedro Ruivo closed ISPN-10657.
------------------------------
> Handle async-xsite in parallel
> ------------------------------
>
> Key: ISPN-10657
> URL: https://issues.jboss.org/browse/ISPN-10657
> Project: Infinispan
> Issue Type: Enhancement
> Components: Cross-Site Replication
> Affects Versions: 10.0.0.CR2
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> Asynchronous cross-site replication relies on the ordering of the write operation to ensure data consistency. This ordering is provided by JGroups; it only delivers the next request after the first one is completed.
> This order contains updates for multiple caches and keys. What is proposed here is to handle different keys/cache updates in parallel.
> It should improve the response time, however, there is no free lunch. The following is expected:
> * An increase of CPU utilization: it may spawn new threads to handle different keys update in parallel
> * An increase in memory: it chains the updates (queue)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month