Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Hooopo
@hooopo
管理员
第 8 位会员 / 2011-10-28

[email protected]
nil
北京
160 篇帖子 / 3013 条回帖
360 关注者
0 正在关注
74 收藏
聪明的妖怪录下了唐僧的紧箍咒
打赏作者
GitHub Public Repos
  • oh-my-github-circles 47

    GitHub User Circle Generator Using GitHub Actions

  • hackernews-insight 21

    Hackernews Insight using TiDB Cloud

  • repo-track-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any repository to your da...

  • oh-my-github-pipeline 6

    🔄 A flexible open-source data pipeline for seamlessly syncing data from any github user to your d...

  • chatgpt-xiaoai 3

    小爱音箱集成LLM,SaaS 服务

  • repo-contributor-circles 1

    GitHub repo contributor circles generator.

  • ossinsight-x 1

    Automatically post trending repos to Twitter every day.

  • mi-service 1

    XiaoMi Cloud Service for mi.com

  • hooopo 0

  • streamlit-echarts-demo 0

    Demo for Streamlit ECharts component

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • PostgreSQL 接近 6 亿条记录,加了索引,查询效率优化问题? at 2015年01月22日

    优化方式有很多啦,也不用分表。

    比如 summary 表,定期按需把聚合数据导入到一个新表,在新表里做统计分析。使用 group by + select into 或简单的 ETL 倒一次很快的。

    PS. 一般用来分析的表,时间也不这么存,只存到天,甚至存 date_id。

  • 建议大家尽早应用验证码 at 2015年01月22日

    #17 楼 @chrisloong 登录啊 想看看验证码。。。在哪里

  • 建议大家尽早应用验证码 at 2015年01月22日

    服务器出现了一点小问题!

  • PostgreSQL 接近 6 亿条记录,加了索引,查询效率优化问题? at 2015年01月22日

    看看查询语句咯

  • [已解决] 服务器出错怎样 debug? 思路是怎样的? at 2015年01月22日

    思路是尽量别让服务器出错,尽早在 dev 和 staging 环境把问题暴露出来...

    如果还是出错了,建议 exception notify、remote pry

  • Mac Air 没插电情况下无法启动 at 2015年01月20日

    十万个为什么

  • Ruby 自学书单 at 2015年01月20日

    #38 楼 @yue ok.

  • Ruby 自学书单 at 2015年01月20日

    #34 楼 @yue 没看过,那个 repo 里都是很老的电子书。Enterprise Rails 我觉得不错,讲了一些平时接触不多的思路,有在线版:http://dan.chak.org/enterprise-rails/

  • 来来来 觉得自己特别擅长做程序猿 / 媛的来回个帖 at 2015年01月19日

    看不懂

  • Ruby 自学书单 at 2015年01月19日

    #29 楼 @ruby_sky updated.

  • Ruby 自学书单 at 2015年01月19日

    https://github.com/mangochiman/RUBY-ON-RAILS-BOOKS-

  • 为什么 Ruby on Rails 使用 PostgreSql 作为生产环境首选的数据库系统? at 2015年01月17日

    是 Prime Stack 的首选啊!

  • ruby1.8.7 如何安装 nokogiri at 2015年01月17日

    有这时间都把 Ruby 升级完了

  • 如果有很多图文混排的文章作种子数据 at 2015年01月17日

    seed dump

  • 求教:Rails 的编码问题 at 2015年01月17日

    #5 楼 @lmorenbit 没用缓存插件就是 rails 自身的 bug 了 建议换 4.1 试试。因为 4.2 type cast 改动比较大……

  • 求教:Rails 的编码问题 at 2015年01月17日

    #3 楼 @lmorenbit 用缓存没

  • 求教:Rails 的编码问题 at 2015年01月17日

    rails 4.2?

  • Sidekiq:导致 Frozen Worker 的两个风险 at 2015年01月16日

    #7 楼 @huacnlee 是的。unicorn 文档里对这个强调了好多次。。。还有一个常见的陷阱,把外部调用写在 after_save/update 之类 callback 里,导致事物长时间不关闭。

    • 所有外部调用一定要设 timeout.
    • 外部调用一定要 after_commit.
  • [已解决][Rails + devise] App 保存 Session 好,还是像 ruby china 为每个 user 生成 token_id 好? at 2015年01月14日

    #6 楼 @qige023 那是你不理解 jwt

  • [已解决][Rails + devise] App 保存 Session 好,还是像 ruby china 为每个 user 生成 token_id 好? at 2015年01月14日

    jwt

  • [上海][2015年01月20日] 2015年 第一次月中聚会 技术聚会 at 2015年01月14日

    顶。。

  • 多线程使用 Redis gem 时遇到的性能问题 at 2015年01月14日

    无度量,不优化。 谢谢

  • Ruby-China 的会员们能合力做点什么商业项目吗? at 2015年01月13日

    #3 楼 @est you got it.

  • AngularJS 为什么成功了? at 2015年01月13日

    用 Rails,你就是 Rails 开发者。用别的,你是 Ruby 开发者^_^

  • test at 2015年01月13日

    Awesome!

  • [北京 / 远程] 墨刀 (MockingBot) 招聘 Rails 全栈工程师 at 2015年01月12日

    墨刀,还以为是一种货币

  • 900w 条记录的数据表,怎么 select? at 2015年01月11日

    大概是统计最近一周每天产生多少记录吧 好多解法,最简单的就是在 time 上加索引 然后把 curdate 函数去掉 order 也去掉

  • [远程] 福利 Groupon 招聘高级研发工程师 提供 L-1 Visa at 2015年01月11日

    #14 楼 @moyerock ⊙_⊙

  • 怎么查 Rails 应用的灵异问题? (结帖,问题解决,但具体原因不清楚) at 2015年01月11日
    1. unicorn 有单独的 error log,不知道 puma 有没有,可以看看那个日志
    2. 压力测试不反应真实情况,newrelic 按上试一下,免费版的就可以
    3. 检查一下外部请求和服务,包括 redis memcache 等
  • 上一页
  • 1
  • 2
  • …
  • 34
  • 35
  • 36
  • 37
  • 38
  • …
  • 108
  • 109
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English