Hi Everybody,
The as is situation:
We have an application (on Server 1), which fires many (up to 20)
Solr-Queries (on Server 2) to produce the result. Since we have network
latency for transport and serialization, we will shift the Query-Part to
Server 2. The idea behind is, that the complete Search Logic and
"re-crawling" must not be done using the network interface via a "slow"
connection.
The queries are depending on each other. When query-1 produces a result,
in dependency of the result another queries might be fired (or even not).
The Logic is nearly shifted and is working. We get feasible results
(using a binary format) for serialization / delivery and we can measure,
what time it takes to serialize the resultset and see the message size,
which is passed over the network.
The Question:
Is there a queryable statistical information, where i can get
information about the serialization (SolrJ) and the message size?
If not, is there a way to build a custom component / Filter which can
access / log this information?
We currently having a Filter on Tomcat Level for slow-query purposes,
but this filter only surrounds:
<snip>
chain.doFilter(request, response);
</snap>
What I want to know: how expensive is the serialization (SolrJ) of the
20 queries mentioned above in comparison to the Single-Serialization of
the object described before.
I hope you understand, what I want.
Regards, Ralf