Kotti / kotti_es

Kotti ElasticSearch implementation
Other
7 stars 1 forks source link

Add support for asynchronous indexing #1

Closed davidemoro closed 9 years ago

davidemoro commented 9 years ago

The very first implementation comes with synchronous indexing after a successfull commit related to a insert, update or delete for IContent types.

This is acceptable for simple sites but it may introduce performance problems in a site with a high write ratio. The first connection to ES requires quite long time. Probably we should add optional support for asynchronous indexing, executed by a worker that reads from a queue service fed by our event handlers