Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 04/07/2009: We Have Questions

Interesting

  • Nothing interesting happened on the internet yesterday. Sorry to get your hopes up.

Help

“Using compass and sass to generate css, how do we get line numbers in the compiled css indicating the corresponding sass declaration?”

The suggested answer is using the non-silent variety of sass comments in an old skool pragma-mark type fashion.

“Is there a canonical setup for dealing with failover when you have two HA proxy load balancers and round-robin DNS across their two IP addresses?”

Comments
  1. Chris Eppstein says:

    You can turn on line numbers in your sass output like so:

    config.after_initialize do
    Sass::Plugin.options[:line_comments] = true
    end

  2. Chris Eppstein says:

    Regarding your assertion that nothing interesting happened, I beg to differ. Compass 0.6 was released!

    http://gist.github.com/90683

  3. Steve C says:

    “Is there a canonical setup for dealing with failover when you have two HA proxy load balancers and round-robin DNS across their two IP addresses?”

    I believe that round-robining two load balancers, and having a 2-server failover setup – these are competing objectives.

    Some sort of heartbeat must be used and one of the servers will just sit there idle waiting to be failed over to. This is the safer route anyway, as the failover solution won’t involve loading down a server with 2x normal load (also, even on a single fast server I’ve seen some pretty crazy throughput numbers published for HAProxy setups).

    For more on scalability and availability see:

    http://www.amazon.com/Scalable-Internet-Architectures-Developers-Library/dp/067232699X/ref=sr_1_1?ie=UTF8&s=books&qid=1239328655&sr=8-1

    http://www.amazon.com/Release-Production-Ready-Software-Pragmatic-Programmers/dp/0978739213/ref=sr_1_1?ie=UTF8&s=books&qid=1239328725&sr=1-1

    http://www.amazon.com/Art-Capacity-Planning-Scaling-Resources/dp/0596518579/ref=pd_sim_b_5

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *