Lurker News
Last February there was, in my opinion, a really uplifting thread with the same title¹. I'd like to see all the cool new things going on, and I'll steal the intro text from as89 to explain:

One where you don't care if it makes money or gets a lot of attention, but you are working on it regardless. I don't think I mean private hobbies, exactly, but projects that could or will be shared with others - you just don't care about the outcome.
¹ https://news.ycombinator.com/item?id=25992782

Comments (935) 412 threads

Show all comments

Showing thread 1 of 412

Charlieholtz13 replies#
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

jvanderbot2 replies#
HN hug of death. And well deserved, I had a great time with this one.
wsinks2 replies#
I 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!
Charlieholtz2 replies#
Damn! Sorry about that. I’m upping the servers right now. Can’t wait to hear the end of this inspirational tale :)

Continue this thread — 2 replies

0wx#
That's sound interesting, I wish the website up soon otherwise I'll just forget and moving on with my day.
melony4 replies#
Isn't elixir supposed to scale better than this?
trutannus#
Elixir probably isn't the bottleneck. The VPS instance itself, and whatever server they're using there, probably bit the dust.
meowtimemania#
Probably too many queries to the database.
tormeh2 replies#
BEAM 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.
exikyut2 replies#
> 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.

Continue this thread — 2 replies

romanbaron#
BEAM 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.

Charlieholtz4 replies#
yeah so I'm seeing a ton of "(Postgrex.Error) FATAL 53300 (too_many_connections) remaining connection slots are reserved for non-replication superuser connections", which I'm guessing means the pool size is too small? Although I've tried upping that, CPU, and memory, and none have seemed to fix it. My devops skills still aren't great so if anyone has any ideas on how to help, let me know!

This might be a good opportunity to change the server to try out fly.io

Continue this thread — 4 replies

jacob_rezi#
Shlinkedin is the best. Still yet to use our software tho :(
sizzle#
Love the hilarious emoji post options: chili, glass of milk, slap
gcampos#
Love 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#
I love it and the people that I have share it with loved too
nicbou#
I've seen it before. It's hilarious
throwawayHN378#
Aaaaaaaand you’re sued
zlib#
I'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#
Thanks, 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#
This is awesome!
WCityMike#
Wi-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#
So excellent, happy to see you're open to contributions too!
wswoodruff#
Hopefully they'll switch to Node soon so I can help too