[jira] Created: (NET-237) add streaming methods (corresponding to array methods) to NNTPClient

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (NET-237) add streaming methods (corresponding to array methods) to NNTPClient

JIRA jira@apache.org
add streaming methods (corresponding to array methods) to NNTPClient
--------------------------------------------------------------------

                 Key: NET-237
                 URL: https://issues.apache.org/jira/browse/NET-237
             Project: Commons Net
          Issue Type: New Feature
    Affects Versions: 2.0, 1.4, 1.3, 1.2.2, 1.2.1, 1.2, 1.1.1, 1.1, 1.0
            Reporter: Ken Geis


NNTPClient.listNewNews(..) can use a lot of memory for large groups.  I recommend adding streaming version of the same.

  Iterator<String> iterateNewNews(NewGroupsOrNewsQuery query);

One could also add streaming versions of the *Newsgroups methods, but these are expected to have smaller results than some large newsgroups.

  Iterator<NewsgroupInfo> iterateNewNewsgroups(NewGroupsOrNewsQuery query);
  Iterator<NewsgroupInfo> iterateNewsgroups();
  Iterator<NewsgroupInfo> iterateNewsgroups(String wildmat);

I'll work on iterateNewNews(..) and submit a patch if it's good.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (NET-237) add streaming methods (corresponding to array methods) to NNTPClient

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/NET-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651982#action_12651982 ]

Rory Winston commented on NET-237:
----------------------------------

Hi Ken

Sure, any patches would be appreciated - there has been a TODO to improve NNTP client performance for a very long time :)

> add streaming methods (corresponding to array methods) to NNTPClient
> --------------------------------------------------------------------
>
>                 Key: NET-237
>                 URL: https://issues.apache.org/jira/browse/NET-237
>             Project: Commons Net
>          Issue Type: New Feature
>    Affects Versions: 1.0, 1.1, 1.1.1, 1.2, 1.2.1, 1.2.2, 1.3, 1.4, 2.0
>            Reporter: Ken Geis
>
> NNTPClient.listNewNews(..) can use a lot of memory for large groups.  I recommend adding streaming version of the same.
>   Iterator<String> iterateNewNews(NewGroupsOrNewsQuery query);
> One could also add streaming versions of the *Newsgroups methods, but these are expected to have smaller results than some large newsgroups.
>   Iterator<NewsgroupInfo> iterateNewNewsgroups(NewGroupsOrNewsQuery query);
>   Iterator<NewsgroupInfo> iterateNewsgroups();
>   Iterator<NewsgroupInfo> iterateNewsgroups(String wildmat);
> I'll work on iterateNewNews(..) and submit a patch if it's good.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NET-237) add streaming methods (corresponding to array methods) to NNTPClient

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/NET-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rory Winston updated NET-237:
-----------------------------

    Priority: Minor  (was: Major)

> add streaming methods (corresponding to array methods) to NNTPClient
> --------------------------------------------------------------------
>
>                 Key: NET-237
>                 URL: https://issues.apache.org/jira/browse/NET-237
>             Project: Commons Net
>          Issue Type: New Feature
>    Affects Versions: 1.0, 1.1, 1.1.1, 1.2, 1.2.1, 1.2.2, 1.3, 1.4, 2.0
>            Reporter: Ken Geis
>            Priority: Minor
>
> NNTPClient.listNewNews(..) can use a lot of memory for large groups.  I recommend adding streaming version of the same.
>   Iterator<String> iterateNewNews(NewGroupsOrNewsQuery query);
> One could also add streaming versions of the *Newsgroups methods, but these are expected to have smaller results than some large newsgroups.
>   Iterator<NewsgroupInfo> iterateNewNewsgroups(NewGroupsOrNewsQuery query);
>   Iterator<NewsgroupInfo> iterateNewsgroups();
>   Iterator<NewsgroupInfo> iterateNewsgroups(String wildmat);
> I'll work on iterateNewNews(..) and submit a patch if it's good.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NET-237) add streaming methods (corresponding to array methods) to NNTPClient

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/NET-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated NET-237:
---------------------

    Component/s: NNTP

> add streaming methods (corresponding to array methods) to NNTPClient
> --------------------------------------------------------------------
>
>                 Key: NET-237
>                 URL: https://issues.apache.org/jira/browse/NET-237
>             Project: Commons Net
>          Issue Type: New Feature
>          Components: NNTP
>    Affects Versions: 1.0, 1.1, 1.1.1, 1.2, 1.2.1, 1.2.2, 1.3, 1.4, 2.0
>            Reporter: Ken Geis
>            Priority: Minor
>
> NNTPClient.listNewNews(..) can use a lot of memory for large groups.  I recommend adding streaming version of the same.
>   Iterator<String> iterateNewNews(NewGroupsOrNewsQuery query);
> One could also add streaming versions of the *Newsgroups methods, but these are expected to have smaller results than some large newsgroups.
>   Iterator<NewsgroupInfo> iterateNewNewsgroups(NewGroupsOrNewsQuery query);
>   Iterator<NewsgroupInfo> iterateNewsgroups();
>   Iterator<NewsgroupInfo> iterateNewsgroups(String wildmat);
> I'll work on iterateNewNews(..) and submit a patch if it's good.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.