11 Feb, 2011, Runter wrote in the 1st comment:
Votes: 0
I recently had the idea to design a barebones mud codebase design to work with heroku. For those who don't know what heroku is, it's a cloud computing solution for Ruby that makes deployment really easy by pushing via git to heroku. So the interesting part is it's industrial quality for free basically. Under a certain resource load. The real sticking point is you have to pay for more database-space. Basically it's free for under 5 megabytes of database space. Which surprisingly goes a lot way for development purposes. Beyond that you just have to pay a monthly fee for more space. But the idea is new developers would have a place to deploy and toy around with, and eventually scale up the resource requirements to any level they need. The rates are actually very reasonable. So in the next week or so I might upload a proof of concept if anyone is interested using a basic echo server for tcp connections.

Edit by kiasyn: fix link
11 Feb, 2011, Idealiad wrote in the 2nd comment:
Votes: 0
It's a great idea, my only question is how Heroku (primarily used for web apps, right?) will handle a mud server; are there significant differences in implementation?

Fun fact, one of the co-founders of Heroku, Adam Wiggins, developed Blood Dusk mud, probably one of the top five muds I've ever played.
11 Feb, 2011, Runter wrote in the 3rd comment:
Votes: 0
Yeah, Heroku pretty much exclusively supports only web apps because the flow of deployment is so streamlined for web apps. It gives you very little administrative flexibility. You get no permissions to write files. Everything must be pushed then it's ran in an environment with few permissions on the file system. You make changes and push them with git, and it runs it automatically. It depends on the program being a "rack app" so it must be designed around that. Generally all Ruby web frameworks use Rack as the core component.
12 Feb, 2011, Runter wrote in the 4th comment:
Votes: 0
http://docs.heroku.com/constraints

So from my understanding of the constraints (and the ToS) I see no reason why a non-web-app couldn't work.
12 Feb, 2011, Runter wrote in the 5th comment:
Votes: 0
Cancelled. Because of the way heroku works it's impossible. :(
12 Feb, 2011, Runter wrote in the 6th comment:
Votes: 0
Runter said:
Cancelled. Because of the way heroku works it's impossible. :(


The precise reason this is impossible is because of the way the heroku router works. The inside port must be arbitrary which it maps to 80. So I thought maybe I could use port 80 for the mud port. Nope, it terminates any "hanging" connection over around 15 seconds. So about 15 seconds of mud is all I was able to get out of it. :)
0.0/6