Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Monthly Archives: April 2011

Lewis Hoffman

Why "Upstream Keepalive" is a Good Thing

Lewis Hoffman
Friday, April 29, 2011

As Dan mentioned on Monday, Tracker uses an architecture in which a large number of polling requests are serviced by web servers communicating with an in-memory cache, and over the past few weeks we’ve hit a number of resource limits on our cache servers. Yesterday we found a small change that had a big impact on this resource load.

After moving the cache to dedicated servers earlier in the week, we continued to encounter network-related resource problems. One of the limits was on the total number of open network connections, which were reaching over 100,000 during peak usage. We reasoned that this large number of connections was due to new connections being created for every cache lookup. We also know (from discussing WebSockets among other things) that for small messages the overhead of opening and closing a connection is much larger than the message itself. Once we started looking for a way to make these connections persistent the answer wasn’t hard to find: http://wiki.nginx.org/HttpUpstreamKeepaliveModule

We rolled out this change yesterday; today network connections to the cache peaked at around 3000. The reduction in network traffic between the web and cache servers should keep us well clear of the kinds of resource limits we’ve recently encountered. We’re still very interested in moving to a WebSockets architecture in the future- in the meantime this change stabilizes our environment and gives us some room to grow.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dmitriy Kalinin

SF Standup for Friday, 4/29/2011: It's Friday, Friday…

Dmitriy Kalinin
Friday, April 29, 2011

Interesting Things

  • Be aware that when chaining rake tasks (e.g. rake db:migrate db:seed ...) ruby classes do not get reloaded in between tasks so you can end up with old class definitions.
  • Jared created http://hackingadvertising.com/ to record his findings about running different ads through Google Adwords and Facebook Ads.
  • Requiring cancan matchers in spec_helper.rb breaks RubyMine’s ability to run specs. Same weird behavior was noticed with other gems that rely on shoulda.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Brent Wheeldon

NYC Standup 04/29/2011

Brent Wheeldon
Friday, April 29, 2011

Ask for Help

“Sean asked about git rebase complaining about no changes?”

The suggestion was that it was generally safe to just skip in this situation.

Interesting Things

  • Schubert pointed out an interesting article on the Amazon downtime – http://aws.amazon.com/message/65648/
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Pivotal Labs

SF Standup for Tuesday, 4/26/2011: How similar are these 2 songs?

Pivotal Labs
Thursday, April 28, 2011

I apologize for posting this 2 days late.

Help

Are there any open services like the Music Genome Project? Our
project needs to calculate distance between 2 songs.

Some people think the Music Genome Project is open. Related,
but not directly answering the question is MusicBrainz, an open
system for identifying music via accoustic fingerprint.

Interesting

  • There was a SF SproutCore Meetup on Tuesday.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Brent Wheeldon

NYC Standup 04/28/2011

Brent Wheeldon
Thursday, April 28, 2011

Interesting Things

  • Samantha and Sean found a Vim command called :cucumberunusedsteps which was useful for cleaning out unused steps. It didn’t work with some more complicated regexes or steps called from within steps so caution is needed when removing apparently unused steps.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dan Podsedly

Improved JIRA importer for Pivotal Tracker

Dan Podsedly
Wednesday, April 27, 2011

Atlassian has just announced a number of improvements to their Pivotal Tracker importer JIRA plugin. It now imports iterations and labels, chores and tasks are turned into new JIRA issue types, imported issues link back to the corresponding Tracker stories, and more!

Read about the importer improvements in this blog post from Atlassian.

If you’re using JIRA and Tracker together, make sure you also enable the built-in JIRA integration in Tracker, which allows you to import issues from JIRA into your Tracker backlog via drag and drop. We’ve got some improvements to this integration planned as well!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Brent Wheeldon

NYC Standup 04/27/2011

Brent Wheeldon
Wednesday, April 27, 2011

Ask for Help

“Brent and Kris asked if anyone had encountered an after_destroy callback being called twice?”

Few suggestions were check that it was only one object being deleted, that there are no dependent objects being cascade deleted, etc.

“Joe asked about how to set default_url_options for? There are no mailers involved as far as he knew.”

Grant suggested trying to set it per class.

“New Lee asked about were there any updates/alternatives for AccessList as the gem is causing him grief with sorting.”

Ian knew of an alternative to AccessTree, Lee is still looking.

Interesting Things

  • Jonathon pointed out that background-color: cover and :clipping were useful for playing with background images
  • New Lee brought up that if you’re using a form builder on a collection Rails will create a hidden for ID which will always get inserted (and may cause a problem if you’re nesting things in a ul or table). To get around this put in a hidden for ID in an appropriate place and Rails will stop generating one.
  • Jonathon ended up being pointed towards Heydown as an alternative to ShowOff for presentations by Davis
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dan Podsedly

Brief downtime tomorrow (Wednesday) at 8pm PDT

Dan Podsedly
Tuesday, April 26, 2011

To address some of the problems we experienced recently, we’re moving the Pivotal Tracker cache servers to dedicated hardware tomorrow (Wednesday) night, at 8pm Pacific Daylight Time. This move may require up to 15 minutes of downtime, but we expect improved stability as a result of the change. Please accept our apologies in advance for the inconvenience.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Christian Sepulveda

Join us for RockHealth's Meetup of the Minds

Christian Sepulveda
Tuesday, April 26, 2011

We are happy to be a sponsor for RockHealth’s Meetup of the Minds and we invite you to join us for a social mixer that brings brings together the best minds in technology and health care for a meetup over chips, salsa, and margaritas.

Monday, May 9, 2011
5:00 – 8:00 pm
@Tres Agaves
130 Townsend Street
San Francisco, CA

Please RSVP via http://meetupoftheminds.eventbrite.com/

We look forward to seeing you.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Pivotal Labs

SF Standup for Monday, 4/25/2011: What gem do you use for file upload?

Pivotal Labs
Tuesday, April 26, 2011

Help

What are projects using for file upload? Paperclip?
Carrierwave?

Most continue to use Paperclip, though a few projects have
successfully used Carrierwave. Carrierwave apparently has better mongo support.

I tried to setup ruby and rails, and installed the latest
mysql gem and I get warning messages about the mysql gem.

Others have experienced this too and offered to help. The main answer
seemed to be “the warnings are lies, it will work.”

Interesting

  • Checkout Pry. It’s an irb replacement that includes tab
    completion and cd and ls for navigating scopes.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (780)
  • rails (113)
  • testing (88)
  • ruby (83)
  • ruby on rails (70)
  • jobs (62)
  • javascript (55)
  • techtalk (44)
  • rspec (38)
  • ironblogger (32)
  • productivity (30)
  • activerecord (29)
  • gogaruco (29)
  • git (28)
  • nyc (27)
  • rubymine (26)
  • bloggerdome (23)
  • mobile (22)
  • process (21)
  • pivotal tracker (20)
  • cucumber (20)
  • jasmine (19)
  • design (18)
  • ios (18)
  • webos (17)
  • objective-c (17)
  • android (16)
  • palm (16)
  • "soft" ware (16)
  • fun (15)
  • tracker ecosystem (15)
  • ci (15)
  • cedar (15)
  • rails3 (14)
  • performance (14)
  • bdd (14)
  • gem (13)
  • css (13)
  • tdd (13)
  • selenium (12)
  • goruco (12)
  • bundler (12)
  • meetup (11)
  • railsconf (11)
  • nyc-standup (11)
  • capybara (10)
  • mac (10)
  • mojo (10)
  • chef (10)
  • api (10)
Subscribe to Community Feed
  1. 1
  2. 2
  3. 3
  4. 4
  5. →
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >