Quote:
Originally Posted by awang
Hi kh99, Thank you for the reply!
Yes that sounds like a viable option.
Would it be reasonable to call php scripts very frequently? We want it to scale for heavy user acquisition. Unlikely as it may be for now, maybe the target can be one every second.
Currently vBulletin and our RoR app are not on the same instance. Is the scripting option still feasible with this setup, or will we have to host them on the same instance to make this work?
Another idea I read online was making a database connection to connect with the vBulletin user table.
|
I'm probably not the right person to talk about scaling, but once per second doesn't sound like a lot.
I'm not sure what you mean by instance - do you mean server? You could write a php scirpt to do what you want then call it from a RoR program on another server. The issue I see with that would be security (obviously you don't want anyone else running that script).
Connecting to the database is an option, the only issue is that you won't be able to take advantage of the vb functions. But it's a reasonable approach that I've seen other people here use.