44 ms·
Is there any benefit to using Lua as opposed to Java or Ruby as a client for Elasticsearch (assuming one isn't using Lua already in their code)
by AznHisoka 11y ago
Is there any benefit to using Lua as opposed to Java or Ruby as a client for Elasticsearch (assuming one isn't using Lua already in their code)
- arthurcolle 11y agoLua is faster than both
- sinzone 11y agomuch faster than Ruby
- sciurus 11y agoLua is commonly embedded in other programs, like nginx (via ngx_lua) or haproxy (starting in 1.6). This would let you interacti with elasticsearch from them.
- BenjiBajing 11y agoIf you're free to choose how to interact with ES you should use the native Java API [1]. All others are wrappers for the http client where the http client is a wrapper for the native Java client API. [1] https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/index.html https://www.elastic.co/guide/en/elasticsearch/client/java-ap...