5 ms·
I built a satirical social network called shlinkedin. It started as a way for me to learn elixir and make fun of thought leadership with my roommate, and has gr
by Charlieholtz 5y ago
I built a satirical social network called shlinkedin. It started as a way for me to learn elixir and make fun of thought leadership with my roommate, and has gradually gotten bigger. It’s all open source and a ton of fun to work on. Everyone is an alter ego (think Beff Jezos or Office Spider), and it’s hilarious to see how much people commit to the characters they create. And I can’t say enough good things about working with elixir / phoenix liveview. Definitely a steep learning curve for me (I’d never used a functional language before), but payoff is huge.
https://www.shlinkedin.com https://www.shlinkedin.com
- wswoodruff 5y agoHopefully they'll switch to Node soon so I can help too
- jvanderbot 5y agoHN hug of death. And well deserved, I had a great time with this one.
- wsinks 5y agoI was SO CLOSE to finishing the tale about the Officer Spider who ended up free his former employee of his biggest constraint, TIME, but... then it crashed. I really want to finish that story!
- Charlieholtz 5y agoDamn! Sorry about that. I’m upping the servers right now. Can’t wait to hear the end of this inspirational tale :)
- josefrichter 5y agoI’d be curious to hear what went wrong and took the server down. Elixir apps usually handle these traffic spikes just fine.
- jtmarmon 5y agoShould've built it in elixir, I heard it's webscale
- 0wx 5y agoThat's sound interesting, I wish the website up soon otherwise I'll just forget and moving on with my day.
- melony 5y agoIsn't elixir supposed to scale better than this?
- trutannus 5y agoElixir probably isn't the bottleneck. The VPS instance itself, and whatever server they're using there, probably bit the dust.
- meowtimemania 5y agoProbably too many queries to the database.
- tormeh 5y agoBEAM is not fast. You're probably going to get better performance with Node.js. It is however really really low-latency. But that doesn't help with handling load. Anyway, even so I'd guess bandwidth or the database is the issue.
- romanbaron 5y agoBEAM is not fast when it comes to CPU intensive workloads. "Better performance" has many dimensions, in many (most?) scenarios of web serving the bottleneck is latency to other services (i.e. Postgres) and not the processing of the web server, like you suspect in this case as well. BEAM/Erlang/Elixir's main advantage IMHO is parallelism and "cheap" concurrency that's easy to wrap one's head around. It reuses multiple cores, and processes (lightweight threads) are both cheap (smaller stack size, per-process GC) and easy to get right (due to immutability of data structures and supervision). Also you'll get less spiky latency even under high load. Node.js main advantages are the breadth of the library ecosystem, industry familiarity and its JIT compiler (if used correctly). At the cost of more setup one can also run an instance per core if they care for parallelism. So I'd suggest that with BEAM he'd get quite a good performance both in terms of developer time and in serving many (network bound) requests on a multicore machine.
- exikyut 5y ago> BEAM is not fast > It is however really really low latency I've been interested in Erlang for a while, and reading this is intriguing. Taken literally the above makes no sense :) but it also kind of... does, sort of, and I would like to understand how this works.
- tomcat27 5y ago
- jacob_rezi 5y agoShlinkedin is the best. Still yet to use our software tho :(
- sizzle 5y agoLove the hilarious emoji post options: chili, glass of milk, slap
- gcampos 5y agoLove shlinkedin and I think you have a shoot of making it successful. Not "the next Google" kind of successful, but could be at least a life style business.
- mocmoc 5y agoI love it and the people that I have share it with loved too
- nicbou 5y agoI've seen it before. It's hilarious
- throwawayHN378 5y agoAaaaaaaand you’re sued
- zlib 5y agoI'm also starting to learn elixir/phoenix liveview and seeing shlinkedin's code is a great help for figuring out how you've done certain things, thanks!
- shrubby 5y agoThanks, had a blast there for a while. Nice alternative to trolling in LinkedIn, which I've done as well. A crapton of stiffies in the latter one.
- wilsonjholmes 5y agoThis is awesome!
- WCityMike 5y agoWi-fi enabled hot sauce. I did not know so much satire could be packed into four words. That's satire-rich semantics, right there. SatiricWeb3.
- jawmes9 5y agoSo excellent, happy to see you're open to contributions too!