This week I was doing some load testing and need to bump up some linux kernel parameter to ensure our load testing machine can generate as much as traffic possible.
Here is my tip on what to set if you ever need it:
sysctl -w fs.file-max=1000000
sysctl -w fs.nr_open=1000000
ulimit -n 1000000
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'
sysctl -w net.ipv4.tcp_rmem='1024 4096 16384'
sysctl -w net.ipv4.tcp_wmem='1024 4096 16384'
sysctl -w net.core.rmem_max=16384
sysctl -w net.core.wmem_max=16384
A three parts blog serie on building a webserver so you can understand all the detail of a HTTP request life cycle. What exactly get send, what is header/body, socket listener.
A short books with 13 chapters on how Basecamp develop software. Key points: 6 weeks sprint and no project manager. Small teams own features from plan, design to implement.
DataDog operates 40+ Kafka and ZooKeeper clusters that process trillions of datapoints across multiple infrastructure platforms, data centers, and regions every day. In this post, we’d like to share some of these lessons learned and highlight the metrics and logs that can help you keep tabs on the issues we encountered.
The thought experiment “Imagine if this were possible” is helpful in thinking through whether Windows lets you do something or other. (A special case of this is “When people ask for security holes as features.”) If the possibility leads to an obvious contradiction or the violation of generally-accepted rules of metaphysics, then you can be pretty sure that Windows doesn’t support it.
This blog series will cover five areas for Dockerfile best practices to help you write better Dockerfiles: incremental build time, image size, maintainability, security and repeatability
If you always want to play around with fuzzing, then this is a good guide to get you start. It’s interesting because usually we fuzzing a smaller library but this case it’s kernel. So require a bit of setup.
Serving modern code to modern browsers can be great for performance. Your JavaScript bundles can contain more compact or optimized modern syntax, while still supporting older browsers.
The first step to understanding any system is to measure it, and in order to make something faster we must look at where time is being spent. Luckily Node.js we have a cadre of tools to help us profile and understand where time is going for any process.
In this blog post, we examine how JavaScript’s global variables work. Several interesting phenomena play a role: the scope of scripts, the so-called global object, and more.
Generally, references to objects are strongly held in JavaScript, meaning that as long you have a reference to the object, it won’t be garbage-collected.
An interesting experiment where you can host a file in your browser and server it to the world. It basically a websocket tunneling to a central server.
Goa web interface allowing to scrape a website and then displays a tree of domains calling each other.
Python📊 Beautiful, interactive, and responsive web charts for your Ruby app powered by apexcharts.js.
RubyLet us build a circuit that displays an image on a VGA monitor! In this video, I talk about how VGA signals work and build a circuit that provides the correct timing of sync signals so that a monitor recognizes the signal.
RSA is an intrinsically fragile cryptosystem containing countless foot-guns which the average software engineer cannot be expected to avoid. Weak parameters can be difficult, if not impossible, to check, and its poor performance compels developers to take risky shortcuts. Another article on this topic is cryptographic right answer
Thank you to UsePastel for giving BetterDev readers this discount. Use BETTERDEV coupon code at checkout to redeem it.
A modern version of ‘ls’.
a simple {bash, zsh} prompt for programmers
A simple and modern GTK eBook reader
an open source, distributed bitmap index that dramatically accelerates queries across multiple, massive data sets
Easily and securely send things from one computer to another 🐊 📦
Executes commands in response to file modifications
a library for building custom HTTP/S proxies
BetterDev Link
Every Monday