That said, the same problem remains, that you might end up with the threadpool being full because of a slow API. You can increase the thread pool size, but that would just delay the problem. Having a queue in your ingestion process or doing this as a preprocessing step (like the ingest node but in your own app) might be viable alternatives as well. I would always try to not block Elasticsearch threads if possible, especially the write thread pool.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.