Re: imap, send/recv_io, etc: Working on a problem...
Shugo Maeda <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi, At Thu, 13 May 2004 15:21:13 -0500, Hal Fulton <[email protected]> wrote: > > I think IMAP authentications are not so expensive because parsing of > > other IMAP responses are expensive enough:) > > But I may be wrong because I have not profiled. > > > > If it is the problem, the solution like WEBrick or FastCGI may be > > better than mod_ruby. > > Because they handles all requests in one process. > > By the way: I thought I should report that the problem turned out to > be unrelated to IMAP. > > There was a resolv.conf issue which slowed down certain network > operations somehow. The person who reported the problem also found > the solution and fixed it. I'm glad to hear that. > I must say, I am very impressed with the imap.rb code. Thank you. > I have looked at the imap.rb reference material and at the imap rfc. > > But I am wondering, is there any tutorial material for this? To me, > the API is a little hard to understand. Sorry, I don't know such materials. The sample code in imap.rb (after the line `if __FILE__ == $0') may be helpful. Shugo