Open zeke opened 10 years ago
@zeke So you do bring up a good point in that pnpm isn't intended to be hosted on heroku, I just put it there so people could quickly interact/test pnpm. It actually is perfect for a demo since it get reset every 24 hours like you mentioned, so people can do what ever they want and I don't have to worry. Personally, I run pnpm at work on a single windows server using iisnode, so this works perfectly for me.
I was thinking about using databases other than leveldb. Do you have any ideas?
Thanks.
IIS wow. From what I gather windows + npm/node is a wild jungle. You are a pioneer. :)
I don't really have any database suggestions. They all have their benefits and drawbacks.
I was thinking about adding a postgres database backend. That way if people actually want to use heroku as their host, it will integrate nicely.
Thanks.
Heroku has an ephemeral filesystem: You can write to
/tmp
, but it doesn't last. All processes are reaped at least once every 24 hours. I see that pnpm is using leveldb for something. How does that work on Heroku?