• Stars
    star
    106
  • Rank 316,320 (Top 7 %)
  • Language
    Lua
  • Created almost 3 years ago
  • Updated almost 3 years ago

Reviews

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

Repository Details

High performance form register API

Form Register API

Tech Stack

Architecture Design

Diagram

Deploy API

docker-compose up -d

Register API

curl -i http://127.0.0.1/v1/register \
    -d '{"id":"1234", "name":"John Farmer", "phone":"0812345678", "address":"7th Heven"}'

DB Report

docker exec kt1 ktremotemgr report -host kt1

List Data

docker exec kt1 ktremotemgr list -host kt2 -pv

Export Data

docker exec kt1 ktremotemgr list -host kt3 -pv > db.tsv

Specification Recomend

Minimum Spec for each server node

CPU 4 Core
RAM 8 GB
SSD 40 GB
Network Bandwidth 1 Gbps

Load Testing Result

wrk -t 4 -c 10k -d 15m

Lua Script for wrk wg/wrk/scripts/post.lua

Known Issue

Please generate unique id for load testing and disable rate-limiting plugins in conf.d/kong.yml before run load testing

More Repositories

1

kong-docker

Kong Docker deployment
Shell
61
star
2

DevOps-BKK-2018

DevOps BKK 2018 source code and configuration
Shell
26
star
3

code-mania-110

My code mania 110 demo
Shell
10
star
4

krakend-example

KrakenD example https://www.krakend.io/
9
star
5

ktserver-docker

kyototycoon/ktserver docker http://fallabs.com/kyototycoon/
6
star
6

apisix-docker

APISIX API Gateway Docker deployment with docker-compose
6
star
7

code-server

VS Code Server - Docker Deployment
5
star
8

mariadb-galera-cluster

MariaDB Galera Cluster
Shell
5
star
9

sys-admin-day-2021

SysAdminDay2021
4
star
10

ostrich

Ostrich headless API first with GraphQL support web framework.
4
star
11

lofi.cli

Play lofi.co tracks from command line.
Shell
4
star
12

budha.ascii

budha ascii art
Shell
3
star
13

tsung-recorder-to-wrk

Tsung Recorder session to wrk Lua Script converter.
Python
3
star
14

wrk-docker

wrk docker image with lua-cjson and luasocket modules
Dockerfile
3
star
15

uptime-kuma-kong-exporter

Export all Kong API Gateway routes to Uptime Kuma monitor
Python
3
star
16

g6

G6 | The stupid HTTP load testing tool using a mouseover event to generate HTTP traffic to the target URL.
CSS
3
star
17

prom-file-sd

Prometheus file service discovery with RESTful API
Python
3
star
18

fblive-dl

Facebook Live Downloader | fblive-dl
3
star
19

eth-wallet

ETH Wallet generator
Python
2
star
20

nextjs-cloudflare

JavaScript
1
star
21

iperf3-docker

IPerf3 Docker Build with Alpine
Dockerfile
1
star
22

kong-custom-template

Kong custom nginx template to allow mapping arbitrary request headers to upstream targets
1
star
23

waveportal-contract

Waveportal contract
JavaScript
1
star
24

envoy-quick-start

Envoy proxy quick start
1
star
25

kong-replace-thai-numeral

Kong Serverless function for replace Thai numeral
Lua
1
star