Java implementation of LiveQuery Server

Big thanks to romanbsd who open-sourced a Java implementation of the Parse LiveQuery server:

From the README:

This is a implementation of the Parse LiveQuery server in Java. This implementation has the following benefits:

  • Uses less memory
  • Faster

Apart from utilizing the JIT capabilities of the JVM, this server is substantially faster because it uses a separate registry for “simple” queries. A “simple” query is a query by one predicate, e.g. equality. So for most use cases (subscribe to an object by id or by pointer), it will use the “simple query” registry, which is O(log(n)) vs O(n) for the regular (by class name) query retrieval.

It was designed as a drop-in replacement for the original Javascript implementation.

I just registered, so I’m here :slight_smile:

1 Like