Comments (7)
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.
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.
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.
Sounds good. Let me know what you find, I'm sure there are others looking for same information..
from async-rails.
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.
em-postgres-adapter has been fixed to work with AR 3.1
from async-rails.
Awesome! Added a link to the driver in the readme, closing this bug -- woohoo! ;-)
from async-rails.
Related Issues (17)
- no such file to load -- em/iterator HOT 13
- Failing with last version of em-synchrony HOT 2
- Rails 3.1 assets `stack level to deep` HOT 5
- `resume': fiber called across threads (FiberError) HOT 7
- eventmachine not initialized: evma_attach_fd HOT 6
- async-rails works not well with connection pool HOT 5
- When using the em gems, this project will error out if using Rails 3.2 or greater HOT 3
- Fiber Pool: [BUG] Bus Error HOT 1
- RackTimeout Blows up Thin in Async-Rails
- Rails 4 async HOT 3
- Not updated for Rails 3 stable? HOT 6
- Configuration Question HOT 3
- test with rainbows HOT 1
- heroku eventmachine HOT 2
- /twitter is erroring out with undefined method `[]' for false:FalseClass HOT 4
- ActionView::FileSystemResolver into String HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from async-rails.