FabricJavaPool
A Connection pool manager for Fabric development
based on fabric-sdk-java 1.4.6, fabric-gateway-java 1.4.3 and JDK8
following design of JDBC
Basing common pool and Fabric Java SDK, able with cache support for query with memcache.
Will provide you a config and a pool object of channel obj base on User.
Mostly used as query chain code for a specific user.
Why
Assuming we have a webUI for client, and the UI need request times to fabric network to fetch data.
For performance exception, we don’t want to have IO session many times.
So a connection pool basing on user’s msp, and try to reuse the connection on java server side by session or cookie.