epoll
Client connections with epoll
I\'m programming an application(client/server) in C++ for linux using epoll y pthreads but I don\'t know how to handle the connect() calls for attach a new connection in the descriptor list if a loop[详细]
2022-12-29 15:57 分类:问答Is 'epoll' the essential reason that Tornadoweb(or Nginx) is so fast?
Tornadoweb and Nginx are popular web servers for the moment and many benchmarkings show that they have a better performance than Apache under certain circumstances. So my question is:[详细]
2022-12-26 08:11 分类:问答Socket Read In Multi-Threaded Application Returns Zero Bytes or EINTR (104)
Am a c-coder for a while now - neither a newbie nor an expert. Now, I have a certain daemoned application in C on a PPC Linux. I use PHP\'s socket_connect as a client to connect to this service locall[详细]
2022-12-25 14:05 分类:问答serving large file using select, epoll or kqueue
Nginx uses epoll, or other multiplexing t开发者_开发知识库echniques(select) for its handling multiple clients, i.e it does not spawn a new thread for every request unlike apache.[详细]
2022-12-24 07:31 分类:问答EPIPE blocks server
I have written a single-threaded asynchronous server in C running on Linux: The socket is non-blocking and as for polling, I am using epoll. Benchmarks show that the server performs fine and according[详细]
2022-12-24 05:14 分类:问答revisiting "how do you use aio and epoll together"
following the discussion at How do you use AIO and epoll together in a single event loop?. There are in fact 2 \"aio\" APIs in linux.[详细]
2022-12-19 05:20 分类:问答epoll performance
Can anyone please help me to answer the questions about epoll_wait. Is it overkill to use many threads that call epoll_wait on the same fds set to serve at about 100K active sockets? or will it just[详细]
2022-12-17 05:47 分类:问答What is the state of C10K-like event-based server development in TCL?
TCL is a nice simple programming language, but does not seem to get the 开发者_如何学Gocredit and/or respect it deserves.I learned it back in 1995 in college and promptly forgot about it only to stumb[详细]
2022-12-17 03:47 分类:问答can the send function block
I\'m writing a chat program and for the server, when I send data can the send() function take a long time to send out the data?[详细]
2022-12-13 17:29 分类:问答accept/epoll problem
I have this code that uses epoll and it has a problem. When I run it, it gives output: Server-socket() is OK...[详细]
2022-12-13 12:39 分类:问答