no answer, so let me ask a different way. how are most of the es javascript client apps managing the instance of the client?
do you have one es client per app (singleton) that all requests go through? Do you create and destroy clients for every request? Do you use a es client pool using something like https://github.com/coopernurse/node-pool ? Thanks for any comments! phil On Wed, Dec 24, 2014 at 10:34 AM, Phil Swenson <phil.swen...@gmail.com> wrote: > I'm writing a node/es app using the es javascript api.... > > Is there any reason to use pooling for all the javascript clients? Or > should I just use one client for the app? > > Thanks, > phil > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/a44a6a6e-8763-44f5-9e2d-8ea52dcf0345%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/a44a6a6e-8763-44f5-9e2d-8ea52dcf0345%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGenvhVYD-fRkrVx5j0XR_xNYM2eSFFFxh2TxJnEar-HEWVfSg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.