Quantcast
Channel: SQL Server Data Access forum
Viewing all articles
Browse latest Browse all 4164

SQL Server ODBC + experimenting with eventlet non-blocking IO results in Segfaults sometimes

$
0
0

Hi, I'm experimenting with combining SQL Server with flask/socketio/eventlet for non-blocking IO. Following guidance from @nat-goodspeed in the github issue (github.com/eventlet/eventlet/issues/538) I was able to wrap connections to the SQL server with a"Tpooled" ConnectionPool for use in combination with SQLAlchemy. Testing non-blocking IO using this method seems to work fine, but sometimes the flask app does experience Segfaults and terminates.

I'm wondering if this might be a possible shortcoming of the SQL Server ODBC driver? And if so, could it be addressed with a future ODBC driver version?

The test app I've been using is available via the above github issue, however I'll link it here as well: github.com/bpaterni/flask-app-simple-blocking-eventlet


Viewing all articles
Browse latest Browse all 4164


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>