Skip to content

Is Workerman appropriate for database queries? #1045

Answered by joanhey
programarivm asked this question in Q&A
Discussion options

You must be logged in to vote

Absolutely it is faster and with less latency to use database queries !!

A simple query benchmark req/s :

Workerman with postgresql

PHP raw with postgresql

Example using Symfony app (with Adapterman) single query with full ORM:

And if you only need to save to the database, you can make it after send the response.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by programarivm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants