apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.82k stars 806 forks source link

Balancer module #8000

Open taojishou opened 3 years ago

taojishou commented 3 years ago

Is there no balancer module in version 9.0.x?
how to realize load balancing now

bryancall commented 3 years ago

The plugin is in our 8.1.x tree. We deprecated it because the parent configuration can handle the scenario.

taojishou commented 3 years ago

if use parent configuration , how to set the remap configure?

taojishou commented 3 years ago

We configured the parent cache, now there's a 502 error
remap.config map http://test.ole.com/ http://t.ole.com/ parent.config dest_domain=t.ole.com method=get parent="217.182.197.203:80" round_robin=stric

bryancall commented 2 years ago

@rob05c can you help with setting up parent config?

bryancall commented 2 years ago

@taojishou are you still having an issue with this?

mlibbey commented 2 years ago

For what its worth, the way we use parents is like Child: remap: map http://inbound.example.com http://inbound.example.com parent.config: dest_domain= inbound.example.com scheme=http parent="machine.hostname:80" go_direct=false round_robin=consistent_hash Parent: remap: map http://inbound.example.com http://origin.example.com (and use conf_remap to set/unset proxy.config.url_remap.pristine_host_hdr

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.