Thursday, September 24, 2015

Sequel vs Active Record ORM Benchmark on PostgreSQL

  • OSX Yosemite version 10.10.5
  • MacBook Pro (Mid 2010)
  • Processor 2.66 GHz Intel Core i7
  • 8GB 1067 MHz DDR3
  • Storage: SSD
Rbenv, Ruby and PostgreSQL version:
  • Rbenv 0.4.0-148-g5b9e4f0
  • Ruby 2.2.2p95
  • PostgreSQL 9.4.1 with default configuration
Benchmarking Tool: simple_orm_benchmark

Friday, September 11, 2015

How Do I Make Google Analytics Working With Turbolinks 3

One of websites uses full page caching and it has very good performance. But I want to make it faster by putting Turbolinks to my website. With Turbolinks, the browser will not recompile my Javascript and CSS each page change and speed up my website.

But the other problem occur. The problem is Google Analytics always send pageview for same URL because of Turbolinks does not recompile javascript from Google Analytics

Sunday, August 9, 2015

How Do I Deploy Discourse with Mina

First of all, you should follow official Docker-based installation guide to deploy your Discourse. I use mina to deploy my Discourse to my VPS because it's easier and faster for me.

© Railsmine