829 karma · joined Oct 13, 2011 (15y ago) · 208 submissions
comment 8mo ago · link · parent
You end up pushing the hot path out to userland where you can actually scale across cores (DPDK/netmap/XDP style approaches), batch packets, and then DMA straight to and from the NIC. The kernel becomes more of a control plane than the data plane.
PF/ALTQ is very much in the traditional in-kernel, per-packet model, so it hits those limits sooner.
comment 1y ago · link · parent
I think the ambiguity in the first two amendments has to do more with the specific text rather than plain English itself being deficient.
comment 2y ago · link · parent
Many bittorrent clients let you click a button to continue seeding the data over time.
comment 2y ago · link · parent
To the main point, what you described reflects the current trends of authorization. Define a data model, define data that adheres to that model, write declarative rules that consume that model, make a decision based on those rules.
Where things really start to differ is the kind of data that they bind against and how do you write rules. E.g. OPA is often used for either ABAC (Attribute) or RBAC (Roles) while OpenFGA is looking at ReBAC (Relationships). Each has their complexity tradeoffs, depending on the system being implemented. How easy or difficult a system makes these kinds of checks has a significant impact on how you write policies.
Hope this helps!
comment 3y ago · link · parent
comment 3y ago · link · parent
For reference, there was a previous test that demonstrated 40gbps with ipsec between two pods on separate nodes in k8s where the encap/decap achieved 40gbps which was the line rate for the Intel NICs used.
Details were published here: https://medium.com/fd-io-vpp/getting-to-40g-encrypted-contai...
I do agree that io_uring will negate the need for DPDK for many use cases though, it will likely be a much simpler path and more secure path than DPDK.
comment 4y ago · link · parent
Found a gap, Linux Foundation's FD.io's VPP (a high performance network virtual switch) has native wireguard support as well, all in userspace. Support here means you can do full kernel bypass from the app all the way down to the NIC card (e.g. via DPDK).
https://docs.fd.io/vpp/20.09/d5/d54/wireguard_plugin_doc.htm...
I'll open a PR on this later.
comment 4y ago · link · parent
Ultimately, you'll need to measure this to know for sure, and those results will likely only be valid on a given hardware configuration.
OverlayFS also has a "copy_up" function, where the file is copied at the initial write. Once the copy is done, I'd expect write access to be fast. Again, you'll need to measure this.
The setup could probably look like:
container read/write -> OverlayFS([mutable fs as overlay] -> [squashfs layer as underlay] -> [squashfs layer as underlay])
comment 4y ago · link · parent
I think the best best for some of these workflows will be differential privacy on large datasets with strict privacy budgets.
Still highly valuable, but make sure you understand the limitations and risks if you use these techniques.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
What you gain is a stronger security boundary. Just FYI, since 2019, you can also do this in Kubernetes using Kata containers + containerd which will happily shim firecracker. The setup is not simple though.
https://github.com/kata-containers/documentation/wiki/Initia...
Overall, fly.io building infrastructure on this pattern and making it accessible is fantastic. Looking forward to seeing how this continues to evolve and am happy to see more infra build on top of firecracker. Very exciting!
comment 5y ago · link · parent
Completely agree about stick/rudder skills though...
comment 5y ago · link · parent
Agreed that some research can also help find a good light. There are plenty of "full spectrum" light solutions out there which may work for the original poster.
Compare Incandescents (A) vs LED (D) at https://www.researchgate.net/figure/Emission-spectra-of-diff...