Code Monkey home page Code Monkey logo

form-register-api's Introduction

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

form-register-api's People

Contributors

narate avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.