没有合适的资源?快使用搜索试试~ 我知道了~
websockets-and-django
共57个文件
py:34个
html:4个
js:3个
需积分: 5 0 下载量 66 浏览量
2021-07-11
07:03:37
上传
评论
收藏 100KB ZIP 举报
温馨提示
自述文件 克隆自:aaugustin/django-c10k-demo.git 添加聊天应用程序 django-c10k-demo 是一个在 Django 中使用 WebSockets 实现高并发的实验平台。 它最初是为了处理与 Django 的 10 000 个并发实时连接而编写的,因此得名。 它结合了几个有趣的概念: 、 、 和 Python 的内置。 运行代码 先决条件 安装 3.4 或 3.3。 安装 、 和websockets ,最有可能使用virtualenv和pip 。 如果您使用的是 Python 3.3,请安装asyncio 。 克隆这个存储库。 配置您的操作系统以允许大量文件描述符。 在 OS X 上: sudo sysctl -w kern.maxfiles=40960 kern.maxfilesperproc=20480 打开两个 shell 并突破它们
资源推荐
资源详情
资源评论
收起资源包目录
websockets-and-django-master.zip (57个子文件)
websockets-and-django-master
README.rst 8KB
c10kdemo
settings.py 861B
urls.py 283B
__init__.py 0B
wsgi.py 169B
manage.py 251B
gameoflife
urls.py 214B
__init__.py 0B
models.py 0B
patterns
hwss 40B
blinker 4B
glider 12B
beacon 20B
gosper 333B
toad 10B
mwss 35B
lwss 24B
pulsar 182B
screenshot.png 82KB
management
commands
__init__.py 0B
gameoflife.py 3KB
__init__.py 0B
views.py 3KB
test_integration.py 939B
client.py 3KB
templates
gameoflife
watch.html 734B
static
gameoflife
hacker.png 150B
watch.js 542B
watch.css 133B
chat
urls.py 138B
tests.py 60B
migrations
__init__.py 0B
admin.py 63B
__init__.py 0B
models.py 57B
views.py 739B
templates
chat
chatpage.html 375B
static
chat
chatter.js 943B
LICENSE 1KB
Makefile 281B
c10ktools
test_commands.py 631B
test_views.py 2KB
urls.py 173B
test.py 2KB
http
websockets.py 3KB
__init__.py 34B
__init__.py 0B
monkey.py 1KB
models.py 37B
management
commands
testecho.py 2KB
__init__.py 0B
__init__.py 0B
views.py 483B
templates
c10ktools
basic.html 629B
echo.html 372B
static
c10ktools
echo.js 911B
.gitignore 40B
共 57 条
- 1
资源评论
刘岩Lyle
- 粉丝: 41
- 资源: 4680
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功