[JBoss JIRA] (ISPN-449) Streaming over Hot Rod
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-449?page=com.atlassian.jira.plugin.s... ]
Tristan Tarrant edited comment on ISPN-449 at 8/25/16 12:20 PM:
----------------------------------------------------------------
A possible approach using java.io.Reader and java.io.Writer (inspired by JDBC's LOB support):
{code:java}
Writer w = cache.putStream(k);
w.write(...)
w.close();
{code}
The server will not put the entry in the cache until an EOF is received.
Reading would be implemented similarly:
{code:java}
Reader r = cache.getStream(k);
r.read(...);
r.close();
{code}
Additionally we could support skip() to allow reading / writing from a specific offset.
was (Author: nadirx):
A possible approach using java.io.Reader and java.io.Writer (inspired by JDBC's LOB support):
{{
Writer w = cache.putStream(k);
w.write(...)
w.close();
}}
The server will not put the entry in the cache until an EOF is received.
Reading would be implemented similarly:
{{Reader r = cache.getStream(k);
r.read(...);
r.close();}}
Additionally we could support skip() to allow reading / writing from a specific offset.
> Streaming over Hot Rod
> ----------------------
>
> Key: ISPN-449
> URL: https://issues.jboss.org/browse/ISPN-449
> Project: Infinispan
> Issue Type: Feature Request
> Components: Remote Protocols
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Labels: hackathon
>
> Extend large object support/streaming to Hot Rod
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (ISPN-449) Streaming over Hot Rod
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-449?page=com.atlassian.jira.plugin.s... ]
Tristan Tarrant commented on ISPN-449:
--------------------------------------
A possible approach using java.io.Reader and java.io.Writer (inspired by JDBC's LOB support):
{{
Writer w = cache.putStream(k);
w.write(...)
w.close();
}}
The server will not put the entry in the cache until an EOF is received.
Reading would be implemented similarly:
{{Reader r = cache.getStream(k);
r.read(...);
r.close();}}
Additionally we could support skip() to allow reading / writing from a specific offset.
> Streaming over Hot Rod
> ----------------------
>
> Key: ISPN-449
> URL: https://issues.jboss.org/browse/ISPN-449
> Project: Infinispan
> Issue Type: Feature Request
> Components: Remote Protocols
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Labels: hackathon
>
> Extend large object support/streaming to Hot Rod
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (ISPN-6976) Log#iterationClosed should not use INFO level logging
by Sanne Grinovero (JIRA)
Sanne Grinovero created ISPN-6976:
-------------------------------------
Summary: Log#iterationClosed should not use INFO level logging
Key: ISPN-6976
URL: https://issues.jboss.org/browse/ISPN-6976
Project: Infinispan
Issue Type: Enhancement
Reporter: Sanne Grinovero
Priority: Minor
Fix For: 9.0.0.Beta1
I'm seeing lots of:
INFO RemoteCloseableIterator:69 - ISPN004046: Successfully closed remote iterator 'ae8525ce-a1f2-4dd8-b365-cce77af47656'
This is better suited for DEBUG level as it refers to normal operations.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months