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. Read More
Author: Tim
Ways to Improve Laravel Performance
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. Read More
Zero Downtime Laravel Forge Deploys
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. Read More
What is Flexbox
If you are a web developer you probably have heard of Flexbox. Flexbox is becoming the new way to layout web pages and solves some of the issues when using floats. When considering using new features, you should always check browser support. Luckily today most browsers support flexbox. Here is another guide of React the open-source front-end JavaScript library.
If you are interested in learning more about flexbox, Wes Bos has a great video series on it. He also recently released a free Javacript30 course which covers a lot of flexbox. He does a great job making things simple and using real-world examples. Check out the video below. Read More