Re: SWI-Prolog on dotCloud
Michael Hendricks <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAFHuXuag6=S0BEtu-ZTNNFQz8n0pDZOmnL8SsWBwF7oGvEm6JQ@mail.gmail.com> |
Yes, dotCloud is a good fit for a TCP server. I haven't done it myself, but it's a common use case there. The docs are at http://docs.dotcloud.com/guides/build-file/#ports-custom-ports They don't yet support TCP load balancing out of the box (like they do for HTTP), but they have examples using HAProxy for that purpose. Depending on your application, scaling up computation can be as easy as "dotcloud scale foo=4" Now you have 4 server instances. -- Michael On Thu, Oct 24, 2013 at 3:41 PM, Alan Baljeu <[email protected]> wrote: > I'm not yet doing cloud, but I'm interested. I have an SWI program that > operates a TCP server which accepts one client. Is this the kind of thing > that's suited for dotCloud? Is this also a means of scaling up computation > on a problem? > > Alan Baljeu > > > On Thursday, October 24, 2013 5:25:14 PM, Michael Hendricks < > [email protected]> wrote: > dotCloud is a convenient, scalable hosting service (similar to Heroku). > I > just finished writing the reusable infrastructure needed to run SWI-Prolog > web services on their servers. The repository is at > https://github.com/mndrix/swi-prolog-on-dotcloud and can be reused as a > git > submodule. > > A small hello world app is running on a cheap 32MB instance at: > http://helloswipl-mndrix.dotcloud.com/ > > Enjoy! > > -- > Michael > -------------- next part -------------- > HTML attachment scrubbed and removed > _______________________________________________ > SWI-Prolog mailing list > [email protected] > https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog > > > -------------- next part -------------- HTML attachment scrubbed and removed