5 ms·
I'm wondering why repls aren't expensive to host. Is there a virtual machine running all the time for each repl? Do they swap out idle repls somehow?
by skybrian 9y ago
I'm wondering why repls aren't expensive to host. Is there a virtual machine running all the time for each repl? Do they swap out idle repls somehow?
- amasad 9y agoRepls are container-based. We control how much resources each repl can use and so we can control how it much it costs. We do swap out idle repls and wake them up on the first request that comes in (heroku style).
- sgslo 9y agoHow do you start up these containers so quickly anyways? Do you keep some running hot, or delegate the startup to something like amazon's ECS? I've long wanted to run integration tests en masse in containers, but never figured out how to solve issues around long startup times.
- amasad 9y agoYes we do container pooling. We do all the container manaegment ourselves. Using services like ECS will generally be slower.
- sytse 9y agoIs the wake up on first request code open source by any chance? Would love to reuse for GitLab.
- stale2002 9y agoI'm pretty sure that they ARE expensive to host. That's why they charge money now I think.
- amasad 9y agoWe've been charging money for a while and have customers. See https://repl.it/site/pricing https://repl.it/site/pricing The repl itself is free though (unless you want private projects you can pay, kind of like Github).