Giter Site home page Giter Site logo

吧食笔记

1. 开发 larvael + vue 项目

2. workman 知识点总结

  • 常用名词解释

    1. 并发连接数

      并发连接数是指服务器当前时刻一共维持了多少TCP连接, 而这些连接上是否有数据通讯并不关注, 例如一台消息推送服务器上可能维持了百万的设备连接, 由于连接上很少有数据通讯,所以这台服务器上负载可能几乎为0, 只要内存足够,还可以继续接受连接。

      并发连接数受限于服务器内存, 一般24G内存workerman服务器可以支持大概120W并发连接。

    2. 并发请求数

      并发请求数一般用QPS(服务器每秒处理多少请求)来衡量, 而当前时刻服务器上有多少个tcp连接并不十分关注。 例如一台服务器只有10个客户端连接, 每个客户端连接上每秒有1W个请求, 那么要求服务端需要至少能支撑10*1W=10W每秒的吞吐量(QPS)。 假设10W吞吐量每秒是这台服务器的极限, 如果每个客户端每秒发送1个请求给服务端, 那么这台服务器能够支撑10W个客户端。

      并发请求数受限于服务器cpu处理能力, 一台24核workerman服务器可以达到45W每秒的吞吐量(QPS), 实际值根据业务复杂度以及代码质量有所变化。

    3. 非阻塞

    4. 异步

  • ReactPHP相关

    1. react/mysql
    2. react/redis
    3. react/dns
    4. react/http-client http 组件
    5. react/zmp && react/stomp 异步消息队列
    6. react/child-process 进程控制组件

3. electron 项目

4. upupw 知识点总结

  • apache 优化配置

  • nginx 优化配置

  • php 优化配置

5. Linux shell 脚本

  • nginx-rtmp

6. Python 开发

7. 流媒体服务器

协议选择

延迟要求,是否要求低于5秒的延迟?如果是硬指标,
就只能选择RTMP或HTTP-FLV流。移动端需要自己编译FFMPEG支持,无法直接播放。

终端适配,是否要求支持PC和移动端(IOS和Android)?
如果需要广泛支持移动端,HLS是最好的选择。

节约带宽,是否要求支持WebP2P?如果需要支持FlashP2P,
或者移动端P2P,选择HLS。
  • nginx-rtmp

  • red5

  • simple rtmp server

penguinseven's Projects

gitea icon gitea

Git with a cup of tea, painless self-hosted git service

html2md icon html2md

html2markdown,converts html to markdown

hyperdown icon hyperdown

一个结构清晰的,易于维护的,现代的PHP Markdown解析器

layer icon layer

丰富多样的 Web 弹出层组件,可轻松实现 Alert/Confirm/Prompt/ 普通提示/页面区块/iframe/tips等等几乎所有的弹出交互。目前已成为最多人使用的弹层解决方案

mditor icon mditor

[ M ] arkdown + E [ ditor ] = Mditor

monaco.ttf icon monaco.ttf

the monaco font improved: add special characters in monaco.ttf

phpexcel icon phpexcel

A pure PHP library for reading and writing spreadsheet files

phpword icon phpword

A pure PHP library for reading and writing word processing documents

plus icon plus

💝The Plus (ThinkSNS+) is a powerful, easy-to-develop social system built with Laravel.

shadowsocks-php icon shadowsocks-php

A php port of shadowsocks based on workerman. A socks5 proxy written in PHP.

simpleshm icon simpleshm

SimpleSHM is a simple and small abstraction layer for shared memory manipulation using PHP. It makes use of the SHMOP functions, built into most PHP packages.

springboot icon springboot

springboot 框架与其它组件结合如 jpa、mybatis、websocket、security、shiro、cache等

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.