Skip to content

Commit 35a41f6

Browse files
authored
Merge pull request #1347 from formapro-forks/doc-speed-up-populate-cmd-upd
[doc][skip ci] speed up populate cmd upd. add enqueue elastica bundle to suggest list.
2 parents 4e77c80 + 90083d0 commit 35a41f6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Resources/doc/cookbook/speed-up-populate-command.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Here's some signs, if you spot them consider using the solution from this tutori
77
* The command takes enormous amount of time to re-index data.
88
* It consumes a lot of memory.
99
* It fails here and there because of lucking resources or running out of time.
10+
* It fails on some buggy model and you want to gracefully skip it and continue indexing.
1011

1112
This chapter describes a solution that improves the command performance and reduces its time&memory consumption.
1213
Instead of doing everything in one single process the populate command delegates work to workers (via [message queue](https://en.wikipedia.org/wiki/Message_queue)).

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
"symfony/validator": "^2.8|^3.4",
4545
"symfony/stopwatch": "^2.8|^3.4"
4646
},
47+
"suggest": {
48+
"enqueue/elastica-bundle": "The bundle adds extra features to FOSElasticaBundle bundle. Aimed to improve performance."
49+
},
4750
"autoload": {
4851
"psr-4": { "FOS\\ElasticaBundle\\": "" }
4952
},

0 commit comments

Comments
 (0)