In a previous post, I’ve covered how I used Digital Ocean’s load balancer to handle the increasing number of request my Weather Extension receives. For weeks everything was going great but about a month ago I started having issues with DO load balancer. Users were receiving 522 (timeouts) errors. DO claimed my servers were the issue. After some testing, I realized that around 1,000 requests a minute, Digital Ocean’s load balancer started failing even though they claim to not limit the number of requests. (more…)Follow @Tim_Leland
Let’s face it, urls can be long and with Twitter’s 140 character limit, link shorteners can be very useful. There are several free services but I tend to use Google url shortener. It’s free, easy to use and tracks stats like the number of clicks.
To make the process of generating a short url easier, I created a chrome extension that uses Google link shortener api to quickly generate a short link and copies it to your clipboard. If you shorten links often, you should check out my chrome extension.Follow @Tim_Leland
After a few days of use, I would definitely recommend them to anyone. They are cheap and easy to install. They can be powered from a usb port on the back of your monitor and cut to fit any size monitor. Currently they are on sale if you use the promo code GT8OMP06 at checkout.Follow @Tim_Leland
Performance and reliability are two key factors that contribute to a user being happy when using a website/app. They tend to not be forgiving when a website fails to load especially when it comes to browser extensions. If it doesn’t work the first time, they often uninstall. (more…)Follow @Tim_Leland
To get a better idea of how my server for Weather was handling request, I needed a way to get some insights into nginx. I wanted to calculate request per second and routes being accessed. I came across a great tool call ngxtop, a real-time metrics for nginx server. After a few commands ngxtop was up and running on my Digital Ocean Forge server. (more…)Follow @Tim_Leland
Over the past few months my Weather Extension has grown to over 118,000+ users and averages 14 req/sec. Weather uses Laravel primarily as an api and VueJs to render the html. Speed is very important. Currently Weather is hosted on a $40 a month Digital Ocean server. Since Weather is free, I’ve tried my best to keep cost low. Here are a few changes I’ve made to improve the performance of my Laravel app. (more…)Follow @Tim_Leland
So you’re a Laravel developer and of course you are using Forge to manage your servers. You enjoy how simple Forge makes it to deploy your applications but you may notice a few seconds of downtime when your app is updating packages etc. To solve this you could use Envoyer, from Taylor Otwell or hack together you own solution. (more…)Follow @Tim_Leland