ElasticSearch Golang

Issue

Is it possible to identify multiple hosts with elastigo? I can’t seem to find anything specific to that. Anyone using elastigo in a PROD setting? I would really like to attempt using a go based app for our web services, but we have a requirement with ElasticSearch, Redis and possibly a few others. Just not sure that the drivers for go are ready yet.

Any suggestions / info would be appreciated.

Thanks,

S

Solution

elastigo is working very well in a production setting for us. As far as detecting ‘hosts’ my best suggestion is to read the elasticsearch documentation which describes their cluster management scheme – most of that work is handled by elasticsearch itself. In our (rather straightforward) usage I’ve never had to think about anything beyond the server host address:port – nodes self-connect to a named cluster when brought online (with proper configuration parameters) and load balancing is handled within elasticsearch itself.

Answered By – snwight

Answer Checked By – David Marino (GoLangFix Volunteer)

Leave a Reply

Your email address will not be published.