定制 kpacha/reactive-hateoas 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kpacha/reactive-hateoas

Composer 安装命令:

composer require kpacha/reactive-hateoas

包简介

The scalable hateoas server

README 文档

README

The scalable hateoas server

##Major Dependencies

##Instal

The recommended way to install kpacha/reactive-hateoas is through composer.

{
    "require": {
        "kpacha/reactive-hateoas": "~0.1.0"
    }
}

##Usage

Check out the bin/reactive.php example and run it with

$ php bin/reactive.php

There is a built-in console-based script

$ bin/run list
Console Tool

Usage:
  [options] command [arguments]

Options:
  --help           -h Display this help message.
  --quiet          -q Do not output any message.
  --verbose        -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  --version        -V Display this application version.
  --ansi              Force ANSI output.
  --no-ansi           Disable ANSI output.
  --no-interaction -n Do not ask any interactive question.

Available commands:
  help       Displays help for a command
  list       Lists commands
  reactive   Start a reactive-silex instance

$ bin/run reactive -vv 8080
Server running at http://127.0.0.1:8080
Memory: 1280 KiB
Memory: 1280 KiB

##Api Consumption

See the nice examples at mcuadros's repo.

##Scalability

React launches a single-process share-nothing server, so you can instance several stacks in a single machine, depending on the number of avilable cores, before scale-out adding more hardware. The cpu and memory consumption will remain almost lineal. Balance your load between your stacks and everything will be run like a charm!

Also, remember to bind every stack to a different port or you will face some nice port collision messages!

Bitdeli Badge

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固