Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhgg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
jhgg
4y ago
At Discord, we maintain long lived web-sockets, and need to be able to deploy our real-time elixir based services (which runs on the BEAM VM just like Erlang) without any disruption to user traffic. To do so, we've built an application
122.
▲
by
jhgg
4y ago
Competition is great - sure, but I want to know what Deno gives me over its competitors.
123.
▲
by
jhgg
4y ago
Deno deploy seems cool and all, but I haven't seen any great rationale for using their service over say Cloudflare Workers.
124.
▲
by
jhgg
4y ago
They're not down worldwide, we're still seeing traffic from some POPs, but it looks like a majority of their POPs are dead. This feels like a bad config push.
125.
▲
by
jhgg
4y ago
You should read the whole article, because TMO does differ from traditional swapping. Notably, swapping usually occurs during periods of extreme memory pressure, where as TMO will offload memory much sooner and more intelligently.
126.
▲
by
jhgg
4y ago
The key difference however being that finalization of an object is guaranteed when it falls out of scope, and not at the whims of when the garbage collector decides to run. It would be a nonsensical idea to leave up to the garbage collector
127.
▲
by
jhgg
5y ago
We use Elixir + Rust in a few select places. But the majority of our Rust code is services that are purely written in Rust. We use Rust over Go, not only because of the garbage collection issues, but because it's truly a better languag
128.
▲
by
jhgg
5y ago
Yes we are using rust in a big way. We have multiple teams now full time working on Rust. It is being used on both the client and server, as native modules, web assembly, and also native rust services and NIFs that embed themselves in our e
129.
▲
by
jhgg
5y ago
At Discord our entire real time system is built ontop of Elixir. Everything is an "actor" in that model. Every single Discord server, websocket connection, voice call, screenshare, etc... distributed using a consistent hash ring.
130.
▲
by
jhgg
5y ago
Yeah? You can't really spoof TCP connections... unless you are talking about doing a BGP hijack. Can you elaborate more on this?
131.
▲
by
jhgg
5y ago
We suffered from similar issue to Spotify. Traffic Director pushed a mostly empty configuration to envoy. Very frightening indeed. It continued to push that invalid configuration over the course of the outage.
132.
▲
by
jhgg
5y ago
Celery is not great. At my place of work we begrudgingly are using it right now, with plans to replace it with something else this year. I am at the very least amazed we got this much use out of it. Considering replacing it with a much much
133.
▲
by
jhgg
5y ago
It allows for things like https://docs.rs/typed-html/latest/typed_html/ to exist.
134.
▲
by
jhgg
5y ago
I mean in the same event that you list, Elon literally opens with: "Tesla is much more than an automotive company, and we have lots of deep AI activity..." I think it is fair to say that a company that is literally inventing its
135.
▲
by
jhgg
5y ago
I committed a fix, it's now 24k uncompressed! :)
136.
▲
by
jhgg
5y ago
We try to grab the first frame to show a preview. But if we can't for whatever reason, that's when the sad poop appears :(
137.
▲
by
jhgg
5y ago
This is how the video element works in chromium. I suspect it looks at the same metadata field. Beyond leading to a bit of absurd UI state though it's not the same kind of issue that this post describes, which deals with trying to tran
138.
▲
by
jhgg
5y ago
We don't transcode video, so no.
139.
▲
by
jhgg
5y ago
They mention a $1,500 budget per month but then omit things critical to understanding how they achieve that cost point. What is actually more interesting is to understand what portion is spent on servers versus bandwidth - and what hardware
140.
▲
by
jhgg
5y ago
Upstream blockers in scylla + its our biggest dataset, and is a quite large project.
141.
▲
by
jhgg
5y ago
We're well over 12 nodes in current year :P
142.
▲
by
jhgg
5y ago
Yea. Everything but messages is on Scylla.
143.
▲
by
jhgg
5y ago
So, in guincorn default mode (sync), the mode I'm assuming you're using. This means you really have 1 process handling 1 request at a time. The "thundering herd" problem really only applies to connection acceptance. Whic
144.
▲
by
jhgg
5y ago
Our app is also a messaging app. So lots of small & fast responses.
145.
▲
by
jhgg
5y ago
This is somewhat suspect. At my place of work, we operate a rather large Python API deployment (over an order of magnitude more QPS than the OP's post). However, our setup is... pretty simple. We only run nginx + gunicorn (gevent react
146.
▲
by
jhgg
5y ago
Still can't beat the speed of light...
147.
▲
by
jhgg
5y ago
A pass-through mode where we disable all audio processing is on the roadmap, for those with really good setups that don't need the post-processing :)
148.
▲
by
jhgg
5y ago
Plain ole bit torrent. Run some seed nodes on dedicated hardware with unmetered bandwidth. It'll get you pretty far.
149.
▲
by
jhgg
5y ago
This is a ridiculous post. My full time job is writing Rust for large-scale production systems. The language is great - and as an organization we're doubling down on our investment in Rust this year.
150.
▲
by
jhgg
5y ago
We'll fix this. Looks like we missed a few references to the old status domain! :)
More ›