topics

全部话题 - 话题: haproxy
1 (共1页)
m******2
发帖数: 1007
1
我需要实现一个forward request 基于server2的response
client request to server1(with HAproxy) -> server1 forward request to
server2 -> get server2 response, if condition meets -> talk to server3,
otherwise response to client -> if talks to server3, wait for response then
return to client
多谢前辈指点。网上没有找到haproxy复杂的例子。

发帖数: 1
2
来自主题: JobHunting版 - Load balancer: NGINX vs HAproxy vs hardware
大牛们来说说目前流行的load balancing技术来实现restful service层的scale吧:
what's your TPS?
Load balancer: NGINX, HAproxy, hardware or others?
c*******f
发帖数: 378
3
来自主题: JobHunting版 - Load balancer: NGINX vs HAproxy vs hardware
apache should NOT be used as a production load balancer.
nginx is a primitive load balancer for small scales.
haproxy is a true load balancer that's widely used by small to large scale
production loads.
better software load balancers are actually lower level network
loadbalancers, i.e. LVS. this can be used by large to huge scales. the
performance can only be bettered by high end hardware load balancers.
the above are all open source software solutions.
hardware load balancers are all commercial... 阅读全帖
W********n
发帖数: 254
4
Taken from: http://blog.serverfault.com/2011/02/11/stack-exchanges-architecture-in-bullet-points/
Traffic:
95 Million Page Views a Month
800 HTTP requests a second
180 DNS requests a second
55 Megabits per second
Data Centers:
1 Rack with Peak Internet in OR (Hosts our chat and Data Explorer)
2 Racks with Peer 1 in NY (Hosts the rest of the Stack Exchange Network)
Production Servers*:
12 Web Servers (Windows Server 2008 R2)
2 Database Servers (Windows Server 2008 R2 and SQL Server 2008 R2)
2 Loa... 阅读全帖
N*****m
发帖数: 42603
5
来自主题: Programming版 - 被亚马逊绑架的问题
大牛谈不上
Haproxy, nginx比较流行,容易配置,教程很多很简单
lvs比较低层,配置比较复杂,但是因为低层能用的协议比较多
我的感觉是一般web的应用,haproxy绰绰有余了
h******k
发帖数: 13418
6
crash让你看到了本身就是失败,好的网站就是一般crash和更新服务都不会让用户感受
到。
服务器就是各种SLB,haproxy和nginx,语言应该是python.
来,具体技术细节让isunspot这种装B的舔货来讲解讲解。
c*********e
发帖数: 16335
7
来自主题: Military版 - 成人网站有多大 zz (转载)
【 以下文字转载自 Programming 讨论区 】
发信人: Jadeson (紫昂德帅), 信区: Programming
标 题: 成人网站有多大 zz
发信站: BBS 未名空间站 (Thu Jul 9 19:58:55 2015, 美东)
上网之人,多少都会接触过成人网站。这是一个举世公认的事实。
不过这是一个难以洞察的领域,因为相关数据少之又少。我们知道成人网站都是那些在
互联网上有着超高流量的网站。根据 Google DoubleClick 的 Ad Planner 服务(通过
cookie跟踪网民)显示,全球 Top 500 网站中,就有数十个成人网站。全球最大的色
情网站 Xvideos 每月网页浏览量(Page Views,PV)高达 44 亿,是 CNN 或 ESPN 新
闻网站的 3 倍,是 Reddit 的 2 倍。LiveJasmin 也不小。除了 Google 和 Facebook
等大站,其他网站在YouPorn、Tube8 和 PornHub 面前都是小巫见大巫。
虽然网页浏览量是一个很好的起始点,但它们仅告诉我们某些色情网站比某些非色情网
站要... 阅读全帖
x*******1
发帖数: 5
8
来自主题: JobHunting版 - 多个数据中心保持数据一致
master to master replication
failover 可以用haproxy
i*****j
发帖数: 41
9
来自主题: JobHunting版 - Samsung Research America Server组内退
地点在Mountain View, Samsung Research America目前招聘5+年经验的server side
engineer。请发简历到
[email protected]/* */
JD:
Server Software Engineer
Location: Mountain View, CA
General Description:
This is a great opportunity for a talented and hard-working Senior Engineer
or Technical Lead to step up to the next level, and build cloud services for
users of the world’s best-selling mobile devices. The Samsung Mobile Cloud
Services Team is focused on the rapid development of cloud based end-to-end
mobile ap... 阅读全帖
i*****j
发帖数: 41
10
来自主题: JobHunting版 - Samsung Research America Server组内退
地点在Mountain View, Samsung Research America目前招聘5+年经验的server side
engineer。请发简历到
[email protected]/* */
JD:
Server Software Engineer
Location: Mountain View, CA
General Description:
This is a great opportunity for a talented and hard-working Senior Engineer
or Technical Lead to step up to the next level, and build cloud services for
users of the world’s best-selling mobile devices. The Samsung Mobile Cloud
Services Team is focused on the rapid development of cloud based end-to-end
mobile ap... 阅读全帖
r*****s
发帖数: 1815
11
来自主题: JobHunting版 - Load balancer: NGINX vs HAproxy vs hardware
大公司用硬件lb。初创的话还是用nginx吧 tomcat做lb我印象中是比nginx慢很多的
l*****t
发帖数: 7
12
Responsibilities:
Be an ‘end-to-end owner’ of software services spanning technology
boundaries Work on every part of the stack: database schema designs, Java
and PHP services, rich JavaScript applications and server configurations
Deeply understand user pains and needs, in order to build better solutions
Translate business requirements into technical designs and project plans
Write production-ready code and unit tests that meet both system and
business requirements Help support operation of serv... 阅读全帖
l*****t
发帖数: 7
13
Responsibilities:
Be an ‘end-to-end owner’ of software services spanning technology
boundaries Work on every part of the stack: database schema designs, Java
and PHP services, rich JavaScript applications and server configurations
Deeply understand user pains and needs, in order to build better solutions
Translate business requirements into technical designs and project plans
Write production-ready code and unit tests that meet both system and
business requirements Help support operation of serv... 阅读全帖
d*******3
发帖数: 6550
14
apache/nginx就可以做Proxy,或者用haproxy
f**********n
发帖数: 258
j**********i
发帖数: 3758
16
4000万动态访问pv
6台服务器
抛弃了 Apache,因为它能承受的并发连接相对较低;
抛弃了 Squid,因为它在内存利用、访问速度、并发连接、清除缓存等方面不如
Varnish;
抛弃了 PHP4,因为 PHP5 处理面向对象代码的速度要比 PHP4 快,另外,PHP4 已经不
再继续开发;
抛弃了 F5 BIG-IP 负载均衡交换机,F5 虽然是个好东西,但由于价格不菲,多个部门
多个产品都运行在其之上,流量大、负载高,从而导致性能大打折扣;
利用 Varnish cache 减少了90%的数据库查询,解决了MySQL数据库瓶颈;
利用 Varnish cache 的内存缓存命中加快了网页的访问速度;
利用 Nginx + PHP5(FastCGI) 的胜过Apache 10倍的高并发性能,以最少的服务器数量
解决了PHP动态程序访问问题;
利用 Memcached 处理实时数据读写;
利用 HAProxy 做接口服务器健康检查;
j**********i
发帖数: 3758
17
“几个流行的高性能web服务器 lighttpd nginx haproxy varnish, 总结他们高性能的
源泉,原来是单进程, 单线程, event-driven架构, lockfree, context switch
free, 定制的memory管理。”
lockfree是好,银行就不能用,单进程, 单线程也不错,那服务器价格就是天价。“C
语言其实是非常灵活的语言,威力强大”,可是什么都能做。
nginx是快,可是不安全。
x*****g
发帖数: 151
18
来自主题: BuildingWeb版 - 网站建设小白问题请教
安全性方面,搞个HTTPS,买个证书,用nginx或者haproxy offload SSL/TLS, 自己装
个防火墙,像iptables, 只开HTTPS 443 端口。
在网上找个VPS, 应该很容易搞定。
s*****g
发帖数: 1055
19
来自主题: EmergingNetworking版 - A10这个公司怎么样?
小公司更不需要SLB了,一些开源软件(HAproxy etc)足够满足需求了。现在网络工程师
的职责不能只局限于机器机器之间的通信了,网络是整个技术operation 不可分割的一
部分,网络需求直接从应用层工程师,系统管理工程师来,当然还要考虑 cost。

