Skip to content

Eager load relations with concurrency #55316

Discussion options

You must be logged in to vote

Conclusion for mysql:

  • mysqli_poll can be used for relations that don't have bindings to async eager load them without the need of bootstrapping the app for each query.
  • for the ones that have bindings curl_multi_init or concurrency can be used but these will need to bootstrap the app in non octane situation.

If mysqli_poll will in the future support bindings, then that would be the fastest solution at the expence of more connections to mysql server.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@macropay-solutions
Comment options

Comment options

You must be logged in to vote
1 reply
@macropay-solutions
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by macropay-solutions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant