[OPEN-ILS-DEV] Fastest way to load titles after catalog search (via OSRF)?

Dan Wells dbw2 at calvin.edu
Wed Sep 21 09:41:56 EDT 2016


Hello Ken,

As one of the original devs on the Android app, it’s been on my radar (for forever) to get those changes merged back upstream.  Not anything I have foreseeable tuits for, but I definitely support the idea.  There isn’t likely to be a bigger Java OpenSRF client than the app anytime soon, and maybe not ever, so we might as well conform to existing needs.

Sincerely,
Dan


Daniel Wells
Library Programmer/Analyst
Hekman Library, Calvin College
616.526.7133

From: Open-ils-dev [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Ken Cox
Sent: Wednesday, September 21, 2016 7:33 AM
To: Evergreen Development Discussion List <open-ils-dev at list.georgialibraries.org>
Subject: Re: [OPEN-ILS-DEV] Fastest way to load titles after catalog search (via OSRF)?

Thanks, but the GatewayRequest class I am using is from a old fork.  The Android sources had to fork a while back because of limitations in the platform support.  For example, OSRFRegistry had to be made Serializable and the parser had to be replaced with XMLPullParser.

Ken

On Tue, Sep 20, 2016 at 10:08 AM, Bill Erickson <berickxx at gmail.com<mailto:berickxx at gmail.com>> wrote:

On Mon, Sep 19, 2016 at 8:02 PM, Ken Cox <kenstir at gmail.com<mailto:kenstir at gmail.com>> wrote:
Bill, awesome tips, thanks!  I look forward to benchmarking them.

In some places I am using the GatewayRequest class, but in many I am using a new GatewayJsonObjectRequest class, which extends com.android.volley.Request.  The volley library<https://developer.android.com/training/volley/index.html> launches multiple parallel requests.

The GatewayRequest class supports multiple parallel requests as well.  See the sendAsync() example in org/opensrf/test/TestGateway.java


Is there a version of Evergreen that supports websockets?  (I don't see any happening on CW/MARS).  There is at least one active Android library for websockets, it's part of https://github.com/koush/AndroidAsync.

Any EG instance with a functioning browser client is running websockets.  If they are not running the browser client, they are almost certainly not running websockets.  It will be some time before everyone is using it.

-b




--
-Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20160921/c6c0b64a/attachment.html>


More information about the Open-ils-dev mailing list