<acronym id="s8ci2"><small id="s8ci2"></small></acronym>
<rt id="s8ci2"></rt><rt id="s8ci2"><optgroup id="s8ci2"></optgroup></rt>
<acronym id="s8ci2"></acronym>
<acronym id="s8ci2"><center id="s8ci2"></center></acronym>

電子發燒友App

硬聲App

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示
電子發燒友網>電子資料下載>電子資料>SwooleWorker分布式長連接開發框架

SwooleWorker分布式長連接開發框架

2022-06-30 | zip | 0.07 MB | 次下載 | 免費

資料介紹

授權協議 Apache
開發語言 PHP
操作系統 跨平臺
軟件類型 開源軟件
所屬分類 程序開發、 高性能網絡開發庫

軟件簡介

SwooleWorker是基于swoole4開發的一款分布式長連接開發框架。

常駐內存,協程,分布式部署,橫向擴容,無感知安全重啟,高性能高并發,SwooleWorker可以廣泛應用于云計算、物聯網IOT)、車聯網、智能家居、網絡游戲、互聯網+、移動通信等領域。使用SwooleWorker可以使企業 IT 研發團隊的效率大大提升,更加專注于開發創新產品。

  _____                    _   __          __        _
 / ____|                  | |  \ \        / /       | |           ?
| (_____      _____   ___ | | __\ \  /\  / /__  _ __| | _____ _ __
 \___ \ \ /\ / / _ \ / _ \| |/ _ \ \/  \/ / _ \| '__| |/ / _ \ '__|
 ____) \ V  V / (_) | (_) | |  __/\  /\  / (_) | |  |   <  __/ |
|_____/ \_/\_/ \___/ \___/|_|\___| \/  \/ \___/|_|  |_|\_\___|_|

=================================================
SwooleWorker is a distributed long connection
development framework based on Swoole4.

[Github] https://github.com/xielei/swoole-worker
=================================================

Press [Ctrl+C] to exit, send 'help' to show help.
> help
****************************  HELP  ****************************
* cmd                           description...
* help                          display help
* exit                          exit cmd panel
* clear                         clear screen
* start [-d]                    start the service,'-d' daemonize mode
* restart [-d]                  restart the service,'-d' daemonize mode
* reload                        reload worker and task
* stop [-f]                     stop the service,'-f' force stop
* status                        displays the running status of the service
****************************************************************
> 

【Github】?【官方網站】

系統架構

poYBAGK5rdaATZkeAABUdo_vyM4302.png

基本接口

  • sendToClient(string?client,stringclient,stringmessage)
  • sendToUid(string?uid,stringuid,stringmessage)
  • sendToGroup(string?group,stringgroup,stringmessage, array $without_client_list = [])
  • sendToAll(string?message,arraymessage,arraywithout_client_list = [])
  • isOnline(string $client)
  • isUidOnline(string $uid): bool
  • getClientListByGroup(string?group,stringgroup,stringprev_client = null): iterable
  • getClientCount(): int
  • getClientCountByGroup(string $group): int
  • getClientList(string $prev_client = null): iterable
  • getClientListByUid(string?uid,stringuid,stringprev_client = null): iterable
  • getClientInfo(string?client,intclient,inttype = 255): array
  • getUidListByGroup(string?group,boolgroup,boolunique = true): iterable
  • getUidList(bool $unique = true): iterable
  • getUidCount(float $unique_percent = null): int
  • getGroupList(bool $unique = true): iterable
  • getUidCountByGroup(string $group): int
  • closeClient(string?client,boolclient,boolforce = false)
  • bindUid(string?client,stringclient,stringuid)
  • unBindUid(string $client)
  • joinGroup(string?client,stringclient,stringgroup)
  • leaveGroup(string?client,stringclient,stringgroup)
  • unGroup(string $group)
  • setSession(string?client,arrayclient,arraysession)
  • updateSession(string?client,arrayclient,arraysession)
  • deleteSession(string $client)
  • getSession(string $client): ?array
  • sendToAddressListAndRecv(array?items,floatitems,floattimeout = 1): array
  • sendToAddressAndRecv(array?address,stringaddress,stringbuffer, float $timeout = 1): string
  • sendToAddress(array?address,stringaddress,stringbuffer, $timeout = 1)

系統特色

  • 分布式部署,橫向擴容
  • 代碼更新無縫重啟,用戶無感知,數據無差錯
  • 協程,常駐內存,高性能

安裝

推薦composer方式安裝

composer require xielei/swoole-worker
?

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評論

查看更多

下載排行

本周

  1. 1山景DSP芯片AP8248A2數據手冊
  2. 1.06 MB  |  532次下載  |  免費
  3. 2RK3399完整板原理圖(支持平板,盒子VR)
  4. 3.28 MB  |  339次下載  |  免費
  5. 3TC358743XBG評估板參考手冊
  6. 1.36 MB  |  330次下載  |  免費
  7. 4DFM軟件使用教程
  8. 0.84 MB  |  295次下載  |  免費
  9. 5元宇宙深度解析—未來的未來-風口還是泡沫
  10. 6.40 MB  |  227次下載  |  免費
  11. 6迪文DGUS開發指南
  12. 31.67 MB  |  194次下載  |  免費
  13. 7元宇宙底層硬件系列報告
  14. 13.42 MB  |  182次下載  |  免費
  15. 8FP5207XR-G1中文應用手冊
  16. 1.09 MB  |  178次下載  |  免費

本月

  1. 1OrCAD10.5下載OrCAD10.5中文版軟件
  2. 0.00 MB  |  234315次下載  |  免費
  3. 2555集成電路應用800例(新編版)
  4. 0.00 MB  |  33566次下載  |  免費
  5. 3接口電路圖大全
  6. 未知  |  30323次下載  |  免費
  7. 4開關電源設計實例指南
  8. 未知  |  21549次下載  |  免費
  9. 5電氣工程師手冊免費下載(新編第二版pdf電子書)
  10. 0.00 MB  |  15349次下載  |  免費
  11. 6數字電路基礎pdf(下載)
  12. 未知  |  13750次下載  |  免費
  13. 7電子制作實例集錦 下載
  14. 未知  |  8113次下載  |  免費
  15. 8《LED驅動電路設計》 溫德爾著
  16. 0.00 MB  |  6656次下載  |  免費

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935054次下載  |  免費
  3. 2protel99se軟件下載(可英文版轉中文版)
  4. 78.1 MB  |  537798次下載  |  免費
  5. 3MATLAB 7.1 下載 (含軟件介紹)
  6. 未知  |  420027次下載  |  免費
  7. 4OrCAD10.5下載OrCAD10.5中文版軟件
  8. 0.00 MB  |  234315次下載  |  免費
  9. 5Altium DXP2002下載入口
  10. 未知  |  233046次下載  |  免費
  11. 6電路仿真軟件multisim 10.0免費下載
  12. 340992  |  191187次下載  |  免費
  13. 7十天學會AVR單片機與C語言視頻教程 下載
  14. 158M  |  183279次下載  |  免費
  15. 8proe5.0野火版下載(中文版免費下載)
  16. 未知  |  138040次下載  |  免費
亚洲欧美日韩精品久久_久久精品AⅤ无码中文_日本中文字幕有码在线播放_亚洲视频高清不卡在线观看
<acronym id="s8ci2"><small id="s8ci2"></small></acronym>
<rt id="s8ci2"></rt><rt id="s8ci2"><optgroup id="s8ci2"></optgroup></rt>
<acronym id="s8ci2"></acronym>
<acronym id="s8ci2"><center id="s8ci2"></center></acronym>