Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Terry.shi
@Terry.Shi
Member
NO. 28640 / 2016-09-21

[email protected]
上海
5 Topics / 49 Replies
0 Followers
0 Following
76 Favorites
GitHub Public Repos
  • docker-for-discuz 3

    docker-compose file for discuz

  • anginx 2

    Analyze nginx log

  • loginx 2

    help manage servers information and quick login

  • telescope-web 2

  • just_ansible 1

  • telescope-core 1

  • ansiscaf 1

    ansible project scaffold

  • ansible-for-zabbix 1

  • django-rest-learning 0

  • imapbox 0

    Dump imap inbox to a local folder in a regular backupable format: html, json and attachements

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 真的有无法使用自动化工具爬取数据的网站吗? at June 08, 2020

    在https://www.lulus.com/px/client/main.min.js中发现以下信息

    PerimeterX 提供一款基于行为的反爬工具 Bot Defender,自称“凭借强大的机器学习和攻击响应能力领先业界”, 在原有架构(CDN、负载均衡器、web 服务器)中集成 Bot Defender,收集用户浏览数据, 生成设备和浏览器指纹,基于机器学习的检测机制区分真人与爬虫。

  • 真的有无法使用自动化工具爬取数据的网站吗? at June 08, 2020

    很有用,学到了

  • sidekiq 进入了任务队列,但不执行任务!😭 at May 22, 2019

    可以使用 monit 监控 sidekiq,挂了可以重启

  • Puma 频繁产生 CLOSE_WAIT 导致无响应? at May 16, 2019

    A connection pool synchronizes thread access to a limited number of database connections. The basic idea is that each thread checks out a database connection from the pool, uses that connection, and checks the connection back in. ConnectionPool is completely thread-safe, and will ensure that a connection cannot be used by two threads at the same time, as long as ConnectionPool's contract is correctly followed. It will also handle cases in which there are more threads than connections: if all connections have been checked out, and a thread tries to checkout a connection anyway, then ConnectionPool will wait until some other thread has checked in a connection. pool 的值应该与 puma 最大 thread 数一致,大于 thread 数其实是无效的。

  • 为什么需要同时使用 nginx 和 puma at May 08, 2019

    有部分功能是重叠的,但是 nginx 能够提供一些更强大更便利的功能,除了楼上说的一些还有比如 HTTP2,基于路径的转发规则,重定向等等。

  • 如何看待 996.ICU at April 22, 2019

    意思是工作时间减少,企业需要雇佣更多的人,然后市场上的劳动力就会减少,劳动力变得稀缺所以工资会上涨?都在批判万恶的资本主义,然而外企基本都是 8 小时工作制。。。。

  • 一个多年 Linux 用户的 Mac 使用体验 at February 25, 2019

    Mac 有完整的生态能够兼顾到开发、办公、日常使用,Mac 要搞 AI 玩可以外接 GPU,装 docker 也很方便,在经济条件允许的情况下我还是会推荐 Mac。总之还是没有完美的设备,只有适合自己的。

  • GitLab, Docker, Ruby on Rails CI/CD 实践 at October 18, 2018

    很棒

  • GitLab, Docker, Ruby on Rails CI/CD 实践 at October 17, 2018

    我想问下日志文件是怎么处理的

  • 基于 Postgres 实现一个推荐系统 at September 20, 2018

    点赞

  • 如何用 Ruby 开发命令行工具呢? at September 20, 2018

    https://github.com/davetron5000/methadone 这只是其中一种方式

  • 负载均衡的两台服务器里的项目,如何实现 public 下的资源共享 at August 29, 2018

    负载均衡用 ip hash 的模式 这样同一个 ip 的请求会由同一个服务器处理

  • 负载均衡的两台服务器里的项目,如何实现 public 下的资源共享 at August 28, 2018

    这种资源都放到 cdn 上

  • cable wss 的问题 at August 28, 2018

    https://ruby-china.org/topics/28935

  • [上海] 悦勤信息 2018 夏秋季:诚聘 Ruby/JavaScript 手艺人 (从兼职开始) at July 26, 2018

    我觉得在本文并没有解释清楚为什么一定是 windows,这个我看楼主之前也讨论过 https://ruby-china.org/topics/35042

  • 大家都去哪里获取信息? at July 17, 2018

    握手!!现在大量的信息基本都是屎。

  • [开源项目] 二次元虚拟股市 at July 11, 2018

    ?????

  • homeland 性能怎么样? at April 19, 2018

    我看过 https://github.com/ruby-china/homeland-docker.git 这个项目里的数据库配置应该是已经配好了的 直接启动就会创建数据库

  • homeland 性能怎么样? at April 17, 2018

    db_host=postgresql

  • 想到一个 Nginx + Docker 进行热部署的方案,不知道是否有更优解 at March 26, 2018

    k8s rolling update 了解一下

  • 启用 SSL 后阿里云 OSS 出错 at March 20, 2018

    要重新申请

  • 记录一次排查 Puma 内存占用过高的问题 at March 16, 2018

    就是说在代码稳定,没有泄露的情况下,并发量一定的时候,内存占用其实是一个稳定的状态。只是说这个稳定的值可能对于机器配置来说是偏高的?

  • 记录一次排查 Puma 内存占用过高的问题 at March 15, 2018

    是不是就是说 threads 开的越多,占用的内存就会越多,但是内存并不是无限上涨,还是受 threads 数量的限制

  • 分享__水。。从开发到上线 Rails 项目自动部署 at March 14, 2018

    我们是 gitlab -> jenkins -> capistrano

  • 这两天在尝试 docker, build 完了运行不了 at March 08, 2018

    要-i 参数 先多看看文档吧

  • 服务器负载过高怎样优化? at March 07, 2018

  • 量产型炮灰工程师 at February 12, 2018

    抛开大学课程的质量不谈,最主要的是在大学阶段的学习已经从高中时的被动学习变成了主动学习,因为你有了大量自由的时间。但是当下的现状是,很多人把这些时间挥霍了,最后认为大学什么都没学到是学校教的不好。我身边是真有大学浪了 4 年,最后要找工作了发现什么都不会,赶紧报个培训班,然后出来找到了个工作的。

  • [上海] SuccessFactors (an SAP Company) 招聘 Ruby 工程师 at January 26, 2018

    Experience of NoSQL DB like mongo DB/sidekiq sidekiq😂

  • [北京] Airbnb 中国 招聘 full stack engineer/mobile engineer (长期有效, 2018 已更新) at January 17, 2018

    我们现在有一个项目就是 rails+react,就是 rails 纯提供 API,用 jbuilder 渲染。是有点为了前后端分离而分离的意思。。。

  • Puma+Nginx+Postgres 部署 Rails 项目,puma 无法启动 production 模式 at January 15, 2018

    这里推荐使用 yum 的方式来安装 nginx,yum 安装的 nginx 包括了绝大部分模块,甚至包括 http2 的模块,还有一个就是他有一个比较完善的默认配置,包括 include mime.types 这样的配置都是默认有的

  • 1
  • 2
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English