Giter VIP home page Giter VIP logo

braidgo-sample's Introduction

BraidSample

braid-go httpbot

使用braid-go微服务构建的框架,可适用于网站,应用,游戏等业务的后端。

image.png

开启并发机器人

./bot -num 1000

开启含有生命周期的机器人 每间隔1秒生成100个机器人,生命周期是5秒。

./bot -num 100 -lifetime 5 -increase true

注1 这里只是使用braid来进行构建一个基础的框架,用户可以再此基础上进行任意的自定义调整。如果业务量级小可以合并 login,base,mail 等功能节点,如果业务量大也可以从此基础上进行更多的拆分。

注2 这里为了方便所以将工程都聚合到了一个目录中,正式开发环境中建议分开管理。

注3 如果有一些例如游戏业务,需要高频同步,也可以支持tcp/udp服务。

braidgo-sample's People

Contributors

pojol avatar

Stargazers

 avatar  avatar

Watchers

 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.