enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
201 stars 34 forks source link

js cluster api for statistics endpoint #7163

Closed ComLock closed 4 years ago

ComLock commented 5 years ago

web endpoints are nice, but if server config and firewall openings are not in place they might not be reachable, and using lib-filesystem to figure out which port/url the endpoint is on and doing http client request to localhost with faked session does not sound reasonable.

I would like something like: lib-cluster.get() lib-cluster.getInfo() lib-cluster.getClusterName()

To return some useful information.

ref: https://github.com/enonic/doc-xp/issues/33

sigdestad commented 4 years ago

We want to minimize the need for XP devs to know about/deal with clustering. We should rather focus on making the cluster transparent for developers.

Closing issue for now.