public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: felix@crowfix.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Proxy questions
Date: Wed, 25 Jan 2012 09:11:36 -0800	[thread overview]
Message-ID: <20120125171136.GZ5190@crowfix.com> (raw)
In-Reply-To: <201201241814.43970.michaelkintzios@gmail.com>

On Tue, Jan 24, 2012 at 06:14:22PM +0000, Mick wrote:
> On Tuesday 24 Jan 2012 17:08:43 felix@crowfix.com wrote:
> > I know, in general, what proxies do -- caching, filtering, and
> > bypassing firewalls.  I have even written a couple of very special
> > purpose proxies.  Now I need one for work, and don't realy want to
> > write another custom special purpose when it seems there must be a
> > canned one which can do the job.
> > 
> > We have some vendors who transact business over special ports with
> > custom protocols.  We pay for these connections, and we only have two
> > of them, good enough for QA, but when a developer needs to test code,
> > they have to drag their machine over to QA and schedule time with one
> > of these connections.  What we need is a proxy which can take any
> > number of connections on our side and funnel everything into one or
> > two vendor connections.  I don't know enough of the proxy jargon to
> > know how to describe it.  I imagine some kind of NAT.  No filtering or
> > caching; firewall penetration will be taken care of elsewhere.
> > 
> > Any suggestions, or proxy education hints?
> 
> I'm not entirely clear of your use case scenarios and the constraints you are 
> trying to address with a proxy (e.g. why the developer does not connect 
> directly to the vendors port(s) to access their service? ) but I'll guess that 

Because if the devs connect directly to the vendor, they will take
over the limited connections we are allowed.  Thus they need
throttling and/or some kind of NAT.

> you probably need a reverse proxy/load balancer arrangement - something like 
> pound, portfusion, or even nginx?  BTW, did I mention apache mod_proxy?  I am 
> not sure what authentication arrangements you need to access your vendors 
> ports, if you have VPNs or other secure tunnels between your site and the 
> vendors', but let's say I'd read up on reverse proxies as a start.
> 
> This should make the transaction transparent for your devs, they won't 
> necessarily know which vendor they end up with after they hit your URL, but I 
> am not sure if it will satisfactorily address the issue of scheduling time for 
> a connection with your vendors at times of high demand.  Once ports or vendor 
> service limitations are reached the connections will eventually become 
> saturated.

I don't think saturation is a problem with the kind of dev work we do;
our production systems handle hundreds of thousands of transactions an
hour over a single connection.  The real problem is that if devs grab
that connection, production would stall immediately, so we have a
separate connection for QA which devs will have to share without
hogging; thus some proxy to funnel all requests into the single
channel.  Altho there is some possibility of the QA channel turning
into two, that still needs to be shared amongst a dozen devs and QA.

I'll look into all those buzzwords :-)

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



  reply	other threads:[~2012-01-25 17:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 17:08 [gentoo-user] Proxy questions felix
2012-01-24 18:14 ` Mick
2012-01-25 17:11   ` felix [this message]
2012-01-25 20:49     ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120125171136.GZ5190@crowfix.com \
    --to=felix@crowfix.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox