t2020-06-07T19-48-43-446858.md - tgtimes - The Gopher Times | |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
t2020-06-07T19-48-43-446858.md (1062B) | |
--- | |
1 # 2020-06-07 19:48:43.446858 UTC (+0000) | |
2 | |
3 Tales from Diversity | |
4 | |
5 Today while developing geomyidae and trying out, two things made the | |
6 life for all gopherspace using geomyidae better: | |
7 | |
8 1.) With 20h moving to libressl in Gentoo, which is not really possible | |
9 in binary distributions, he found out about tls.h, a simple TLS API and | |
10 implemented in half a day TLS for geomyidae. Now it is there. | |
11 | |
12 | |
13 2.) While debugging geomyidae, Evil_Bob was running geomyidae on OpenBSD | |
14 and so we realized, sendfile() does not work on sockets and related | |
15 stuff. Removing all sendfile() support saved source code lines and sped | |
16 up geomyidae on lo from 500 Mbit/s to 1.3 Gbit/s on plaintext and from | |
17 100 Mbit/s to 1.3 Gbit/s on TLS. Everyone will profit from this. | |
18 | |
19 | |
20 What are the lessons from this? | |
21 | |
22 * Make simple, straightforward, easy to use APIs. | |
23 | |
24 * Run diverse systems and configurations for finding bugs. If you do not, | |
25 you end up like the web, which can easily fail with some small software | |
26 failures. | |
27 | |
28 | |
29 Have fun! | |
30 | |
31 Sincerely yours, | |
32 | |
33 20h | |
34 Senior Tale Officer (STO) | |
35 |