Live data from Hacker News

AppHarbor (YC W11) launches add-on ecosystem using Heroku's (YC W08) API

blog.appharbor.com

11–19 of 19 posts

Re: AppHarbor (YC W11) launches add-on ecosystem using Heroku's (YC W08) API

#11
post #8
post #5

Earlier quoted context omitted.

But Redis should have at least as much RAM as you have data and will only use the data from RAM. You cannot swap or store it on a slower disk, while Mongo can use a disk file. Redis can backup or journal to disk, but this is just so the data is persistent between restarts, not used in queries or runtime. * Updated based on comments: I originally wrote that redis requires as much ram as data (technically more) but I'm…

This is incorrect. Redis can swap out to virtual memory when it runs out of RAM. Although, it should be leveraged with some care ( http://news.ycombinator.com/item?id=2606096 )

Thank you for the link. I actually do remember reading that, and I guess I completely forgot it was even possible. After reading about it, I told myself that redis will be in-memory only for the solution I was using it for. I'd definitely be curious to see some real world performance numbers for redis using the disk VM before considering it an option.

Re: AppHarbor (YC W11) launches add-on ecosystem using Heroku's (YC W08) API

#13
post #10

Earlier quoted context omitted.

Ah okay, that makes a lot more sense. Not sure who downvoted you but thanks for explaining it.

I did because it was wrong.

Technically it was wrong but practically it was not. see: http://news.ycombinator.com/item?id=2606096

In particular: "I trust Redis-on-disk every day less." --antirez (author of redis)

which he then qualifies in the comments as some slim use-case where it makes sense to have redis persist data to disk.

In short, it's not the intended use-case and you damned well better know what you are doing.

Re: AppHarbor (YC W11) launches add-on ecosystem using Heroku's (YC W08) API

#14
Nice that they have add ons and pricing for them but I wish they'd sort out their own preliminary prices first...

http://appharbor.com/page/pricing

Until there is solid pricing and a decent story around support it's very hard to use for anything that matters.

Re: AppHarbor (YC W11) launches add-on ecosystem using Heroku's (YC W08) API

#15
Am i the only one who doesn't understand why someone should use a memcache/redis instance hosted by a third party?

I've never used this kind of services but the first impression is that just the RTT between your server and the third party's one will have a huge impact performance-wise, removing every advantage you could have from the use of these DBs.

And what about security? Are memcache/redis/mongoDB/etc... made to be exposed to the public internet (requests content and format are carefully inspected by the server and during development, the implementation have been tested carefully with fuzz testing or similar techniques) or these hosted solutions add an additional layer that increases security/safety?

These issues could be mitigates (not resolved) when both parties are on the same platform, but not everyone is on EC2/Heroku.

Re: AppHarbor (YC W11) launches add-on ecosystem using Heroku's (YC W08) API

#16
post #15

Am i the only one who doesn't understand why someone should use a memcache/redis instance hosted by a third party? I've never used this kind of services but the first impression is that just the RTT between your server and the third party's one will have a huge impact performance-wise, removing every advantage you could have from the use of these DBs. And what about security? Are memcache/redis/mongoDB/etc... made to…

[deleted]

Re: AppHarbor (YC W11) launches add-on ecosystem using Heroku's (YC W08) API

#17
post #15

Am i the only one who doesn't understand why someone should use a memcache/redis instance hosted by a third party? I've never used this kind of services but the first impression is that just the RTT between your server and the third party's one will have a huge impact performance-wise, removing every advantage you could have from the use of these DBs. And what about security? Are memcache/redis/mongoDB/etc... made to…

At least in the case of Cloudant (CouchDB) the servers are in the same facility as AppHarbor.

http://blog.cloudant.com/dot-net-couchdb-cloudant-appharbor/

Post reply on HN