4 ms·
While this is really cool (and a feat of engineering no less), I'm always really concerned when someone suggests to make an HTTP call from their database server
by dimgl 4y ago
While this is really cool (and a feat of engineering no less), I'm always really concerned when someone suggests to make an HTTP call from their database server.
Many years ago my boss told me to make a scheduled task in Windows to execute a SQL query to make an HTTP call and I asked him why we couldn't just use crontab/cURL? His response: "cURL? Like from the 90s?"
Anyhow I didn't last very long. Got fired shortly thereafter.
- alexgarcia-xyz 4y agoYeah, "dont make network requests from the database" is a common antipattern, but it doesn't quite apply with sqlite-http. It's mainly meant for data processing scripts that use SQL, which is typically on a local database file with pretty low risk. You probably wouldn't want/need sqlite-http on a SQLite db that a live application uses, unless you use the no network[0] option [0] https://github.com/asg017/sqlite-http/blob/main/docs.md#no-net https://github.com/asg017/sqlite-http/blob/main/docs.md#no-n...
- deleted 4y ago[deleted]