跳到主要内容
博客凌霄阁NodeBalancer并发连接

NodeBalancer并发连接

10000

10000当我们在制定NodeBalancer的定价模式时,我们决定让它变得简单(这是我们应用于大多数决策的哲学),并且不给你添乱。因此,我们宣布NodeBalancer服务有固定的5000个并发连接限制,固定价格为19.95美元/月。

今天,我们很高兴地宣布 NodeBalancer 并发连接数已增至 10,000 个,价格不变。 所有现有的NodeBalancers 已经无缝升级,所有新的 NodeBalacers 也将获得新的限制。

NodeBalancer的定价:

NodeBalancer实例 19.95美元/月(0.027美元/小时)。
10,000个并发连接 不收费
转出 从转账池中扣除,然后是0.10美元/GB
转入 不收费

如果您想进一步了解NodeBalancers 如何为您提供帮助:

好好享受吧!

-克里斯

评论 (17)

  1. Author Photo

    Its over 9000!

    seriously though guys. This is great!

  2. Author Photo

    You guys really know how to set the bar! Thx!

  3. Author Photo

    The one thing stopping me from using the awesome nodebalancers is that I can’t get the visitors IP if using https. Since my web app does geoip it NEEDS this info. Any chance at fixing this soon?

  4. Author Photo

    Great, thanks, guys!

  5. Christopher Aker

    @Brian – Putting HTTPS termination at the NodeBalancer level would mean the NB would become a bottleneck as it is currently designed. Better to distribute HTTPS load across the backends. If you need the IP of a visitor, do it once either by an HTTP request or to a request to a non-loadbalanced HTTPS server of yours, and then associate it with that user’s session. Hope that helps.

  6. Author Photo

    Would it be possible to create a “test” nodebalancer with a limit of eg. 5 connections, that is free? I would like to test my high availability setup and then migrate to the paid nodebalancer when my application can go live.

  7. Christopher Aker

    @Tom – sorry, no. It would still occupy resources (and a precious IPv4 address). However we prorate everything to the day – so adding and then removing a NB would put a credit for the unused days back onto your account. A NB for three days would end up costing you about two bucks.

  8. Author Photo

    Guys, I am using node ballancer for XMPP servers – it means, connected user has always pernament live IP connection, but with very low traffict. Because of this, 10 000 is low number for me.

    What happens, if I go over 10 000? Nobody else will connect? Or can I pay for more connections? Can you scale up to say 100 000?

  9. Christopher Aker

    @Jindra you would need to use multiple NodeBalancers to go beyond 10,000 concurrent connections.

  10. Author Photo

    Gotta love Linode!

  11. Author Photo

    @caker – are nodebalancers ok with websockets?

  12. Author Photo

    Also to chime in about persistent connections, would you happen to know if NodeBalancers will work with Server Sent Events (http://en.wikipedia.org/wiki/Server-sent_events).

    I would guess that it would be similar to XMPP or WebSockets.

    Either way, great news about upping the limit!

  13. Author Photo

    This is awesome, was having massive problems with the 5000 concurrent limit.

    I’d love to have a ‘premium’ Nodebalancer option though with say 50,000 concurrent support rather than having to use the DNS round robin hack I’m using now.

    Keep up the great work!

  14. Author Photo

    What does “concurrent connection” actually mean?

    If the definition is at HTTP level, that’s fine. A connection is immediately terminated with “Connection: close” and you -1 from the pool.

    But if it’s at TCP level, it’s problematic for us. Because there’s always hanging TIME_WAIT at the end of TCP lifecycle, and becomes the majority of “connections”. For web apps that handle massive amount of short-lived requests, TIME_WAIT would be dominant.

    Or if it’s IP / netfilter level, it’s problematic, too. ip_conntrack would saturate very fast.

    I think NB is meant to be a load balancer and we don’t want it to be THE bottleneck, obviously. Would like to know those basics before start testing.

  15. Author Photo

    Simply put,

    Assuming TIME_WAIT is set at 60 seconds (which is sensible and is the default in many systems), you can handle only 10,000 requests per minute (or less), even if your servers are very fast and respond to each request in close to zero milliseconds, and seemingly there’s no “concurrent” connections at the HTTP level.

    It is somewhat counterintuitive and confusing way to advertise the service, IMO.

    You could easily check how many dead-but-counted-as-concurrent connections on your system, by running the following command on your web server.

    netstat -an | grep TIME_WAIT | wc -l

    and compare it with the raw output of “netstat -an”. See how TIME_WAIT could be dominant in your resource usage.

    Considering that a single Linode 512 instance with Nginx could easily handle 100,000+ concurrent connections (which means Linode is very FAST!), probably you could do better and offer a higher end of lineup for NodeBalancer. BTW, we need at least 200,000.

  16. Christopher Aker

    A TCP session in TIME_WAIT is not counted against the NodeBalancer connection pool.

    That being said, if you need 200,000 concurrent ESTABLISHED TCP connections, you would need 20 NodeBalancers.

  17. Author Photo

    So if I understand this correctly if you need to go over 10,000 connection you would need multiple nodeBalancers with round robin dns?

留下回复

您的电子邮件地址将不会被公布。 必须填写的字段被标记为*