The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Making dircproxy Fast

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Eric Hodel

Posts: 660
Nickname: drbrain
Registered: Mar, 2006

Eric Hodel is a long-time Rubyist and co-founder of Seattle.rb.
Making dircproxy Fast Posted: Apr 12, 2006 7:09 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Eric Hodel.
Original Post: Making dircproxy Fast
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Eric Hodel
Latest Posts From Segment7

Advertisement

I use dircproxy to maintain my IRC connection to #ruby-lang so I can flip through the scrollback when I rejoin. Unfortunately tons of people come and go from #ruby-lang during the course of a day. All these quits and joins get logged and all of them get sent when I reconnect by default, which can take ten to twenty seconds.

Flipping through the dircproxy man page I found the following configuration settings will stop logging the quits and joins and nearly eliminate reconnect time:

log_events -join,-part,-quit,-nick

So my dircproxy configuration for Freenode looks like this:

server_throttle 10
disconnect_existing_user yes
listen_port ...
log_events -join,-part,-quit,-nick

connection {
  password "..." 
  server "irc.freenode.net" 
  join "#ruby-lang, #seattle.rb, #ruby2c" 
}

Read: Making dircproxy Fast

Topic: Recent Gems and Gem::Specification#description= Previous Topic   Next Topic Topic: Stop the BLOB!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use