ruby-rdf / sparql-client

SPARQL client for Ruby.
http://rubygems.org/gems/sparql-client
The Unlicense
112 stars 58 forks source link

Added Event Machine Support #20

Closed soulofpeace closed 8 years ago

soulofpeace commented 13 years ago

Not sure if it is useful or not. But in my course of work, I needed to query dbpedia many time. Therefore to speed up the process, I decided to fork the project and added Event Machine support that allows me to do asynchronous request thereby speeding up my querying process.

If it is useful, do consider merging in the master branch

Do let me know if you need further clarifications too :)

Thanks!

gkellogg commented 13 years ago

Sorry, I missed this in my recent update. Send a pull request to my clone and I'll get to it shortly. But, in any case, I don't know if we want to add hard dependencies on event machine directly. This might be better done in another gem (sparql-client-async?) which extends sparql-client to be asynchronous.

gkellogg commented 12 years ago

I merged this into my fork under the 'event-machine' branch. Please check it out. It looks like the async spec, even though it "succeeds" outputs an error.

https://github.com/gkellogg/sparql-client/tree/event-machine

no-reply commented 8 years ago

This is way out of date. Okay if I close it?

gkellogg commented 8 years ago

Yeah, if someone wants to do something like this, they can do a new PR.

artob commented 8 years ago

Yep, and it wouldn't be Event Machine we'd want to support these days.