Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
hitko31456y@irene Well, WooCommerce is owned by the same company as WordPress, and they offer commercial solutions based on the two...
I'd definitely use something else, but it wasn't my decision -
C0D4669026y@hitko wordpress is a blog at core.
Woocommerce is like adding NOS to a go-cart and thinking its a suitable candidate.
im actually not suprised it would handle db queries poorly given WP isnt great at it either -
Kaji20976y@hitko Clarification: Woo was *acquired* by Automattic, because it was a way to capitalize on the most popular solution for a common use case. As such, most of its quirks have never really been ironed out.
On that note, I fucking hate the way WooCommerce screws up templating in WordPress... -
hitko31456y@Kaji It's been almost 4 years since, WordPress itself went through 3 major and 250 minor versions since. In that time, they could've done a complete rewrite if they weren't only focused on milking the popularity of WordPress.
-
Kaji20976y@hitko You won’t see any argument from me on that point (you’ll see a long list of rants regarding Gutenberg in particular if you check my history). Listening to their user base is not something they do even a fraction as well as they would lead you to think, as that incident exemplifies.
-
hitko31456yUpdate: just found this https://github.com/woocommerce/... Not a single change has been made in that direction since...
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
-
linuxxx23*client calls* "hello, we forgot the password to our WiFi router. Could you reset that for us?" 😐😶😮...
God I fucking hate WordPress
Today I found out a single WooCommerce site is using 20% of database CPU (for comparison, 50 other sites use only 10% between them). Upon investigation it turns out that WooCommerce loads every single product in order to do the taxonomy count. Because the data is stored as PHP-serialised values in post meta, there's no way to do a decent "SELECT count() ... GROUP BY ...". And that code came straight from the WordPress devs, no more and no less...
rant
sql
wordpress
wtf