Repository: TarsCloud/Tars
Branch: master
Commit: be9b98bab706
Files: 34
Total size: 60.0 KB
Directory structure:
gitextract_q0df83d1/
├── .gitattributes
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.md
│ │ ├── custom.md
│ │ └── feature_request.md
│ ├── ISSUE_TEMPLATE.md
│ ├── PULL_REQUEST_TEMPLATE.md
│ └── workflows/
│ ├── deploy-framework-docker.yml
│ ├── deploy-latest-framework-docker.yml
│ ├── deploy-latest-tars-docker.yml
│ └── deploy-tars-docker.yml
├── .gitignore
├── .gitmodules
├── Contributing.md
├── LICENSE
├── PerfTestSoft/
│ ├── Readme.md
│ ├── StressBenchmark/
│ │ ├── README.md
│ │ ├── TarsStressClient/
│ │ │ ├── Stress.h
│ │ │ ├── main.cpp
│ │ │ ├── makefile
│ │ │ └── teststress.sh
│ │ └── TarsStressServer/
│ │ ├── Stress.tars
│ │ ├── StressImp.cpp
│ │ ├── StressImp.h
│ │ ├── TarsStressServer.cpp
│ │ ├── TarsStressServer.h
│ │ └── makefile
│ └── introduction.md
├── README.md
├── README.zh.md
├── tag.sh
├── tars-deploy-framework.sh
├── tars-deploy-tars.sh
├── tars-latest-deploy-framework.sh
└── tars-latest-deploy-tars.sh
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
* linguist-language=C++
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.md
================================================
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: ''
---
**What version of TARS and what language are you using?**
**What operating system (Linux, Windows, ...) and version?** [e.g. CentOS 7.8]
**What runtime/compiler are you using?** [e.g. JDK version or version of gcc]
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.
================================================
FILE: .github/ISSUE_TEMPLATE/custom.md
================================================
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---
================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.md
================================================
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE]"
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
================================================
FILE: .github/ISSUE_TEMPLATE.md
================================================
### What language are you using?
### What operating system (Linux, Ubuntu, …) and version?
### What runtime / compiler are you using (e.g. jdk version or version of gcc)
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
================================================
FILE: .github/PULL_REQUEST_TEMPLATE.md
================================================
**IMPORTANT: Please do not create a Pull Request without creating an issue first.**
*Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.*
Please provide enough information so that others can review your pull request:
Explain the **details** for making this change. What existing problem does the pull request solve?
**Test plan (required)**
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
**Code formatting**
**Closing issues**
Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).
================================================
FILE: .github/workflows/deploy-framework-docker.yml
================================================
name: deploy-framework-docker
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: docker login
run: |
docker login -u ${{ secrets.name }} -p ${{ secrets.pass }}
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/checkout@v3
with:
submodules: true
- name: deploy docker
run: |
echo $GITHUB_SHA
./tars-deploy-framework.sh ${{ steps.get_version.outputs.VERSION }} true
================================================
FILE: .github/workflows/deploy-latest-framework-docker.yml
================================================
name: deploy-latest-framework-docker
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: docker login
run: |
docker login -u ${{ secrets.name }} -p ${{ secrets.pass }}
- uses: actions/checkout@v3
with:
submodules: true
- name: deploy docker
run: |
echo $GITHUB_SHA
./tars-latest-deploy-framework.sh true
================================================
FILE: .github/workflows/deploy-latest-tars-docker.yml
================================================
name: deploy-latest-tars-docker
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: docker login
run: |
docker login -u ${{ secrets.name }} -p ${{ secrets.pass }}
- uses: actions/checkout@v3
with:
submodules: true
- name: deploy docker
run: |
echo $GITHUB_SHA
./tars-latest-deploy-tars.sh true
================================================
FILE: .github/workflows/deploy-tars-docker.yml
================================================
name: deploy-tars-docker
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: docker login
run: |
docker login -u ${{ secrets.name }} -p ${{ secrets.pass }}
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/checkout@v3
with:
submodules: true
- name: deploy docker
run: |
echo $GITHUB_SHA
./tars-deploy-tars.sh ${{ steps.get_version.outputs.VERSION }} true
================================================
FILE: .gitignore
================================================
/java/core/.settings
/java/core/.classpath
/java/core/.project
/java/examples/quickstart-client/.settings
/java/examples/quickstart-client/.project
/java/examples/quickstart-client/.classpath
/java/examples/quickstart-server/.settings
/java/examples/quickstart-server/.project
/java/examples/quickstart-server/.classpath
/java/net/.settings
/java/net/.project
/java/net/.classpath
/java/tools/tars-maven-plugin/.settings
/java/tools/tars-maven-plugin/.project
/java/tools/tars-maven-plugin/.classpath
/java/core/target
/java/examples/quickstart-client/target
/java/examples/quickstart-server/target
/java/net/target
/java/tools/tars-maven-plugin/target
/java/examples/stress-server/.classpath
/java/examples/stress-server/.project
/java/examples/stress-server/.settings
/java/examples/stress-server/target
/java/.project
/java/.settings/org.eclipse.m2e.core.prefs
/java/examples/.project
/java/examples/.settings/org.eclipse.m2e.core.prefs
/java/tools/.project
/java/tools/.settings/org.eclipse.m2e.core.prefs
/php/.idea/*
.idea/*
================================================
FILE: .gitmodules
================================================
[submodule "framework"]
path = framework
url = https://github.com/TarsCloud/TarsFramework
[submodule "cpp"]
path = cpp
url = https://github.com/TarsCloud/TarsCpp
[submodule "java"]
path = java
url = https://github.com/TarsCloud/TarsJava
[submodule "nodejs"]
path = nodejs
url = https://github.com/tars-node/Tars.js
[submodule "php"]
path = php
url = https://github.com/TarsPHP/TarsPHP
[submodule "tup"]
path = tup
url = https://github.com/TarsCloud/TarsTup
[submodule "web"]
path = web
url = https://github.com/TarsCloud/TarsWeb
[submodule "go"]
path = go
url = https://github.com/TarsCloud/TarsGo
[submodule "docs"]
path = docs
url = https://github.com/TarsCloud/TarsDocs
[submodule "docker"]
path = docker
url = https://github.com/TarsCloud/TarsDocker.git
[submodule "docs_en"]
path = docs_en
url = https://github.com/TarsCloud/TarsDocs_en
================================================
FILE: Contributing.md
================================================
# Contributing
If you contributed but cannot find your ID in the file, please submit PR and add your GitHub ID to **both contributing file under your contributed repo** and [Tars repo](https://github.com/TarsCloud/Tars/pulls).
## Tars
### Committer
- ruanshudong
- loveyacper
- LawlietLi
- meijing0114
- medns
- dpp2009
- TOKISAKIKURUMI
- change93
- helloopenworld
- meiping
- copyrenzhe
- bobzhangyong
- wjx82850707
- Spacebody
- souldancer
- zerolocusta
- markshan
### Contributors List
- 9chu
- Abioy
- bartdong
- bishaoqing
- bobzhangyong
- change93
- Cnlouds
- copyrenzhe
- cygsxak
- deepzliu
- dolphinxwc
- dpp2009
- duoyu119
- ETZhangSX
- Fr1ck
- ganziqim
- guzitajiu
- helloopenworld
- higithubhi
- isabellavieira
- jerrylucky
- KatharineOzil
- kuangxc
- lanffy
- lanyutc
- LawlietLee
- LawlietLi
- loveyacper
- maplebeats
- marklightning
- mdhender
- medns
- meijing0114
- meiping
- MR-workaholic
- munglechina
- parchk
- qiuxin
- ruanshudong
- sandyskies
- scguoi
- serverlessplus
- songvy
- souldancer
- Spacebody
- sy-records
- tarstest
- TCZWJ
- TimmyYu
- tinkercloud
- TOKISAKIKURUMI
- wjx82850707
- youngdou
- YoungZiyi
- yuansx
- yukkiball
- zehuaiWANG
- zerolocusta
- BeyondWUXF
## TarsCpp
### Committer
- ruanshudong
- markshan
### Contributors List
- Abioy
- jerrylucky
- langio
- marklightning
- ruanshudong
- shevqko
- Spacebody
- TCZWJ
- viest
- YMChenLiye
- zhanleewo
- BeyondWUXF
## TarsBenchmark
### Committer
- forrestlinfeng
- markshan
### Contributor List
- forrestlinfeng
- wincsb
## plugins
- diracccc
## TarsDemo
- ruanshudong
## TarsDocker
### Committer
- ruanshudong
- markshan
### Contributor List
- bartdong
- Frankie
- franklee0817
- ruanshudong
- RuizhaoLi
## TarsDocs
### Committer
- ruanshudong
- KatharineOzil
- bartdong
- Cnlouds
- markshan
### Contributor List
- bartdong
- Cnlouds
- danielzheng-Tencent
- jerrylucky
- KatharineOzil
- meijing0114
- ruanshudong
- yukkiball
- zouchengzhuo
## TarsFramework
### Committer
- ruanshudong
- wincsb
- markshan
### Contributor List
- diracccc
- ETZhangSX
- jerrylucky
- lanhy
- MindHook
- mygrsun
- renyang9876
- ruanshudong
- shevqko
- wincsb
- ypingcn
- yuansx
- BeyondWUXF
## TarsGo
### Committer
- sandyskies
- jchalex
- chenhengqi
- MonkeyLi
- tensorchen
- rikewang
- markshan
- lbbniu
### Contributor List
- 0xflotus
- agchrys
- Andrew-M-C
- bartdong
- BurningXFlame
- chenhengqi
- Clark-zhang
- ClaudeLiang
- cokeboL
- defool
- erjanmx
- hooligan520
- hotWing17
- imthx
- jchalex
- jyuan68
- lanhy
- louishlz
- marklightning
- maplebeats
- mdhender
- mjaow
- MonkeyLi
- mountkin
- nickwanninger
- philippgille
- qiuxin
- rbarros
- rikewang
- ruanshudong
- sandyskies
- skelway
- TauWu
- tensorchen
- terryding77
- wqliang
- wzshiming
- xiaoxubeii
- xuri
- YaffaBeauty
- YouEclipse
- lbbniu
- BeyondWUXF
## TarsJava
### Committer
- TimmyYu
- XenoAmess
- diracccc
- LawlietLi
- markshan
### Contributor List
- diracccc
- kahn
- LawlietLi
- LiuMenghan
- TimmyYu
- walkertest
- woodwind
- XenoAmess
- yukkiball
## TarsPHP
### Committer
- meijing0114
- bobzhangyong
- copyrenzhe
- dpp2009
- markshan
### Contributor List
- bobzhangyong
- copyrenzhe
- cuixg
- danielzheng-Tencent
- dpp2009
- meijing0114
- wodetian55
- medmin
- sy-records
## TarsProtocol
### Committer
- ruanshudong
- shevqko
- markshan
### Contributor List
- jerrylucky
- ruanshudong
- shevqko
- hpeiy98
## TarsWeb
### Committer
- ruanshudong
- zouchengzhuo
- ziyang314
- shevqko
- markshan
### Contributor List
- airycanon
- ETZhangSX
- jerrylucky
- lanhy
- ouliuquan
- ruanshudong
- sandyskies
- shevqko
- wjx82850707
- ypingcn
- ziyang314
- zouchengzhuo
- BeyondWUXF
## TarsJMeter
### Committer
- boycs007
- jnlunsb
- markshan
### Contributor List
- boycs007
- jnlunsb
- juliuslu-tencent
## TarsNodeJS
### Committer
- medmin
- markshan
### Contributor List
- medmin
## K8STARS
### Committer
- bartdong
- defool
- markshan
### Contributor List
- bartdong
- defool
- hpeiy98
- KatharineOzil
- andyguo1023
## ArtWork
- cheney-ying
- heisewuyu16
- Quentin-by
## TarsTools
### Committer
- harveyxu-tme
- markshan
### Contributor List
- harveyxu-tme
- hpeiy98
## TarsGateway
### Committer
- shevqko
- markshan
### Contributor List
- shevqko
- ruanshudong
- hpeiy98
- wincsb
## TARS_Landscape
### Committer
- KatharineOzil
- dankohn
### Contributor List
- KatharineOzil
- dankohn
- bartdong
- jordinl83
- heisewuyu16
## TarsprotocolProxy
### Committer
- shevqko
- eatonzhang
- markshan
### Contributor List
- shevqko
- eatonzhang
- markshan
- hpeiy98
================================================
FILE: LICENSE
================================================
BSD 3-Clause License
Copyright (c) 2020, THE TARS FOUNDATION
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
================================================
FILE: PerfTestSoft/Readme.md
================================================
# Table of contents
> * [1.Description](#main-chapter-1)
> * [2.Framework Environment Setup](#main-chapter-2)
> * [3.Server Side Test Software](#main-chapter-3)
> * [4.Client Side Test Software](#main-chapter-4)
> * [5.Note Well](#main-chapter-5)
# 1. Description
- This folder is used to store the software for Tars performance Test.
- The test software consists of the client software and the server software.
- The Tars framework should be set up successfully prior to run the performance test software.
# 2. Tars Framework Environment Setup
- In order to run the performance test, Tars framework is a must.
- You can setup the framework via script or do it step-by-step.
- Refer to the following link:
- https://github.com/TarsCloud/Tars/tree/master/shellDeploy
- https://github.com/TarsCloud/Tars#installation
# 3. Server Side Test Software
- For the server side,
# 4. Client Side Test Software
- For the client side,
# 5. Note Well
- More informations you should pay special attention to.
================================================
FILE: PerfTestSoft/StressBenchmark/README.md
================================================
该工程是Tars入门示例的代码
目录名称 |功能
-----------------|----------------
TarsStressServer | Tars性能压测服务端的程序
TarsStressClient | Tars性能压测客户端的程序
================================================
FILE: PerfTestSoft/StressBenchmark/TarsStressClient/Stress.h
================================================
// **********************************************************************
// This file was generated by a TARS parser!
// TARS version 1.1.0.
// **********************************************************************
#ifndef __STRESS_H_
#define __STRESS_H_
#include