Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discuss the merits of having the bot be polyserver as well as the implications therein #43

Open
wraithan opened this issue Mar 2, 2012 · 5 comments
Labels
Milestone

Comments

@wraithan
Copy link
Member

wraithan commented Mar 2, 2012

SEPoCoNi will be a good start. I'll toss notes in here.

@wraithan
Copy link
Member Author

wraithan commented Mar 2, 2012

Polyserver looks pretty easy on the surface, but the problem comes when you have anything channel specific in your services. You then have to check both the server and the channel, as well as always sending back the server when you reply to something. External services also need to know what you call the server.

On the other hand it lets you run a single bot against multiple servers using one set of services and a single redis db. This may not outweigh the complexity overhead.

@hackervera
Copy link

I vote one bot per server, but have a system for controlling bot processes

@wraithan
Copy link
Member Author

wraithan commented Mar 2, 2012

Well, for each bot process, I'd be instantiating it once per server and keeping it in a list. So they'd be separate sub processes, and manageable in that way.

@wraithan
Copy link
Member Author

wraithan commented Mar 2, 2012

Closing this, going with one bot per server for now until there is demand for otherwise.

@wraithan
Copy link
Member Author

Ok, going to add polyserver to the API, but not actually make the bot work with it. This may be slightly confusing but what it does is make it so you can run multiple instances of the bot that know what server they are running against, but only a single set of services. Also it means someone could make a polyserver bot that handles it all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants