GithubHelp home page GithubHelp logo

Comments (7)

kashif avatar kashif commented on May 30, 2024

i suspect to get it working with postgresql one would need to get the em_postgresql working with rails 3 as you rightly pointed out. The em_postgresql is using the postgres-rb pure ruby drivers which implement many but not all of the async api's to postgresql, so one would need to get that done first I suspect. I have forked the two projects and am in the process of updating them... but can not afford too much time to it, but any help would be great.

from async-rails.

igrigorik avatar igrigorik commented on May 30, 2024

John, unfortunately don't have hands on experience with the PG driver, but in theory, as long as there is a working async PG adapter for ActiveRecord 3.x, then it should be no different from the mysql example with the mysql2 gem.

Have you tried running it with em-postgres driver? This thread may help: mperham/em_postgresql#1

ig

from async-rails.

jmccaffrey avatar jmccaffrey commented on May 30, 2024

Thanks for your reply. (you're my hero by the way, I'm a big fan of all the cool performance related stuff you do)

I did read through that thread earlier today, (I should have included that in my original post) and I spent a good chunk of time today trying to get the em_postgresql driver to work with your asyc_rails project. I'll continue the discussion on that thread, as that's where the real issue lies.

from async-rails.

igrigorik avatar igrigorik commented on May 30, 2024

Sounds good. Let me know what you find, I'm sure there are others looking for same information..

from async-rails.

wtn avatar wtn commented on May 30, 2024

There's another—unrelated to Perham's—em-postgresql-adapter for ActiveRecord 3: leftbee/em-postgresql-adapter

It works with Rails 3.0.x but not 3.1.

from async-rails.

skyeagle avatar skyeagle commented on May 30, 2024

em-postgres-adapter has been fixed to work with AR 3.1

from async-rails.

igrigorik avatar igrigorik commented on May 30, 2024

Awesome! Added a link to the driver in the readme, closing this bug -- woohoo! ;-)

from async-rails.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.