Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
imron
29 days ago
|
parent
|
context
|
favorite
| on:
Agents that run while I sleep
Sometimes it’s still the app:
rows = select all accounts for each row in rows: update row
But that’s not necessarily a PHP problem. N+1 queries are everywhere.
silon42
29 days ago
[–]
Depending on what you are doing, the above is not necessarily bad.. often much better than an SQL that locks an entire table (potentially blocking the whole DB, if this is one of the key tables).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: