Skip to content

polyfractal/elasticsearch-php-benchmark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElasticSearch PHP clients benchmark

We run all the PHP clients for Elasticsearch (if we miss one, send a PR!) and ask them to perform a lot of requests, we compute some statistics about it.

More than the speed or memory, this benchmark is also about usage, API and examples for each clients.

They are configured the same way:

  • no logs
  • two nodes cluster (as we run a test with the master node down, to test fallback)
  • keep alive on the connection (if possible)

About versions

  • ruflin/elastica: v0.90.5.0
  • sherlock/sherlock: dev-master
  • elasticsearch/elasticsearch: v0.4.2
  • nervetattoo/elasticsearch: v2.3.0

Data extracted 2013/11/15

Runned with PHP 5.3 on Ubuntu 12.04.

elasticsearchsherlockelasticanervetattoo
getDocument9772223515491109
searchDocument5753251818591118
searchDocumentWithFacet5803310920471057
searchOnDisconnectNode12419028590
searchSuggestion70150245822203
indexRefresh4916014891502
indexStats5107016741402
Total time5556411004370889844
Memory2831155212320768107479048388608

Run the bench

Boot Elasticsearch on the default port and run ./bin/run-all.sh.

Read about the whole results

This benchmark is part of an article describing Elasticsearch PHP clients.

About

Benchmark of some PHP Clients for Elasticsearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 87.2%
  • Shell 12.8%