[JBoss JIRA] (ISPN-375) Enable Hot Rod clients to start transactions
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-375?page=com.atlassian.jira.plugin.s... ]
Tristan Tarrant updated ISPN-375:
---------------------------------
Sprint: 9.1.0.Beta1
> Enable Hot Rod clients to start transactions
> --------------------------------------------
>
> Key: ISPN-375
> URL: https://issues.jboss.org/browse/ISPN-375
> Project: Infinispan
> Issue Type: Feature Request
> Components: Remote Protocols
> Reporter: Galder Zamarreño
> Assignee: Pedro Ruivo
> Priority: Blocker
> Labels: hackathon
>
> It might be useful to allow Hot Rod clients to start transactions within Hot Rod servers. The possibility of clients participating in the actual transaction, i.e. being an XAResource, should not be imposed since this might be less than trivial to achieve in non-Java environments. The alternative would be to allow clients to start Hot Rod server local transactions only.
> This would require enhancing Hot Rod spec to have some begin/commit/rollback commands that return a tx id, and for clients to be able to send this id as part of each command that should participate in the transaction.
> Pitfalls to avoid include avoiding a transaction to be propagated over several Hot Rod servers. IOW, to simplify things, if a tx is started in server A, all ops within that tx should be directed to tx. Load balancing could still happen but would need to be tx sticky.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 5 months
[JBoss JIRA] (ISPN-5218) Add batching to the AdvancedCacheWriter interface
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5218?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5218:
----------------------------------
Description:
The AdvancedCacheWriter should be extended with a batch operation which takes multiple write/remove operations so that stores which can do batching can optimize this. This would benefit:
* passivateAll
* putAll
* the async writer
Immediate users would be the JDBC stores, JPA, RocksDB.
was:
The AdvancedCacheWriter should be extended with a write operation which takes multiple entries so that stores which can do batching can optimize this. This would benefit:
* passivateAll
* putAll
* the async writer
Immediate users would be the JDBC stores, JPA, RocksDB.
> Add batching to the AdvancedCacheWriter interface
> -------------------------------------------------
>
> Key: ISPN-5218
> URL: https://issues.jboss.org/browse/ISPN-5218
> Project: Infinispan
> Issue Type: Enhancement
> Components: Loaders and Stores
> Reporter: Tristan Tarrant
> Assignee: Ryan Emerson
> Fix For: 9.1.0.Final
>
>
> The AdvancedCacheWriter should be extended with a batch operation which takes multiple write/remove operations so that stores which can do batching can optimize this. This would benefit:
> * passivateAll
> * putAll
> * the async writer
> Immediate users would be the JDBC stores, JPA, RocksDB.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 5 months