Scrapy 0.18 Documentationexample returning multiples Requests and Items from a single callback: from scrapy.selector import胶用์HTMLXPathSelector from scrapy.spider import BaseSpider from scrapy.http import Request from myproject0 码力 | 273 页 | 523.49 KB | 2 年前3
探索Vue的⾼高级应⽤用0 码力 | 26 页 | 1.38 MB | 2 年前3
Tornado 5.1 Documentation
variables as if it were copied directly to the point of the include directive (the {% autoescape 己用 己用 %} directive is an exception). Alternately, {% module Template(filename, **kwargs) %} may be used autoescaping. $$ \begin{array}{l}\{\% set *x* = *y* \%\}\\ \text{Sets a local variable.}\end{array} $$ 己用%try%...{%except%}...{%else%}...{%finally%}...{%end%} Same as the python try statement. [% whitespace0 码力 | 359 页 | 347.32 KB | 2 年前3
Scrapy 1.0 Documentation0 码力 | 303 页 | 533.88 KB | 2 年前3
云原生虚拟数仓 PieCloudDB 的架构和关键模块实现0 码力 | 43 页 | 1.14 MB | 1 年前3
7 谢彬彬 用MicroPython触摸物理世界 ## “用MicroPython” 触摸物理世界😊 谢彬彬 Web全栈开发 ## 目录 CONTENTS  陀螺仪  OLED显示模块   https://github.com/meshplus/bitxhub-kit 验证引擎&IBTP协议库 https://github.com/meshplus/bitxhub-core0 码力 | 27 页 | 1.24 MB | 1 月前3
用Go语言实现推送服务器## 用Go语言实现推送服务器 陈叶皓 chen.yh@ctrip.com ## 议程 • 推送服务器介绍 • Golang特点 • 推送服务架构 • 部分代码 • 上线效果 ## 议程 • 推送服务器介绍 • 推送服务架构 • 部分代码 • 上线效果 ## 什么是推送服务器 • 推送业务信息到手机端 • 始终保持连接 ## 推送服务器要求 · 高并发 • 可靠性 • ## 并行场景-TCP Server • 在有socket连接时创建 • 为每个socket创建一个goroutine - 用心跳维持,超时关闭socket,同时退出goroutine - 用全局字典,查找clientID对应的socket func StartTcpSvr() { onceTcpSvr.Do(func() { port :=}: " + configsvr0 码力 | 25 页 | 260.04 KB | 2 年前3
Operator Pattern 用 Go 扩展 Kubernetes 的最佳实践## GCN ## Operator Pattern: 用 Go 扩展 K8s 的最佳实践 ## 👨👩👧👦 吴学强 ApeCloud KubeBlocks Maintainer & 研发总监  认识我们 00 K8s API 的扩展性问题,但存在诸多问题,Alpha 阶段既夭折 ## Operator CoreOS 提出 Operator 概念,用于管理和运行基于应用程序领域的复杂有状态应用程序。给出了用 TPR + controller—runtime 早期版本的 sample: etcd operator ## CRD K8s 1.9 版本发布,CRD进入 beta 阶段并正式取代 TPR;controller-runtime 中,避免写(create、update、delete)完一个对象后马上去读(get、list)最新版本,等 controller-runtime 触发下一次 reconcile ## 遵循惯例开发模式 即 controller 用读 cache,UT 中不用 cache ## 附加题:Stale Cache 情况下 情况下 Operator 正确性如何保证Cache\Planned 0 码力 | 21 页 | 3.06 MB | 1 年前3共 1000 条- 1
- 2
- 3
- 4
- 5
- 6
- 100













