• This repository has been archived on 08/Feb/2023
  • Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    C++
  • License
    Apache License 2.0
  • Created almost 11 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Alibaba's TrafficServer (with those patches not accepted by the Apache TrafficServer community yet)
Apache Traffic Server

Traffic Server is a high-performance building block for cloud services.
It's more than just a caching proxy server; it also has support for
plugins to build large scale web applications.

1. DIRECTORY STRUCTURE

  traffic/ ............... top src dir
  |-- cop ................ traffic_cop application
  |-- doc/ ............... generated documentation
  |-- example/ ........... example plugins
  |-- install/ ........... installation programs and scripts
  |-- iocore/ ............ IO core
  |-- lib/ ............... 
      |-- ts/ ............ Base / core library
      |-- tsconfig/....... New config parser and library (experimental)
      |-- records/ ....... library for config files
  |-- m4/ ................ custom macros for configure.ac
  |-- mgmt/ .............. Management server and tools (including traffic_manager)
      |-- cli ............ Command line utilities and API
  |-- proxy/ ............. HTTP proxy logic
  |-- test/ .............. functional tests
  |-- .indent.pro ........ indent profile for coding style
  |-- emacs-style ........ emacs style definition
  |-- README ............. intro, links, build info
  |-- README-EC2 ......... info on EC2 support
  |-- REVIEWERS .......... (incomplete) list of areas with committer interest
  |-- LICENSE ............ full license text
  |-- NOTICE ............. copyright notices
  |-- configure.ac ....... autoconf configuration
  `-- Makefile.am ........ top level automake configuration


2. REQUIREMENTS
    This section outlines different OS distributions

  Fedora 11,12, 13, 14, 15:
    autoconf
    automake
    libtool
    gcc-c++
    glibc-devel
    openssl-devel
    tcl-devel
    expat-devel
    pcre
    libcap-devel

  Fedora 8 EC2 (Kernel: 2.6.21.7-2.ec2.v1.2.fc8xen):
    FC8 on EC2 requires unique configure declarations, please see that section
    below. 

    NOTE: Alternately you may use the install scripts in 'contrib' which 
          automate this or use the pre-built public Fedora Core 8 EC2 AMI 
          with ATS installed. Both of which are HIGHLY RECOMMENDED. 
          See 'README-EC2' for further details.

    Install these packages:
    autoconf
    automake
    libtool
    gcc-c++
    glibc-devel
    openssl-devel
    tcl-devel
    expat-devel
    db4-devel
    pcre

  Ubuntu 8.* ,9.*, 10.*, 11.*:
    autoconf 
    automake
    libtool 
    g++ 
    libssl-dev 
    tcl-dev 
    expat 
    libexpat-dev 
    libpcre3-dev
    libcap-dev

  Ubuntu EC2 9.10:
    NOTE: Alternately you may use the install scripts in 'contrib' which 
          automate this or use the pre-built public Ubuntu EC2 AMI with 
          ATS installed. Both of which are HIGHLY RECOMMENDED.
          See 'README-EC2' for further details.

    Install these packages:
    autoconf
    automake
    libtool
    g++
    libssl-dev
    tcl-dev
    expat
    libexpat-dev
    libpcre3-dev

  FreeBSD 7.2,8.0:
    GCC 4.2.1 compiler suite
    autoconf 
    automake
    libtool
    tcl
    expat
    openssl
    pcre

  OpenSolaris osol0906:
    GCC 4.3.2 compiler suite (dev collection)
    autoconf 
    automake
    libtool
    tcl
    expat
    openssl
    pcre

  OSX 10.5:
    GCC 4.2.4 compiler suite (ports collection)
    autoconf 
    automake
    libtool
    tcl
    expat
    openssl
    pcre


3. Building from distribution

You can download the latest source code from the official Apache Traffic
Server site:

       http://trafficserver.apache.org/downloads.html

(or via the URL shortener: http://s.apache.org/uG). Once downloaded,
follow the instructions:

   tar xf trafficserver-2.1.8-unstable.tar.bz2
   cd trafficserver-2.1.8-unstable
  ./configure            # configure the build environment to create Makfiles
  make                   # execute the compile

This will build with a destination prefix of /usr/local. You can finish
the installation with

  sudo make install


4. BUILDING FROM SVN REPO

  mkdir -p ~/dev         # make yourself a development dir
  cd ~/dev               # enter your development dir
  svn checkout ...       # get the source code from ASF Subversion repo
  cd traffic             # enter the checkout dir
  autoreconf -i          # generate the configure script and Makefile.in files
  ./configure            # configure the build environment to create Makfiles
  make                   # execute the compile

4b. Instructions for building on EC2
    NOTE: Alternately you may use the scripts under 'contrib' which will 
          automate the install for trafficserver under EC2 which is 
          HIGHLY RECOMMENDED. See 'README-EC2' for further details.

   # As root do the following when using Ubuntu
   mkdir -p /mnt          #EC2 Storage Mount, where storage is located
   cd /mnt
   svn checkout ...       # get the source code from ASF Subversion repo
   cd traffic             # enter the checkout dir
   autoreconf -i --force  # generate the configure script and Makefile.in files
   ./configure
   make

   # As root do the following when using Fedora Core 8 kernel
   mkdir -p /mnt          #EC2 Storage Mount, where storage is located
   cd /mnt
   svn checkout ...       # get the source code from ASF Subversion repo
   cd traffic             # enter the checkout dir
   autoreconf -i --force  # generate the configure script and Makefile.in files
   ./configure --disable-eventfd
   make


5. INSTALLATION

  DEFAULT DIR                        CONTENTS
  /usr/local/var/log/trafficserver   log files created at runtime
  /usr/local/var/trafficserver       runtime files
  /usr/local/etc/trafficserver       configuration files
  /usr/local/bin                     executable binaries
  /usr/local/libexec/trafficserver   plugins


6. CRYPTO NOTICE

  This distribution includes cryptographic software.  The country in
  which you currently reside may have restrictions on the import,
  possession, use, and/or re-export to another country, of
  encryption software.  BEFORE using any encryption software, please
  check your country's laws, regulations and policies concerning the
  import, possession, or use, and re-export of encryption software, to
  see if this is permitted.  See <http://www.wassenaar.org/> for more
  information.

  The U.S. Government Department of Commerce, Bureau of Industry and
  Security (BIS), has classified this software as Export Commodity
  Control Number (ECCN) 5D002.C.1, which includes information security
  software using or performing cryptographic functions with asymmetric
  algorithms.  The form and manner of this Apache Software Foundation
  distribution makes it eligible for export under the License Exception
  ENC Technology Software Unrestricted (TSU) exception (see the BIS
  Export Administration Regulations, Section 740.13) for both object
  code and source code.

  The following provides more details on the included cryptographic
  software:

    The functionality of OpenSSL <http://www.openssl.org/> is
    utilized in parts of the software.


7. ADDITIONAL INFO

  Web page: http://trafficserver.apache.org/
  Wiki: http://cwiki.apache.org/confluence/display/TS/
  User mailing list: [email protected]

More Repositories

1

opstools

devops opensource tools
97
star
2

genie-bt-mesh-stack

genie-bt-mesh-stack
C
91
star
3

ruby.taobao.org

RubyGems Mirror Web page
HTML
90
star
4

teambition-mobile-web

Teambition webapp.
TypeScript
85
star
5

fcli

The cli of function compute.
Go
81
star
6

gta

This is the analysis tool used by teambition, aiming to simplify the use of multiple analysis services.
JavaScript
81
star
7

opensesame

alibaba open parent
77
star
8

torchcraft-py

Python wrapper for TorchCraft. (In progress)
Python
71
star
9

AutoRecyclerAdapter

Automated configuration RecyclerView.Adapter for Android
Java
67
star
10

xcache

C
62
star
11

webx-restful

citrus-rpc
Java
59
star
12

ndir

The lost dir util tools.
JavaScript
56
star
13

standard

All standards for Teambition.
55
star
14

mini-logger

a really simple logger for web server or others
JavaScript
48
star
15

snapper-consumer

snapper consumer client for node.js and browser.
JavaScript
39
star
16

LibMacroassembler

A JIT assembler from JavascriptCore
C++
37
star
17

sneaky

Deployment Genius
JavaScript
35
star
18

qlexpress

Quick Laconic Express 高效简洁的类java语法动态脚本引擎
35
star
19

graph-learn1

33
star
20

OfficeConverter

Convert Office Docs to .pdf
C#
30
star
21

aliyun-ccp

Aliyun CCP SDKs
PHP
30
star
22

tdhs-java-client

A TDH_SOCKET Client For Java
Java
29
star
23

RecurrencePicker

An event recurrence rule picker similar to iOS system calendar.
Swift
29
star
24

kafka-connect-mongo

Kafka mongo connector (deeply inspired by https://github.com/DataReply/kafka-connect-mongodb)
Kotlin
29
star
25

socket.io-hub

Scalable Socket.IO
CoffeeScript
29
star
26

alicloud-duplicity

Encrypted bandwidth-efficient backup using the rsync algorithm.
Python
28
star
27

workshop

The workshop for cloud native application management
Smarty
27
star
28

node-push

Pushfication written in Nodejs
JavaScript
27
star
29

mredis

multi redis server
JavaScript
27
star
30

oceanbase_rpm_package

Perl
26
star
31

interceptor

A TCP agency. Can use between client and server, to mock network problems.
JavaScript
25
star
32

fast-path

a fast implementation of node's native path
JavaScript
25
star
33

simplehbaseviewer

hbase web viewer
Java
24
star
34

jscover

node wrap for JSCover.
JavaScript
24
star
35

gulp-ng-template

Precompile AngularJS templates to a JS file with $templateCache
JavaScript
24
star
36

SwipeableTableViewCell

A quite easy-to-use UITableViewCell subclass which allows you to add multiple highly customizable swipe actions.
Swift
24
star
37

Queue

a task queue with local persistent by Swift 2.0
Swift
23
star
38

patchjs

Patch.js is a incremental (character level) script loader for mobile web.
23
star
39

tengine

This project has been transfered to https://github.com/alibaba/tengine
23
star
40

aliyun-odps-flume-plugin

23
star
41

barn.js

scalable and extendable browser db library based on indexeddb.
JavaScript
23
star
42

ons

Aliyun ONS Q&A
22
star
43

STTableBoard

a table board like trello
Swift
22
star
44

git-pre-hooks

Automatically install git pre hooks in your git repository that run your task
JavaScript
21
star
45

TBNetworking

TBNetworking is easy API manager
Objective-C
20
star
46

cordova-yunos

YunOS support for Apache Cordova
JavaScript
19
star
47

cutter

A cutter for buffer
JavaScript
18
star
48

cz-teambition-web-commit

Teambition 前端 Git Commit 规范
JavaScript
18
star
49

aliyun-log-producer-java

Java
18
star
50

fluentable

Java
17
star
51

expire-cache

A simple cache that supports expiring and namespace
JavaScript
17
star
52

PhotoPicker

A image picker for iOS , written by Swift
Swift
17
star
53

PhotoBrowser

Simple photo browser written in Swift
Swift
16
star
54

GrowingTextView

A text view which grows with the text changes and starts scrolling when the content reaches a specified number of lines.
Swift
16
star
55

hooks-store

☔️Lightweight React state management library based on React Hooks.
TypeScript
16
star
56

atom-js-debug

A JavaScript / Node.js debug client for Atom.
JavaScript
15
star
57

isomorphic-webapp-example

An tiny example of isomorphic webapp
CoffeeScript
15
star
58

multicast_proxy

C
15
star
59

aliyun-odps-fluentd-plugin

Ruby
14
star
60

jsonkit

Tool set for JSON object
JavaScript
14
star
61

tengine-patches

patches for third party modules with Tengine
14
star
62

TB-Styles

A Stylus-based, OOCSS, SMACSS, flexible and powerful UI framework built on top of Bootstrap Stylus.
CSS
14
star
63

loghub-core

Collect logs from HTTP request and pipe them to Kafka
JavaScript
14
star
64

FilePreviewController

Swift
13
star
65

HelloRequireJS

一本关于Require.JS的小书
13
star
66

aliyun-oss-hadoop-fs

Hadoop filesystem implementation for Aliyun OSS
Java
13
star
67

abtest

an A/B test client for node web
JavaScript
12
star
68

metaweblog

MetaWeblog API on Nodejs
JavaScript
12
star
69

Tao-reviewboard

Java
12
star
70

lattice

12
star
71

oauth2.0-nodejs-client

Aliyun OAuth2 Node.js client
JavaScript
11
star
72

NotificationView

Easy to use and customizable messages/notifications for iOS applications.
Swift
10
star
73

spa-seed

Simple page application seed for teambition
JavaScript
10
star
74

opentsdb-java-driver

Java
10
star
75

Survival-Guide

Want to work at Teambition? Check this to help you survive at Teambition.
10
star
76

gulp-ejs-template

Precompile EJS templates to a JS file.
JavaScript
10
star
77

TProfiler

This project has been transfered to https://github.com/alibaba/TProfiler
10
star
78

httpdns_accuracy

httpdns service accuracy evaluator
Python
10
star
79

yykEmoji

9
star
80

ProxylessNAS

Reproducing the ProxylessNAS approach and making some improvements (ongoing)
Python
9
star
81

aliyun-tablestore-hbase-client

Aliyun tablestore hbase client
Java
9
star
82

session-compatible-fast-serializer

A fast and compatible serializer base on kryo.
Java
9
star
83

aliyun-odps-sqoop

9
star
84

TbRepeatPicker

Android RepeatPicker
Java
9
star
85

cocoapods-uploader

cocoapods-uploader
Ruby
9
star
86

tinkerpop-gremlin-doc

Tinkerpop Gremlin 语言中文文档
HTML
9
star
87

node-biginteger

node.js version of java.math.BigInteger
JavaScript
9
star
88

ansible-role-cloudfoundry

A solution that deploying Bosh and Cloud Foundry quickly based on Terraform and Ansible.
HCL
9
star
89

mejs

Moduled and Embedded JavaScript templates
JavaScript
9
star
90

nginx-http-concat

This project has been transfered to https://github.com/alibaba/nginx-http-concat
9
star
91

javascript-native-interface

JavaScript Native Interface (JSNI) is a standard programming interface between JavaScript and C/C++ libraries.
8
star
92

loghub-web

Lightweight logging and reporting for JavaScript
JavaScript
8
star
93

jquery-ui-amd

This is an AMD version of jQuery UI.
JavaScript
8
star
94

tablestore-grid

Java
8
star
95

entrypoint-wrapper-webpack-plugin

一款用于包装 Entry 配置的 Webpack 插件
JavaScript
8
star
96

hirouter

HTML5 history and router, simple, powerful and no framework.
JavaScript
8
star
97

childprocess

Wrap `child_process` module to support Multiple Process Code Coverage with istanbul.
JavaScript
8
star
98

ice-devtools

[Deprecated] 迁移至 iceworks CLI 文档:https://www.yuque.com/ice-team/wiki/pd4gfs
JavaScript
8
star
99

rpc-client-php

Alibaba Cloud RPC Client for PHP
PHP
8
star
100

gear-auth

Auth library with some useful JWT and Crypto methods.
Go
8
star