Posts

Some notes on slow queues and Redis over TLS

Image
When playing around with a load testing tool and some Laravel queues I started noticing a weird pattern: every 22 dispatched jobs, there would be a 5 second delay on all queues before dispatching the next set off jobs. This is what my log file looked like after adding some log statements: Jump to the TL;DR I narrowed it down to the connection to Redis taking up to 5 seconds to connect. Not entirely related, or so I thought, but this was only the case when testing using a DigitalOcean Droplet and their managed Redis servers. I've ran the same test on a local app with a managed Redis server and some other combinations. The issue only seems to occur on the DigitalOcean Droplet combined with the DigitalOcean managed Redis server. Cause & solution After a lot of Googling I finally came across this thread:  "Redis->auth() sometimes freezes after upgrade to php 7.4" . There's also  Simon Benett's excellent article  that mentions this issue. As it turns out, these

The Rules of Material Design

Image
  Material Design has become the standard for designing and developing Android applications and many websites. Before you can get the best results from Material Design, though, you need to learn a few rules that will improve your work’s consistency and help it operate on the Android platform. You don’t have to accept the following as definite rules that you must follow. You can break most of the rules of Material Design while building terrific products. Overall, though, you and your users will have better experiences when you don’t deviate too far from the following guidelines. Emphasize functionality before you focus on form Do you feel a little argument brewing between your graphic designer and your developer? That can happen when you start using Material Design. Material Design makes it easier than ever to add responsive animations, transitions, and other effects that thrill designers. These components can add to an app’s functionality. Using too many of them—or using them in the wr

Reasons to Pick React Native for Mobile App Development

Image
  There are a number of mobile app development frameworks available today that help developers and organizations create an interactive and easy to use mobile application for their customers. React Native is one such framework that is popular with experts for mobile app development. As per trends released by Digitalize Trends, React Native is the top performing mobile app development language today and can be used to build applications for both, Android and iOS operating systems. In this article we will study what React Native is and look at the reasons developers should pick it for mobile app development. Works In Budget Constraints As we have mentioned earlier, React Native is ideal for businesses that want to save money and develop an application within their limited budget. When you are starting your new business, money in hand is the most important commodity for you. In fact, cash in hand determines your liquidity and can dictate future growth and marketing decisions. In a bid to s