While looking for inspiration to write this post, I ran into a help request on a popular PHP community forum. When he showed some snippets of code, the problem became obvious. Some time ago, I had a similar situation...
A growing customer base is usually a good sign. But also it can cause you a lot of pain and suffering, i.e. when you hit limits of the application, and it will become too slow to keep the customers interested, or even goes down. In this article I will cover 5 hacks to overcome the most popular scalability issues within hours.
Do you want to attract more users for your SaaS? I am sure you do. If you are a SaaS owner, you probably track all the metrics like conversion rate, activation, churn, and MRR. But it all comes down to the users. The more you acquired, the better, right? Well… usually yes.
I want to present you a real story that happened in a project we took over. On this day, Sentry revealed a strange error. The short analysis showed that the error occurred when a user was removed. But wait, there is no such feature as removing a user! What happened?!? I analyzed the logs and found out that someone wanted to delete his/her profile picture and instead... removed himself!
== or ===? How many equal signs to put up so that it is correct and that nobody in the code review has a problem with it? Why is it so tricky in PHP?