Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kqueue
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Lthread - Gives you the advantages of coroutines and pthreads
(github.com)
2 points
by
kqueue
15y ago
|
0 comments
2.
▲
by
kqueue
15y ago
I tried using SC2 (aka Amber), while it has a lot of potential and I love the powerful binding mechanism it has, it simply lacked documentation and support. I hope Amber has tackled this issue.
3.
▲
by
kqueue
15y ago
Line numbers missing.
4.
▲
by
kqueue
15y ago
I feel the word rubs you the wrong way and you are trying to come up with arguments to support your emotions.
5.
▲
by
kqueue
15y ago
I would put some effort and change the default bootstrap css theme because it looks like many other websites.
6.
▲
by
kqueue
15y ago
I don't know you and what you say won't give you more credibility. Your points are subjective because they fall under theories. Don't point them out like facts.
7.
▲
by
kqueue
15y ago
All your points are subjective.
8.
▲
by
kqueue
15y ago
reminds me of http://chirpme.com/
9.
▲
by
kqueue
15y ago
I don't like fixed position UI and scrolling within a small section. I prefer the whole page to scroll. I am staying on the old version.
10.
▲
by
kqueue
15y ago
I totally agree that SYSCALL/SYSENTER/SYSRET are very cheap to execute. But these instructions only takes care of the ring switch and are not executed alone. When you make a system call, a trap is issued that causes the hardware switch to k
11.
▲
by
kqueue
15y ago
I didn't say there is no distinction. I said system calls that require disk io, or network io, or triggers locking/sleeping requires a context switch. Calls like read/write/accept triggers context switches (which starts with a mode switch).
12.
▲
by
kqueue
15y ago
Network IO, Disk IO, scheduling, locks etc.. all trigger context switches and not only mode switch because only the kernel is allowed to manipulate data structures related to mbufs, vfs, and whatnot. When I said epoll/kqueue doesn't affect
13.
▲
by
kqueue
15y ago
request rate is not influenced much by the polling mechanism (epoll/kqueue/poll/select) when all you're doing is listening to one fd and processing new ones then closing then immediately. These multiplexers matter when you are working on lo
14.
▲
by
kqueue
15y ago
Measuring requests per second is close to measuring the number of accept system calls you can do. Since it's a system call you have a context switch.
15.
▲
by
kqueue
15y ago
I believe you are testing the requests / sec and not replies / sec. While requests / sec matters a bit, you'll most probably be bottle-necking in your context switches. What matters is replies / sec. This is a more accurate measurement of y
16.
▲
by
kqueue
15y ago
I see. I haven't tried them personally, my friend has been using them for a year now and so far so good. He did complain about their support though.
17.
▲
by
kqueue
15y ago
This service provider has great pricing compared to softlayer http://www.hetzner.de/en/hosting/produktmatrix/rootserver-pr... Intel Corei7-2600 Quad core + 16GB DDR3 + 2 x 3TB 7200 for 49 euro.
18.
▲
by
kqueue
15y ago
That's why you should start from the finish line and move backwards.
19.
▲
by
kqueue
15y ago
From the polls that happened in the past, I saw more votes in favor of showing scores.
20.
▲
by
kqueue
15y ago
repost.
21.
▲
by
kqueue
15y ago
Not to mention that kevent contain the number of bytes to be read, or the number of connections to accept, which can avoid you a system call that returns EAGAIN in a non-blocking socket.
22.
▲
by
kqueue
15y ago
1. Process creation and termination are heavy operations considering that it's being done in a tight loop. 2. You don't want to fork on every request, this is very vulnerable to fork bombs. 3. In worker threads model, you already have the w
23.
▲
by
kqueue
15y ago
No that's not the proper way of doing it. You create worker threads in separate process that receive data from node.js, encodes them and send them back. you don't fork on every request.
24.
▲
by
kqueue
15y ago
This is where gcd can help. http://en.wikipedia.org/wiki/Grand_Central_Dispatch
25.
▲
by
kqueue
15y ago
Ah I missed this. I once tried to implement coroutines in v8 but v8 makes use of getspecific and setspecific pthread methods which makes it more complicated.
26.
▲
by
kqueue
15y ago
The proper fix is to introduce coroutines.
27.
▲
by
kqueue
15y ago
You cannot render a pattern useless because you had a bad experience with certain implementations. The pattern represent a very good abstraction concept that is irrelevant to the library implemtation.
28.
▲
by
kqueue
15y ago
Honesty, most are stopping at the fundamentals and not proceeding further. I have yet to see a good JS templating engine that is rich.
29.
▲
by
kqueue
15y ago
It's missing namespaces, inheritance, escaping, include tags, or at least that's what I expect from a templating engine
30.
▲
by
kqueue
15y ago
> Intruders gained root access on the server Hera. We believe they may have gained this access via a compromised user credential; how they managed to exploit that to root access is currently unknown and is being investigated. This is mo
More ›