within
w*f
发帖数: 111
20
来自主题: EmergingNetworking版 - A10这个公司怎么样?
小公司has little IT budget so they can use 开源软件.
SP like Google has the resource to develop in house or use 开源软件;
For most companies, who is gonna support HAproxy 2 am in the morning?
tech support is very important for enterprise customers who like Cisco for a
reason.
s*****g
发帖数: 1055
21
来自主题: EmergingNetworking版 - A10这个公司怎么样?
小公司更不需要SLB了,一些开源软件(HAproxy etc)足够满足需求了。现在网络工程师
的职责不能只局限于机器机器之间的通信了,网络是整个技术operation 不可分割的一
部分,网络需求直接从应用层工程师,系统管理工程师来,当然还要考虑 cost。

within
w*f
发帖数: 111
22
来自主题: EmergingNetworking版 - A10这个公司怎么样?
小公司has little IT budget so they can use 开源软件.
SP like Google has the resource to develop in house or use 开源软件;
For most companies, who is gonna support HAproxy 2 am in the morning?
tech support is very important for enterprise customers who like Cisco for a
reason.
l*********c
发帖数: 24
23
来自主题: Linux版 - apache配置forward proxy的问题
use haproxy for web forwarding
y**********u
发帖数: 6366
24
http 和 rpc有什么区别呢?
还有很多时候读写数据库,用haproxy,性能和rest有什么大区别呢?
N*****m
发帖数: 42603
25
现在任何一个IaaS都有LB,区别不大
实在要自己搞就上HAProxy
d*******r
发帖数: 3299
26
自己搞的话, 应该用软件的吧, 比如 http://www.haproxy.org/

