WAFer icon indicating copy to clipboard operation
WAFer copied to clipboard

support other multiplexing I/O methods?

Open Charles0429 opened this issue 11 years ago • 4 comments

Hi, I read the code of the whole project, it's now only supporting the select method. And there are someother multiplexing I/O methods, such as epoll, kqueue. Will nope.c support these methods? If so, I think the project needs a simple event driven library which packages multiple multiplexing I/O methods. And I'm writing a simple event driven library libse, I hope I could make some contributions to nope.c. Looking forward to your reply! thank you very much!

Charles0429 avatar Jul 27 '14 03:07 Charles0429

There's also libev

sternenseemann avatar Jul 27 '14 10:07 sternenseemann

Yeah, but if we want to make it as simple as possible, we need to write our own. For example, redis has its own event driven library.

Charles0429 avatar Jul 28 '14 01:07 Charles0429

@riolet

Charles0429 avatar Jul 28 '14 01:07 Charles0429

@Charles0429, thank you for checking out nope.c. I took a look at your library, and it looks pretty solid.

We have to make some major design decisions first. As per the discussion in #19, to which you have contributed, we have to balance three (potentially) opposing needs:

  • Simplicty
  • Scalability
  • Portability

I would say we should keep the discussion open in #19.

Thanks!

riolet avatar Jul 28 '14 04:07 riolet