[JBoss JIRA] (ISPN-7363) Allow @Input caches to Runnables in CDI
by Sebastian Łaskawiec (JIRA)
Sebastian Łaskawiec created ISPN-7363:
-----------------------------------------
Summary: Allow @Input caches to Runnables in CDI
Key: ISPN-7363
URL: https://issues.jboss.org/browse/ISPN-7363
Project: Infinispan
Issue Type: Bug
Components: CDI Integration
Affects Versions: 9.0.0.Beta1
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
Currently injecting {{@Input}} caches work only for {{Callable}}s. Since {{DefaultExecutorService}} supports also {{Runnable}}s, we should also support injecting {{@Input}} caches there.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-7244) Administration console - creating new cache should only show valid cache types
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7244?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-7244:
--------------------------------------
Status: Open (was: New)
> Administration console - creating new cache should only show valid cache types
> ------------------------------------------------------------------------------
>
> Key: ISPN-7244
> URL: https://issues.jboss.org/browse/ISPN-7244
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Priority: Minor
>
> This affects only standalone mode.
> Start Infinispan in Standalone non clustered mode (cache container without <transport> tag):
> - bin/standalone.sh
> Creating new cache/template shows all cache types, but only local cache is a valid option here. Choosing another type results in error.
> Suggested resolution:
> Only local mode for cache and template should be displayed for local cache container.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-7324) DDAsyncInterceptor indirection slows down replicated reads
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7324?page=com.atlassian.jira.plugin.... ]
Dan Berindei commented on ISPN-7324:
------------------------------------
Implicit transactions benefited a lot from the {{GetKeyValueCommand}} check in {{invokeNext()}}, however explicit transactions were actually slowed down because of the extra {{instanceof}} checks for {{PrepareCommand}} and {{CommitCommand}}. I will just inline `DDAsyncInterceptor.visitCommand()` instead, which has much smaller effects (both for the better and for the worse).
> DDAsyncInterceptor indirection slows down replicated reads
> ----------------------------------------------------------
>
> Key: ISPN-7324
> URL: https://issues.jboss.org/browse/ISPN-7324
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.0.0.Beta1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: performance
> Fix For: 9.0.0.Beta2
>
>
> Local reads are fast enough, but the additional interceptors and stage callbacks in (transactional) replicated mode seem to impact with the async interceptor stack a lot more than the classic one.
> One thing that's different with the new interceptors is that {{invokeNext()}} doesn't call {{command.acceptVisitor(nextInterceptor)}} directly. Instead it calls {{nextInterceptor.visitCommand()}}, and the interceptor decides whether to use double-dispatch (by extending {{DDAsyncInterceptor}}) or another strategy.
> In theory this allows us to use simpler interceptors, e.g. having just the methods {{visitReadCommand()}}, {{visitWriteCommand()}}, and {{visitTxCommand()}}. {{CallInterceptor}} already calls {{command.perform()}} for each command. For now, however, most interceptors extend {{DDAsyncInterceptor}}, and tx replicated reads are slower than in 9.0.0.Alpha0.
> With transactions, the {{VisitableCommand.acceptVisitor(}} call site in {{DDAsyncInterceptor.visitCommand}} is megamorphic (since the initial preload uses put, prepare, and commit). Adding a special check in {{invokeNext()}} to invoke {{command.acceptVisitor(nextInterceptor)}} didn't help, but adding a special check for {{GetKeyValueCommand}} made a big difference on my machine:
> |9.0.0.Alpha0 (CommandInterceptor)|4937351.255 ±(99.9%) 61665.164 ops/s|
> |9.0.0.Beta1 (AsyncInterceptor)|4387466.151 ±(99.9%) 78665.887 ops/s|
> |master before ISPN-6802 and ISPN-6803| 4247769.260 ±(99.9%) 133767.371 ops/s|
> |master| 4710798.986 ±(99.9%) 166062.177 ops/s|
> |master with GKVC special case| 5749357.895 ±(99.9%) 87338.878 ops/s|
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-7328) Administration console - cache statuses in cache container page behave randomly
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7328?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-7328:
--------------------------------------
Status: Open (was: New)
> Administration console - cache statuses in cache container page behave randomly
> -------------------------------------------------------------------------------
>
> Key: ISPN-7328
> URL: https://issues.jboss.org/browse/ISPN-7328
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 9.0.0.Beta1
> Reporter: Jiří Holuša
> Assignee: Vladimir Blagojevic
> Priority: Minor
> Attachments: screenshot1.png
>
>
> Steps to reproduce: create more caches (in my case at least ~20), go to cache container and try to refresh the page several times. It should sometimes appear that some of the cache has yellow warning status, see attached screenshot.
> This occurs very randomly and only with more caches (and probably more servers). IMHO there is some kind of timeout issue that the console fails to retrieve statuses from all caches in time.
> I think the best solution would be to, when waiting for retrieving of the cache status, have instead of "warning" icon some kind of spinner which would basically signal "I haven't got the status yet". This would also solve a bit of user-unfriendliness, which is when you go to cache container, initially all the statuses are "warning" and then they change to "OK". This moment can time quite some time when there are more caches and can confuse users quite a bit.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (ISPN-7328) Administration console - cache statuses in cache container page behave randomly
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7328?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-7328:
--------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan-management-console/pull/176
> Administration console - cache statuses in cache container page behave randomly
> -------------------------------------------------------------------------------
>
> Key: ISPN-7328
> URL: https://issues.jboss.org/browse/ISPN-7328
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 9.0.0.Beta1
> Reporter: Jiří Holuša
> Assignee: Vladimir Blagojevic
> Priority: Minor
> Attachments: screenshot1.png
>
>
> Steps to reproduce: create more caches (in my case at least ~20), go to cache container and try to refresh the page several times. It should sometimes appear that some of the cache has yellow warning status, see attached screenshot.
> This occurs very randomly and only with more caches (and probably more servers). IMHO there is some kind of timeout issue that the console fails to retrieve statuses from all caches in time.
> I think the best solution would be to, when waiting for retrieving of the cache status, have instead of "warning" icon some kind of spinner which would basically signal "I haven't got the status yet". This would also solve a bit of user-unfriendliness, which is when you go to cache container, initially all the statuses are "warning" and then they change to "OK". This moment can time quite some time when there are more caches and can confuse users quite a bit.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months