Centiloc Service Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Web Application & Network

As described in the API section, geocore uses gRPC technology. Web applications, such as centui or enrolui, rely on gRPC calls to communicate with the geocore APIs.

geocore runs proxies that allow HTTP2 to HTTP1 conversion for common RPC calls. However, this conversion does not support websocket (streaming) calls.

Stream vs Polling

In some web applications, you will find the following buttons:

streaming
polling

By default, STREAM mode is enabled, offering the fastest response time and the best user experience. Using websocket technology allows the server to automatically push data packets to the client, ensuring optimal communication performance.

If you encounter issues while running the web applications, it might be due to firewall or system configurations blocking HTTP2 websocket traffic. In such cases, you can switch to POLLING mode.

POLLING mode is slower, as it requests updates from the server every few seconds. It should only be used if STREAM mode does not work properly, as it results in higher latency and increased resource usage.