-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Prarthana,

On 8/26/15 6:36 AM, Prarthana Agwania wrote:
> Currently, we have multiple Tomcat nodes running on a single or on 
> different physical machines with each having its own object pool 
> (consider we have a pool of java String object but not connection 
> pool) i.e., an object pool per node. The requirement is to share
> this pool of objects across Tomcat nodes.
> 
> Is there any such implementation that we can readily use to achieve
> this?

I brought this up at ApacheCon 2015 in Austin, TX and Mark Thomas said
that Tomcat's "Tribes" component was built for just such a purpose.

I have no idea how to deploy Tribes using your own code, I've never
looked-into the API or anything else, but you could have a look at
what's there.

(In my case, I wanted to build a service that was nothing but a simple
clustered name/value store. Note that memcached, as André suggested,
when clustered actually divides the data into chunks without repeats
on other member clusters. I wanted something with different semantics
- -- specifically, that every node had a copy of every key/value pair,
and that featured eventual-consistency. I don't need something as
heavy as Voldemort or Cassandra - I don't need durability - so I was
looking for something more basic.)

If you want, check out Voldemort or Aerospike, or even Tribes. But no,
no component in Tomcat is going to do this for you (other than Tribes,
which you will largely have to figure out for yourself).

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJV3bi1AAoJEBzwKT+lPKRYFfwP/0P0aE0qWOqLayJVT9MPZXRi
9liVmobPezCC6Ahp3tNc3libJvhuxwDXgdSVGyEa25jMjspdwjY8R60ztiIX4H52
YGqy41HOBXdqJTUxcjPpF05IAEVZmkVJjFs6f0lbwQA0Q3MPgOvnLAOGy+eob7zZ
76lmxIDoPgwrSm+WQGsSEmV9oqG2QEtfolMnuSDFqJFAtcnxTV2ewueTftNZVi7+
IT9bF7afpIJZTMTxpP8jj9QC6LXRz7cToai+S1D+NOJqkJTGWegI2eOWTSpg2Wlf
dOQsZk2DewAQDyWyzFcsFwqFSqi72TLymtnYD0Z49lm0Ynjjeq4PqU+JS/v4mRs/
oV+7CzrkUFLEs4RASkesxyXhCkRf3X33aG37Q+g+0tsVquoRxB/pnhqIP1819/6G
dBGKF42BQzF5V+fiHtbkPS0+uJyTDSSeCaLGOAXyCbrR961bdeikV/xQI34alyWi
ikUcI2IWMVxhX0oq2otzCCU22DQR6eI3W6vXZnzRvk67UK5flAM2birKTapC4R8v
n6JcEh8I5//jkjWUfphJMr1InEjswFNYQj0PV9/BFVh4LJ1kGMRbSVNM1rsydesZ
Pddfyf24jd6Jy2mktS6rxNTe/krl69nSD5b24sjO9PjDeNTfqiG5J3mV/WTa+ZXt
4loPyCiKQ1QhWX6e5VzY
=fEMG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to