Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Hooopo
@hooopo
Admin
NO. 8 / 2011-10-28

[email protected]
nil
北京
160 Topics / 3013 Replies
360 Followers
0 Following
74 Favorites
聪明的妖怪录下了唐僧的紧箍咒
Reward
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
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • PostgreSQL 接近 6 亿条记录,加了索引,查询效率优化问题? at January 22, 2015

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

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

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

  • 建议大家尽早应用验证码 at January 22, 2015

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

  • 建议大家尽早应用验证码 at January 22, 2015

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

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

    看看查询语句咯

  • [已解决] 服务器出错怎样 debug? 思路是怎样的? at January 22, 2015

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

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

  • Mac Air 没插电情况下无法启动 at January 20, 2015

    十万个为什么

  • Ruby 自学书单 at January 20, 2015

    #38 楼 @yue ok.

  • Ruby 自学书单 at January 20, 2015

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

  • 来来来 觉得自己特别擅长做程序猿 / 媛的来回个帖 at January 19, 2015

    看不懂

  • Ruby 自学书单 at January 19, 2015

    #29 楼 @ruby_sky updated.

  • Ruby 自学书单 at January 19, 2015

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

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

    是 Prime Stack 的首选啊!

  • ruby1.8.7 如何安装 nokogiri at January 17, 2015

    有这时间都把 Ruby 升级完了

  • 如果有很多图文混排的文章作种子数据 at January 17, 2015

    seed dump

  • 求教:Rails 的编码问题 at January 17, 2015

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

  • 求教:Rails 的编码问题 at January 17, 2015

    #3 楼 @lmorenbit 用缓存没

  • 求教:Rails 的编码问题 at January 17, 2015

    rails 4.2?

  • Sidekiq:导致 Frozen Worker 的两个风险 at January 16, 2015

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

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

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

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

    jwt

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

    顶。。

  • 多线程使用 Redis gem 时遇到的性能问题 at January 14, 2015

    无度量,不优化。 谢谢

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

    #3 楼 @est you got it.

  • AngularJS 为什么成功了? at January 13, 2015

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

  • test at January 13, 2015

    Awesome!

  • [北京 / 远程] 墨刀 (MockingBot) 招聘 Rails 全栈工程师 at January 12, 2015

    墨刀,还以为是一种货币

  • 900w 条记录的数据表,怎么 select? at January 11, 2015

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

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

    #14 楼 @moyerock ⊙_⊙

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