-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Rémy,
On 10/3/18 09:48, Rémy Maucherat wrote: > Hi, > > As I talked about during the latest TomcatCon (and the previous one > in London actually ...), there's a cloud aware cluster members > provider that can be contributed to Tomcat. > > The current code is here: > https://github.com/rmaucher/tomcat-in-the-cloud It uses Kubernetes > to retrieve the members of a cluster, rather than multicast (which > isn't available) or static (which is well ... static) member > providers. > > Credits: Maxime Beck and JGroups did the initial code Keiichi > Fujino explained how to refactor it to fit in the Catalina cluster > API and I refactored it as he told me to > > Problems: Only does Kubernetes for now (which is likely ok since > it's now widely available) JSON parser dependency (org.json) that > is likely not ok to have as is in the lib folder (solutions: > package renaming using a script or include json code in Tomcat) Solr uses this JSON parser which is quite fast, although the API is a little little awkward because of it: https://github.com/yonik/noggit AL2 license I'm not sure it's necessary to have a "streaming JSON" parser as opposed to a more "traditional" one where the whole JSON object is converted into objects before the client code can do anything with them. > Needs more testing Tomcat 9.0.13 needed (with some fixmes related > to that in the code) > > Comments ? - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlu1JjwACgkQHPApP6U8 pFgyYg/+Io3TnvBtSNm99H6dLzJ2AL4k3vOWBRupqgG6U93a7KP4F+R+6XuXhpBp XpGg3mkjx/gxXfR8Srd33dS7PUGd0k74HDDqBklXWmEJaaZR+Wu4gWswsbUwaHHx wnXGsBeiCgoVeoBu4fu108+tn8QirhkQy1RSSYERh26+YdHY9FlRHgRZSUJKMIoT G5uUk0QGUdHVWSNROvNOKZPDgCWHisN2sRXka7nOtuJXYEuvISusM0Rp2lizbd5o GndX9CtqyHyyB1UVBH61nx11wssGuHGY8aNSsRj/CaFSzp2mHlA0d2V7ohieV/p1 aKHmC2WdjndBmYZSlRBbBSrHce5J1iyf/OYyaDSt7V7cQU7fP2Ofpg866SDMh5XK b8tS4Bo5ZRSRRWkiC3Dl8sW2RAcFcjKHbmMpinj1ML8ygMVqLCNY81DWpxGsZtm/ opPZxEoBnPcQc5vpfpi0QjPKUrJxCUVKxrIO0KzHJ6jQ6UYJJ7VY5LUUvI5c+dqO xq3ag4JAqfCmcot/+9Ccz8+JVS9oGexkVexvkQBmuaqkXR6mkdBSnqlP1YrPVvt5 v6qu48nqkJtvOXkeGgk1XZgUsr+AKQBrprpO3i/Blf5ElMBw7uZodVe6LGRrfZUI ltQS+PIGQ4Uh6ECYZDjp9eIdlr2QKRjPOTs+qeERUru3sLvoeq4= =3p5n -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org