Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shuss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
shuss
7y ago
Weirdly no one had done it so far. That's the reason why I cooked up some high level devices :)
32.
▲
by
shuss
7y ago
It it's not the file paradigm, it has to be system calls (plenty of them) set in stone, which could quickly turn into a problem or you probably mean a wrapper library?
33.
▲
Show HN: Sparkler – A KVM-Based Virtual Machine Manager
(unixism.net)
108 points
by
shuss
7y ago
|
8 comments
34.
▲
How AWS Firecracker works: a deep dive
(unixism.net)
1 points
by
shuss
7y ago
|
0 comments
35.
▲
by
shuss
7y ago
The one point I keep driving is Kubernetes does so much useful stuff that is a pain to manage otherwise, that it's totally worth the risk currently posed by its rough edges. I'm hoping that came out clear in the article.
36.
▲
A Manager’s Guide to Kubernetes Adoption
(unixism.net)
205 points
by
shuss
7y ago
|
102 comments
37.
▲
by
shuss
7y ago
While already available tools should have sufficed and PSI should be good for it, a very important capability that PSI provides system administrators is its high-resolution. Using PSI, with specialized tooling, system administrators can aut
38.
▲
by
shuss
7y ago
kees99, you should check the "total" fields. They have information in microsecond resolution.
39.
▲
Linux Pressure Stall Information (PSI) by Example
(unixism.net)
132 points
by
shuss
7y ago
|
18 comments
40.
▲
A Manager’s Guide to Kubernetes Adoption
(unixism.net)
9 points
by
shuss
7y ago
|
0 comments
41.
▲
by
shuss
7y ago
Thanks for sharing this. This is such a great resource.
42.
▲
by
shuss
7y ago
I've never really done any serious work on anything other than Linux. But I always wanted to try out kqueue(). Even if I don't add a separate section on kqueue(), I think it warrants a clear mention.
43.
▲
by
shuss
7y ago
OK, noted. Thanks for sharing.
44.
▲
by
shuss
7y ago
That should be pretty trivial to implement with getrusage() http://man7.org/linux/man-pages/man2/getrusage.2.html
45.
▲
by
shuss
7y ago
OpenBSD and FreeBSD do have sendfile(), but args are different compared to the interface presented by Linux. It should be trivial to write a wrapper, though: https://man.openbsd.org/FreeBSD-11.1/sendfile.2 https:/
46.
▲
by
shuss
7y ago
String handling in C is such a PITA. Especially if you're used to languages like Python.
47.
▲
by
shuss
7y ago
LOL! Thanks :)
48.
▲
by
shuss
7y ago
Yes, IIRC, even Nginx uses the general structure you're describing.
49.
▲
by
shuss
7y ago
Thanks for sharing!
50.
▲
by
shuss
7y ago
Never seen this before. Very interesting. Thanks for sharing!
51.
▲
by
shuss
7y ago
(Glances at the "Programming Rust" book which has been sitting on his desk for months and thinks about writing an indemnification clause in the LICENSE file)
52.
▲
by
shuss
7y ago
Points well taken, marios. Will try and fix strcpy(). Should certainly mention kqueue(), too. Will fix. Thanks.
53.
▲
by
shuss
7y ago
Thanks, navinsylvester :)
54.
▲
by
shuss
7y ago
As mentioned in the first part of the series, the main idea is to compare and contrast Linux server architectures. ZeroHTTPd doesn't implement the HTTP protocol in full and you can easily crash it because of the way it uses memory buff
55.
▲
by
shuss
7y ago
Would be lovely to get my hands on such metal :) I wonder how Linux thread scheduling scales on multi-CPU machines. To keep things simple, I specifically chose to go with a single-core machine to benchmark all architectures.
56.
▲
by
shuss
7y ago
Oh, wow. Never knew about this. This is most certainly worth checking out.
57.
▲
by
shuss
7y ago
Unfortunately, the current POSIX AIO implementation is done in user space by glibc. That's the reason why I covered poll and epoll. The next logical variant to add would be io_uring.
58.
▲
by
shuss
7y ago
Will certainly need to add that! :)
59.
▲
Show HN: ZeroHTTPd: A web server to teach Linux performance, with benchmarks
(unixism.net)
472 points
by
shuss
7y ago
|
57 comments
60.
▲
Showdown of 7 network server architectures (iterative to epoll) on Linux
(unixism.net)
8 points
by
shuss
7y ago
|
0 comments
More ›