Hacker GitHub

← All repos

lpereira/lwan

View on GitHub ↗ ★ 6,044 C

Experimental, scalable, high performance HTTP server

12 mentions on Hacker News by 7 people: 2 stories, 10 comments · first 2012-03-20 · latest 2025-10-11

Mentions per year 12 mentions · busiest year 2025 (4)
20082026
  1. …with different constraints (I'm not using it for an embedded system where memory is golden): https://github.com/lpereira/lwan/blob/master/src/samples/tec...
  2. …is not a good replacement either! It's better to use strtol() instead. Either do what Lwan does ( https://github.com/lpereira/lwan/blob/master/src/lib/lwan-co... ), or look ( https://cvsweb.openbsd.org/src/lib/libc/stdlib/strtonum.c?re...…
  3. …fly rather than drive a LED matrix. The source code is here for those that want to play with it: https://github.com/lpereira/lwan/tree/master/src/samples/for...
    comment by acidx · 2025-06-03 · in Implementing a Forth
  4. …parsing/type validation error happened, but the information is there if one wants to obtain it: https://github.com/lpereira/lwan/blob/master/src/samples/tec...
    comment by acidx · 2024-05-14 · in Fast linked lists
  5. Absolutely useless fun tech demos are the best kind of demos https://github.com/lpereira/lwan - presume this is the web server library you're referring to? Very cool.
    comment by chrisvxd · 2023-09-07 · in Show HN: Host a Website in the URL
  6. …very closely follows Rob Pike's talk and uses a ring buffer for coordination and is plenty fast. https://github.com/lpereira/lwan/blob/master/src/lib/lwan-te... If you watch the talk carefully, Rob Pike himself mentions this near the end…
    comment by alex_smart · 2022-06-07 · in Performance of coroutine-style lexers in Go
  7. …you can try to push the boundary with those things, SPDK, aggressive polling, fast router...? [0]: https://github.com/lpereira/lwan [1]: https://github.com/KwangIO/kwang [2]: https://github.com/scylladb/seastar
  8. …//tia.mat.br/posts/2018/02/01/more_on_string_switch_in... It allows you to write something like this: https://github.com/lpereira/lwan/blob/master/src/lib/lwan-ti... -- which is generated as a binary search by GCC.
  9. How does it compare to lwan? https://github.com/lpereira/lwan
  10. …there's a ~4x performance drop while serving files, but I'm working on this. (The sources are at http://github.com/lpereira/lwan by the way.)