cross-solution / YAWIK

YAWIK is a web application. It can be used as an ATS applicant tracking system or as a jobboard.
https://yawik.org
MIT License
124 stars 67 forks source link

Page request is so slow #423

Closed sithuhlaing closed 5 years ago

sithuhlaing commented 6 years ago

I found out page request is too slow by using with docker. How can I optimize YAWIK. Thanks a lot.

cbleek commented 6 years ago

On each request we currently call an "ensureIndex". This line creates indexes, if they are not existing.

Try to comment the line an test, if the requests gets faster.

https://github.com/cross-solution/YAWIK/blob/develop/module/Core/src/Core/Repository/DoctrineMongoODM/DocumentManagerFactory.php#L35

cbleek commented 5 years ago

ensureIndex was removed. It's not needed any more. Will be available in 0.32