ODBC Async support? #477
arunnabraham
started this conversation in
General
Replies: 1 comment 1 reply
-
Hey @arunnabraham, there are multiple ways to achieve this but I think the easiest and quickest way is to take a look at https://github.com/clue/reactphp-pq. This turns blocking functions into non-blocking promises, so you're able to do stuff while you wait for your DB operations to finish. This is especially useful for ODBC as they can take up some additional time in contrast to directly interacting with the database. Other ways would be looking into implementing this as part or ReactPHP or as a separate project, but this involves quite some work 😅 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking for a way to use odbc connections for async io in ReactPHP, couldn't see any support on this. Not sure whether its easy to implement. This could be a great way to connect to multiple DB vendors who even dont have native PHP support yet.
Beta Was this translation helpful? Give feedback.
All reactions