I have a use case in which i want to create per index per account (assume an account represents an user), all data belong to that user will be kept in that index. My question is - what if we create connection per index and keep it alive during the user session. So this means for 100 active users, there will be 100 connections from TransportClient to ES Cluster. I don't have a reason why I have 100 instances of TransportClient has to be initialized and kept in memory. Not sure if a singleton would unnecessarily bring thread locks.
Any help is greatly appreciated. Thanks -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ce54bd4b-1c11-429a-8998-76482f051375%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
