Skip to content

Performance / JVM restart / dbus (Windows)? #471

Answered by exquo
JuhaFin69 asked this question in Q&A
Discussion options

You must be logged in to vote

I assume that every signal-cli.bat call will restart JVM again and therefore signal-cli calls take some time(2-3 seconds).

Correct.

Is there any option to configure Java so that shutdown of JVM will not happen and all calls would be made by same JVM instance?

Run the daemon and communicate over DBus, like you suggest. Or, now there's also an experimental native build with GraalVM.

Or should I install this dbus https://gitlab.freedesktop.org/dbus/dbus/-/tree/dbus-1.12 to my Windows machine and then use signal-cli daemon mode? Does this combo Windows & dbus & daemon mode work?

I would like to know that too! :) According to their doc at least, windows is supported.

See also Performance…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by JuhaFin69
Comment options

You must be logged in to vote
1 reply
@exquo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants