Processing images is very CPU intensive. As Lorem Picsum runs on a very small budget, to cope with all the requests as the service became more popular, we wanted to avoid doing so as much as possible. This meant adding caching to multiple layers of the architecture. We added two separate layers of caching: A CDN in front, as well as a second cache layer using Varnish Cache. To make the image processing as efficient as possible, we decided to use libvips, as it's very fast and resource-efficient.
As part of making Lorem Picsum as easy to use as possible, we've never required any registration, API keys, or enforced any usage limits. This has generally worked out well, but once in a while a high traffic site deploys production code calling our API, usually accidentally, which leads to [problems]
Police in Southington, Connecticut arrested Joshua Moore who is accused of robbing numerous ATMs of $200,000-$300,000 in cash. How would Moore have accessed the machines? He got the right tool for the job. According to the investigators, “the suspect utilized a battery powered hydraulic spreader similar to what is used by firefighters during vehicle extrications […]
I’ve tried a few times to make useful yet portable things out of wood and never really succeeded. To cut a long story short, what I never realized was that handsaws sold in home improvement stores are worse than useless, and all I needed to do was get something else. The Gyokucho Ryoba Saw — […]
I can’t wait to make something out of wood using Matthias Wandel’s ingenious solution to the greatest division in human society: the Metric and Imperial Unified Ruler. Metric people like nice convenient units, decimal, and being able to make easy calculations. Inches people like complicated fractional units. So I have come up with a new […]
The field of data analytics is growing as fast as the internet itself. Self-driving cars, airline pricing, and huge marketing campaigns are all driven by the insights that data scientists can distill out of vast sums of information. Even with the help of powerful software like Python, it’s a highly skilled position. But those skills […]
If you’re marketing on the web, your Google-fu needs to be strong – and up to date. Without a firm grasp on what drives traffic, you’ll never be able to take the wheel. That’s why even if you know where to put your keywords, a little extra effort goes a long way on any marketer’s […]
Want to keep the dentist away? A little tooth care at morning and night isn’t bad, but it won’t keep the stains from smoking or fried foods at bay for long. If you enjoy your food and want to avoid the consequences, an upgrade from that old analog toothbrush can make a huge difference. Among […]