Hi,
We are using Mediabin 4.5.3
Using SOAP web calls from a Java Server to our Mediabin Server across a WAN.
We are using a persistent connection in our Java code to try an minimize latency.
In our application, we need to show a listings of all assets in a given MediaBin directory, and a few custom pieces of metadata about them.
Say the folder we are in has 200 assets. We have a for loop that calls something like
MBMetadata[] metadata = service.getAssetMetadataItems(assets[index].getMID(), metadataIds);
Our code is on a seperate tomcat server from the MediaBin server, so that means each webcall is taking around 150ms. With 200 items, that is in the range of 30 seconds to make the web calls.
Are we missing something, or is there some way to batch up all these calls and save 29 seconds? I don't see a way in the API to send in an array of assets we want to get back, and do it all in 1 call.
Our only thought so far is to change this code to run locally on the mediabin server, but we would prefer a web service call way to handle this.
Thanks!