google
g****e
发帖数: 1344
27
25 台服务器的情况.
11 web servers, using IIS
2 load balancers, 1 active, using HAProxy
4 active database nodes, using MS SQL
3 application servers implementing the tag engine, anything searching by tag
hits
3 machines doing search with ElasticSearch
2 machines for distributed cache and messaging using Redis
2 Networks (each a Nexus 5596 + Fabric Extenders)
2 Cisco 5525-X ASAs (think Firewall)
2 Cisco 3945 Routers
2 read-only SQL Servers for used mainly for the Stack Exchange API
l**********n
发帖数: 8443
28
haproxy or nginx
J*****n
发帖数: 4859
29
来自主题: Programming版 - 成人网站有多大 zz
上网之人,多少都会接触过成人网站。这是一个举世公认的事实。
不过这是一个难以洞察的领域,因为相关数据少之又少。我们知道成人网站都是那些在
互联网上有着超高流量的网站。根据 Google DoubleClick 的 Ad Planner 服务(通过
cookie跟踪网民)显示,全球 Top 500 网站中,就有数十个成人网站。全球最大的色
情网站 Xvideos 每月网页浏览量(Page Views,PV)高达 44 亿,是 CNN 或 ESPN 新
闻网站的 3 倍,是 Reddit 的 2 倍。LiveJasmin 也不小。除了 Google 和 Facebook
等大站,其他网站在YouPorn、Tube8 和 PornHub 面前都是小巫见大巫。
虽然网页浏览量是一个很好的起始点,但它们仅告诉我们某些色情网站比某些非色情网
站要受欢迎。40亿的PV,听起来很多,但当我们把那些X站用户实际在做的事考虑进来
,成人网站的大小和规模就有点明朗了。
规模
色情网站和非色情网站的主页区别是访客的平均停留时间。诸如 Engadget 等新闻网站
的平均停留时间是 3 – 6 分钟,大约是是阅... 阅读全帖
N*****m
发帖数: 42603
30
来自主题: Programming版 - 被亚马逊绑架的问题
elb问题不大,基本上大的云服务商都提供LB
大不了自己搞个HAProxy
DynamoDB可以避免

ELB.
d*******r
发帖数: 3299
31
来自主题: Programming版 - 被亚马逊绑架的问题
大牛能比较下 LVS 和 Haproxy 么?
d*******r
发帖数: 3299
32
来自主题: Programming版 - 被亚马逊绑架的问题
我感觉看到的也多是用 Haproxy
f******2
发帖数: 2455
33
来自主题: Programming版 - 关于aws问goodbug老师一个问题
emr,Lambda,kenisis这些亚麻做了点儿trick的计算后台类的东西你们用吗?
elb,auto scaling这些对production traffic有帮助,但是明显有lock-in效应的服务
用吗?比如说,如果我想防止lockin,可以自己架设并管理haproxy来替代elb,但是显
然bootstrap项目的成本要高很多。。。
很想了解一下netflix这方面的策略,非常感谢。如果netflix只用ec2和s3,ebs,剩下
的高级服务都自己搭,我感觉没有lockin风险,但是bootstrap项目成本就太高了,很
想听听。
m***h
发帖数: 77
34
来自主题: Programming版 - 有用riak的吗?
我们公司用riak,基本上是实现的S3功能,serve很多数据files
我不清楚具体实现,大致是openresty+lua+haproxy+riak
顺便赞一下openresty,这是老中做的,他人好像现在加州。
N*****m
发帖数: 42603
35
来自主题: Programming版 - StackOverflow的架构
haproxy, redis, es + iis, sql server
f******2
发帖数: 2455
36
来自主题: Programming版 - 探讨一下API Gateway和Proxy的关系
https://www.nginx.com/blog/building-microservices-using-an-api-gateway/
基本理解API Gateway的Facade的作用,但是看完这篇文章也没看出来到底为什么要搞
个API Gateway。难道不可以简单的用Haproxy的Virtualhost功能把后面的服务统一
proxy一下吗?
d********g
发帖数: 10550
37
来自主题: Programming版 - 做web还是java最方便
所以你这只专注在抠字眼不理解实质。LB是一个概念的玩意儿不是非要指HAProxy,就
和web server / app server这些概念一样不同场景对应的instance不同
要是每台机器配Nginx还不上CI的话真的是自虐了
1 (共1页)