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

Hosting osm-p2p / leveldb #8

Open
gmaclennan opened this issue Feb 29, 2016 · 1 comment
Open

Hosting osm-p2p / leveldb #8

gmaclennan opened this issue Feb 29, 2016 · 1 comment
Labels

Comments

@gmaclennan
Copy link
Member

What are the hosting options for running an osm-p2p node in the cloud? Ideally I would like to separate the storage layer from the server, so we can treat the server as ephemeral, and not have to worry about maintaining the storage side. I see that dynamodb is maybe an option using one of these leveldown modules:

https://github.com/jed/dynamo-down
https://github.com/davidguttman/dynamodown
https://github.com/mapbox/dynamodb-down

I feel a lot safer when the database is looked after by someone else, given our small server-ops team (<1)

@ghost
Copy link

ghost commented Feb 29, 2016

The servers have trivial replication and for any deployment there is going to be many redundant copies of the data, so I think you can already treat the data as ephemeral and not worry so much, even if the data is sitting on a hosted server. I think the simplest thing is to run an osm-p2p node on a cheap commodity hosting provider like digital ocean, ec2, slicehost, or something like that. It is very easy to spin up a db and replicate the data to one of those instances, but it seems much more involved to run a node over dynamodb.

More experimentally, I have been working on some techniques for hosting data without servers: https://github.com/substack/swarmlog and https://github.com/substack/swarmbot

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

1 participant