5 ms·
Might be interesting to people here: this blog is hosted on Repl.it on a single repl/container[1] (2GB memory, 2vCPUs[2]) that's also powering IDE functions lik
by amasad 7y ago
Might be interesting to people here: this blog is hosted on Repl.it on a single repl/container[1] (2GB memory, 2vCPUs[2]) that's also powering IDE functions like editing, collaboration, chat, intellisense, etc.
We're able to fix typos and bugs and have it live-deployed as it's serving traffic. I recorded a gif here of what it looks like from the inside: https://twitter.com/amasad/status/1235742525056380929 https://twitter.com/amasad/status/1235742525056380929
Where is the fabled "hackernews hug of death" if a tiny container can handle the traffic? :-)
[1] https://repl.it/@turbio/replit-blog https://repl.it/@turbio/replit-blog
[2] https://repl.it/site/pricing https://repl.it/site/pricing
- thunderbong 7y agoThis should be upvoted more! For reference the other HN post and the comments therein - "Let’s use Kubernetes. Now you have eight problems" - https://news.ycombinator.com/item?id=22491170 https://news.ycombinator.com/item?id=22491170
- Ultimatt 7y agoWhere do I go to add language support? Given you have BrainFuck and LOLCODE but not Perl.
- masfrost 7y agohttps://repl.it/perl6 https://repl.it/perl6 If that stops working it means we moved it to https://repl.it/raku https://repl.it/raku Check it out. It's not actively supported but we hope to make it official soon
- lizmat 7y agoIt appears to me that both Perl 6, as well as Raku, are NOT supported at repl.it (anymore)
- raiph 7y agoThey got the URL wrong. https://repl.it/python https://repl.it/python 404s and I rather suspect they support python. ;) https://repl.it/languages/perl6 https://repl.it/languages/perl6 and https://repl.it/languages/raku https://repl.it/languages/raku both work. :) They're both 2019.03.1 so their "raku" is presumably raku in name only. (Eg doesn't support $*RAKU etc.) Be nice to see it upgraded to a real 2020 raku.
- tyil 7y agoThat looks like the previous version shipped with Rakudo Star. A new version was published a very short while ago, so perhaps they will update to 2020.01 soon enough.
- lonelappde 7y agoHug of death is for non static content. And sometimes people unnecessary dynamically generate their static content.
- amasad 7y agoUnfortunately we fall into that bucket. It's a dynamic app :-)
- neop1x 7y agoYou are not using PHP for every request
- amasad 7y agoEven worse. Using node.js