News for hackers. Stuff that matters.
Re:The dark side of GraphQL: performance by wp381640 on Wednesday January 01, 2020 @08:46PM (#21932291)
It would be like posting "The dark side of SQL" for a slow MySQL query
Re:The dark side of GraphQL: performance by NotSammyHagar on Wednesday January 01, 2020 @10:07PM (#21932682)
But there are dark sides to using sql, often from the abstraction that sql provides.

Maybe the optimizer picks a poor plan and you can't figure out how to make it work better. Maybe the schema has redundancy you can't change or the indexes aren't suitable for that query. Maybe it's auto parameterizing constants and the query with the problem has a parameter causing different behavior than the original constant used in optimizing the query, or maybe your query with 1000 elements in an in list worked great in memsql or whatever but is slow unexpectedly in the database you ported your app to. There are downsides to everything.