Barthelemy Dagenais
Barthelemy Dagenais
Hi, can you post a more complete code example, I'm not sure what the problem is? I would note though that you have a custom port for the Python to...
Try to initiate the shutdown from the Python side only, i.e., `gateway.shutdown()` The shutdown() method will take care of shutting down the GatewayServer on the Java side and the CallbackServer...
Hi, could you be more specific and clarify what you mean by large objects (Py4J works with references except for primitives and byte arrays)? I totally agree that for calling...
Sending byte arrays as bytes (vs using the text protocol) is doable and probably preferable than trying to create a totally new binary protocol. I agree that transferring vectors with...
Yup, I understood. Bytes are converted with base64 so it is really expensive for large arrays.
Py4J uses a text protocol and base 64 is a common strategy to transfer non-textual data in a text protocol. The text protocol made sense because Py4J was created to...
Re The Atlantic: https://github.com/bartdag/py4j/pull/95
If I understand correctly, DatatypeConverter is available on all JVMs and is the fastest implementation. That might be a way to slightly improve performance and simplify fedora packaging.
Hi, I will need a more complete code example to help on this one because auto_convert does work for clientserver: ```python from py4j.clientserver import ClientServer, JavaParameters, PythonParameters clientserver = ClientServer(java_parameters=JavaParameters(auto_convert=True))...
Is the Java side with its GatewayServer started and listening?