Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

"Thou Shall Not Code Count Queries"

LincLinc Director of DevelopmentDetroit Vanilla Staff
edited December 2014 in Development

This appeared in the Vanilla offices this morning:

"Thou shall not code count queries - blessed are those that cache counts"

We've had a couple near-incidents lately as a result of attempting to count things via count() query. Something to beware of in your own addons! It just won't scale.

Shadowdare

Comments

Sign In or Register to comment.