[JBoss JIRA] (ISPN-9209) Implement RemoteCache statistics
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-9209?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9209:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.4.0.CR3
(was: 9.4.0.Final)
Resolution: Done
> Implement RemoteCache statistics
> --------------------------------
>
> Key: ISPN-9209
> URL: https://issues.jboss.org/browse/ISPN-9209
> Project: Infinispan
> Issue Type: Enhancement
> Components: Hot Rod
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Fix For: 9.4.0.CR3
>
>
> The Hot Rod client does not expose any local statistics (RemoteCacheManager.getStatistics() returns the server-side stats).
> We should have the following per-cache stats:
> - remote hits and hit avg time
> - remote misses and miss avg time
> - remote removes and remove avg time
> - near cache hits and avg time
> - near cache miss and avg time
> - near cache size
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (HRJS-76) Hot Rod 2.5 protocol support broken
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/HRJS-76?page=com.atlassian.jira.plugin.sy... ]
Galder Zamarreño reopened HRJS-76:
----------------------------------
> Hot Rod 2.5 protocol support broken
> -----------------------------------
>
> Key: HRJS-76
> URL: https://issues.jboss.org/browse/HRJS-76
> Project: Infinispan Javascript client
> Issue Type: Bug
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 0.6.0
>
>
> Trying to run smoke tests with protocol 2.5 results in failure:
> {code}
> rm -drf tmp-tests.log && node node_modules/jasmine-node/lib/jasmine-node/cli.js spec/infinispan_local_spec.js --captureExceptions
> FFFF.FFFFFFFFFFFFTypeError: Cannot read property 'decodeMedia' of undefined
> at decoderMedia (/Users/g/1/infinispan-js-client/lib/protocols.js:73:43)
> at Protocol25.decodeEvent (/Users/g/1/infinispan-js-client/lib/protocols.js:589:28)
> at Socket.onData (/Users/g/1/infinispan-js-client/lib/io.js:121:40)
> at emitOne (events.js:116:13)
> at Socket.emit (events.js:211:7)
> at addChunk (_stream_readable.js:263:12)
> at readableAddChunk (_stream_readable.js:250:11)
> at Socket.Readable.push (_stream_readable.js:208:10)
> at TCP.onread (net.js:597:20)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (HRJS-76) Hot Rod 2.5 protocol support broken
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/HRJS-76?page=com.atlassian.jira.plugin.sy... ]
Galder Zamarreño updated HRJS-76:
---------------------------------
Status: Open (was: New)
> Hot Rod 2.5 protocol support broken
> -----------------------------------
>
> Key: HRJS-76
> URL: https://issues.jboss.org/browse/HRJS-76
> Project: Infinispan Javascript client
> Issue Type: Bug
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 0.6.0
>
>
> Trying to run smoke tests with protocol 2.5 results in failure:
> {code}
> rm -drf tmp-tests.log && node node_modules/jasmine-node/lib/jasmine-node/cli.js spec/infinispan_local_spec.js --captureExceptions
> FFFF.FFFFFFFFFFFFTypeError: Cannot read property 'decodeMedia' of undefined
> at decoderMedia (/Users/g/1/infinispan-js-client/lib/protocols.js:73:43)
> at Protocol25.decodeEvent (/Users/g/1/infinispan-js-client/lib/protocols.js:589:28)
> at Socket.onData (/Users/g/1/infinispan-js-client/lib/io.js:121:40)
> at emitOne (events.js:116:13)
> at Socket.emit (events.js:211:7)
> at addChunk (_stream_readable.js:263:12)
> at readableAddChunk (_stream_readable.js:250:11)
> at Socket.Readable.push (_stream_readable.js:208:10)
> at TCP.onread (net.js:597:20)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (HRJS-76) Hot Rod 2.5 protocol support broken
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/HRJS-76?page=com.atlassian.jira.plugin.sy... ]
Galder Zamarreño resolved HRJS-76.
----------------------------------
Resolution: Done
> Hot Rod 2.5 protocol support broken
> -----------------------------------
>
> Key: HRJS-76
> URL: https://issues.jboss.org/browse/HRJS-76
> Project: Infinispan Javascript client
> Issue Type: Bug
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 0.6.0
>
>
> Trying to run smoke tests with protocol 2.5 results in failure:
> {code}
> rm -drf tmp-tests.log && node node_modules/jasmine-node/lib/jasmine-node/cli.js spec/infinispan_local_spec.js --captureExceptions
> FFFF.FFFFFFFFFFFFTypeError: Cannot read property 'decodeMedia' of undefined
> at decoderMedia (/Users/g/1/infinispan-js-client/lib/protocols.js:73:43)
> at Protocol25.decodeEvent (/Users/g/1/infinispan-js-client/lib/protocols.js:589:28)
> at Socket.onData (/Users/g/1/infinispan-js-client/lib/io.js:121:40)
> at emitOne (events.js:116:13)
> at Socket.emit (events.js:211:7)
> at addChunk (_stream_readable.js:263:12)
> at readableAddChunk (_stream_readable.js:250:11)
> at Socket.Readable.push (_stream_readable.js:208:10)
> at TCP.onread (net.js:597:20)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (HRJS-77) NPE with 9.4.0.CR3
by Galder Zamarreño (JIRA)
Galder Zamarreño created HRJS-77:
------------------------------------
Summary: NPE with 9.4.0.CR3
Key: HRJS-77
URL: https://issues.jboss.org/browse/HRJS-77
Project: Infinispan Javascript client
Issue Type: Bug
Reporter: Galder Zamarreño
NPE when putting data from Node.js client with 9.4.0.CR3.
{code}
[Server:server-local] 10:13:52,974 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ServerIO-8-1) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x7B226B223A226A6C..[22], hashCode=-1069521542}]: java.lang.NullPointerException
[Server:server-local] at org.infinispan.server.core.dataconversion.JsonTranscoder.convertTextToJson(JsonTranscoder.java:123)
[Server:server-local] at org.infinispan.server.core.dataconversion.JsonTranscoder.transcode(JsonTranscoder.java:84)
[Server:server-local] at org.infinispan.encoding.DataConversion.convertToRequestFormat(DataConversion.java:148)
[Server:server-local] at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.convertValue(CacheNotifierImpl.java:1852)
[Server:server-local] at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invokeNoChecks(CacheNotifierImpl.java:1662)
[Server:server-local] at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:1647)
[Server:server-local] at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryCreated(CacheNotifierImpl.java:395)
[Server:server-local] at org.infinispan.notifications.cachelistener.NotifyHelper.entryCommitted(NotifyHelper.java:46)
[Server:server-local] at org.infinispan.interceptors.locking.ClusteringDependentLogic$LocalLogic.commitSingleEntry(ClusteringDependentLogic.java:362)
[Server:server-local] at org.infinispan.interceptors.locking.ClusteringDependentLogic$AbstractClusteringDependentLogic.commitEntry(ClusteringDependentLogic.java:190)
[Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitContextEntry(EntryWrappingInterceptor.java:584)
[Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitEntryIfNeeded(EntryWrappingInterceptor.java:813)
[Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitContextEntries(EntryWrappingInterceptor.java:566)
[Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.applyChanges(EntryWrappingInterceptor.java:617)
[Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.applyAndFixVersion(EntryWrappingInterceptor.java:678)
[Server:server-local] at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenAccept(BaseAsyncInterceptor.java:105)
[Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:672)
[Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:302)
[Server:server-local] at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (HRJS-77) NPE with 9.4.0.CR3
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/HRJS-77?page=com.atlassian.jira.plugin.sy... ]
Galder Zamarreño reassigned HRJS-77:
------------------------------------
Assignee: Galder Zamarreño
> NPE with 9.4.0.CR3
> ------------------
>
> Key: HRJS-77
> URL: https://issues.jboss.org/browse/HRJS-77
> Project: Infinispan Javascript client
> Issue Type: Bug
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
>
> NPE when putting data from Node.js client with 9.4.0.CR3.
> {code}
> [Server:server-local] 10:13:52,974 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ServerIO-8-1) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x7B226B223A226A6C..[22], hashCode=-1069521542}]: java.lang.NullPointerException
> [Server:server-local] at org.infinispan.server.core.dataconversion.JsonTranscoder.convertTextToJson(JsonTranscoder.java:123)
> [Server:server-local] at org.infinispan.server.core.dataconversion.JsonTranscoder.transcode(JsonTranscoder.java:84)
> [Server:server-local] at org.infinispan.encoding.DataConversion.convertToRequestFormat(DataConversion.java:148)
> [Server:server-local] at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.convertValue(CacheNotifierImpl.java:1852)
> [Server:server-local] at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invokeNoChecks(CacheNotifierImpl.java:1662)
> [Server:server-local] at org.infinispan.notifications.cachelistener.CacheNotifierImpl$BaseCacheEntryListenerInvocation.invoke(CacheNotifierImpl.java:1647)
> [Server:server-local] at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryCreated(CacheNotifierImpl.java:395)
> [Server:server-local] at org.infinispan.notifications.cachelistener.NotifyHelper.entryCommitted(NotifyHelper.java:46)
> [Server:server-local] at org.infinispan.interceptors.locking.ClusteringDependentLogic$LocalLogic.commitSingleEntry(ClusteringDependentLogic.java:362)
> [Server:server-local] at org.infinispan.interceptors.locking.ClusteringDependentLogic$AbstractClusteringDependentLogic.commitEntry(ClusteringDependentLogic.java:190)
> [Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitContextEntry(EntryWrappingInterceptor.java:584)
> [Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitEntryIfNeeded(EntryWrappingInterceptor.java:813)
> [Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.commitContextEntries(EntryWrappingInterceptor.java:566)
> [Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.applyChanges(EntryWrappingInterceptor.java:617)
> [Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.applyAndFixVersion(EntryWrappingInterceptor.java:678)
> [Server:server-local] at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenAccept(BaseAsyncInterceptor.java:105)
> [Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:672)
> [Server:server-local] at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:302)
> [Server:server-local] at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months
[JBoss JIRA] (ISPN-5083) Hot Rod decoder should use async Cache operations
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-5083?page=com.atlassian.jira.plugin.... ]
Radim Vansa closed ISPN-5083.
-----------------------------
Assignee: Radim Vansa
Resolution: Duplicate Issue
> Hot Rod decoder should use async Cache operations
> -------------------------------------------------
>
> Key: ISPN-5083
> URL: https://issues.jboss.org/browse/ISPN-5083
> Project: Infinispan
> Issue Type: Enhancement
> Components: Remote Protocols
> Reporter: Galder Zamarreño
> Assignee: Radim Vansa
> Fix For: 9.2.0.CR3
>
>
> Hot Rod decoder is currently tying up Netty threads as a result of calling up to Infinispan sync operations. Instead, Hot Rod decoder should call up async operations, convert the Notifying Futures to Scala Futures, and write up the reply when it's received. This should increase performance specially under heavy load.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 6 months