Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4924

Protocol plugin performance penalty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Performance, Plugins
    • None

    Description

      It looks like protocol plugins take a significant performance penalty compared to doing the same work in the code.

      Configuratation:

      [root@fedora-23 ~]# cat /opt/ats/etc/trafficserver/remap.config
      map http://generator.jpeach.org/ http://127.0.0.1/ \
      	@plugin=generator.so
      
      [root@fedora-23 ~]# cat /opt/ats/etc/trafficserver/plugin.config
      passthru.so
      
      [root@fedora-23 ~]# tail /opt/ats/etc/trafficserver/records.config
      ...
      CONFIG config.plugin.passthru.server_ports STRING 9090
      

      http_load:

      http://generator.jpeach.org/cache/1024/1934f6c8-2cd6-46ea-9077-0532528fb1c9
      [vagrant@fedora-23 ~]$ http_load -proxy 127.0.0.1:8080 -parallel 50 -seconds 20 -keep_alive 4 url.lst
      

      We are using a generator URL of 1K that gets served from cache.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jamespeach James Peach
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: