Displaying 1 result from an estimated 1 matches for "chater2".
Did you mean:
chapter2
2006 Sep 22
1
how about the global data when multiple backgroundrbs ?
Ezra,
Suppose a chatroom application, a RailsApp + 2 backgroundrbs: MiddleMan1&
MiddleMan2, running in 2 machines.
When Chater1 login, RailsApp call MiddleMan1 to get something about
Chater1 from db to memory, like his contacts or other personal settings.
When Chater2 login, RailsApp call MiddleMan2 do the same thing.
But who is reponsible for the Global Data? like a Online Chaters List, or
Active Chat Room List ?
I think, for the MiddleMan1 & MiddleMan2 located in different machines,
global data should not be there.
So global data in RailsApp as Gl...