The Middle of the Square

35 Million Hot Dogs: Benchmarking Caddy vs. Nginx

The state of Flow-based Programming

Issue #274

9/29/2022

{{PreviewText}} 

hey hey hey
Wow have I had an adventure today. Two cancelled flights, two last minute bookings, one hour of sleep. It'S bEeN gReAt. It's all in the name of attending a once in a life time event though (about a 70% chance of that being true), so I think it's worth it.
Here's an interesting outline on how you can make money doing open source stuff.
Welp, it's the last issue before the weekend. Hope you have a good one.

====================================================================

The Middle of the Square

Published: 8 August 2022
Tags: algorithms


John von Neumann was a prodigy and a polymath who made notable contributions in pure mathematics, physics, game theory, economics, and the design of computers. In this article, Brian Hayes dives into one of his pseudo-random number generating methods called the middle of the square algorithm.
Some highlights:

  • Pseudo-random number generators aren't actually random (wOw!)
  • The simulation technique, in which random numbers determined the fates of thousands of individual neutrons, came to be known as the Monte Carlo method
  • The old random was worse than modern random (heh)


====================================================================

35 Million Hot Dogs: Benchmarking Caddy vs. Nginx

Published: 14 September 2022
Tags: benchmarking, networking, nginx


This blog post is about benchmarking Caddy against Nginx and their respective performance metrics as reverse proxies. Tyler Langlois providers a methodology and tons of stats and graphs.
Some highlights:

  • Nginx will fail by refusing or dropping connections, Caddy will fail by slowing everything down.
  • Nginx’s caching behaviors let it really shine with static asset files
  • Nginx uses an almost effortless amount of memory. Caddy peaked at almost 160MB real memory allocated for non-breaking tests, which may or may not be significant depending on what amount of total memory is available to the OS
  • Caddy’s default configuration is good


====================================================================

The state of Flow-based Programming

Published: 28 August 2022
Tags: flowbased programming


This is an introduction by Vladimir Sibirov to flow-based programming, combined with deeper analysis of where and how it can be applied today or in the future.
Some highlights:

  • FBP is easy to understand and keeps flow diagram based documentation up to date (because it's the code)
  • Doesn't make software easier to write/cleaner/or codeless
  • FBP is an interested and not fully mature paradigm that can be explored and built upon


How did I do?

5 4 3 2 1
Amazing


Bad

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 2972

Opens: 1399

Clicks: 354

Link Clicks Clicks % Unique Clicks Unique Clicks %
The Middle of the Square Awaiting Update Awaiting Update Awaiting Update Awaiting Update
35 Million Hot Dogs: Benchmarking Caddy vs. Nginx 77 34.84% 80 34.93
The state of Flow-based Programming 144 65.16% 149 65.07

Previous

Back to Issues

Next