Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhgg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
211.
▲
by
jhgg
7y ago
SO is really not a great example of a high traffic site. 5500 req/sec of mostly read only traffic is not that crazy at all, and their hardware footprint is incredibly over-provisioned for the workload. I don't really think their e
212.
▲
by
jhgg
7y ago
Looking at the videos, it looks like the camera opens when the main view is swiped to the right. And you can see a ~300ms delay between when he swipes down and when the camera starts. This makes sense, because the way you open the story fea
213.
▲
How Discord achieves native iOS performance with React Native
(blog.discordapp.com)
5 points
by
jhgg
7y ago
|
0 comments
214.
▲
by
jhgg
7y ago
Chrome does something like this, you can learn more about it here: https://codereview.chromium.org/6286072/
215.
▲
by
jhgg
7y ago
This is pretty interesting. At work we run a few dozen cache nodes serving several million QPS during peak. We were debating switching some of this workload to memcached from redis - but this may be a viable alternative.
216.
▲
by
jhgg
7y ago
Although not in Erlang, Discord uses Elixir which runs on the BEAM VM to much success as well for our real time distributed system as well as VOIP signaling components. Looking back years later - it’s safe to say we wouldn’t have chosen any
217.
▲
by
jhgg
7y ago
>My impression would be that an aged account with a good reputation would be held to much less scrutiny than a new account, regardless of my method of accessing the service. "Good" accounts turn bad pretty quick. We have some b
218.
▲
by
jhgg
7y ago
No, I don't believe that adding the ability to reduce the security of your account is necessarily a good idea.
219.
▲
by
jhgg
7y ago
We are not aware of non-compliance with the OpenSSL license. We attribute usage of OpenSSL in our licenses page (along with all the other OSS projects we use.) https://discordapp.com/licenses - reproducing the copyright not
220.
▲
by
jhgg
7y ago
Hey. I work at Discord - and actually, this system is a thing I work on - and code my team wrote caused your account to be locked. If my team is doing a good job, you won't notice us. If we're doing a bad job, you might get some s
221.
▲
by
jhgg
7y ago
I think this nets to a < 0.01% delta to our bill. Is this really that big an issue in practice? For hobbyist projects, maybe? But for larger customers, this is a drop in the ocean. I actually think this is a (somewhat) smart move. It i
222.
▲
Investigating Discord’s React Memory Leak
(blog.discordapp.com)
5 points
by
jhgg
7y ago
|
0 comments
223.
▲
by
jhgg
7y ago
I don’t think anyone actually runs nightly against what’s on the latest / master. I know at work, we use nightly rust, but we pin to a specific date release, usually when the around latest stable is cut.
224.
▲
by
jhgg
7y ago
The cloud component is only for synchronization of passwords between devices. No network connectivity is required otherwise.
225.
▲
by
jhgg
7y ago
Yes, and my point is, if the client is connecting to a redis server, it can just run MONITOR to see all the "sensitive" data you are talking about, and thus, this new feature poses no additional privacy risk. If you cannot trust y
226.
▲
by
jhgg
7y ago
What? MONITOR is a command like all other commands - you can run it from a client, or really, anything that can establish a TCP a connection to the Redis server. (Eg telnet.).
227.
▲
by
jhgg
7y ago
No more risk than using MONITOR.
228.
▲
by
jhgg
7y ago
Cloudflare took us down this morning, but also shielded us from the impact of this fiber cut, due to direct peering with google (I’m assuming over different fiber paths.)
229.
▲
by
jhgg
7y ago
We do rollups into bigquery where we have a bunch of dashboards to look at stuff historically. I did really like Kibana, ultimately, we had to ditch it (because of ditching ES). Of course, this was a good thing, as I more than once degraded
230.
▲
by
jhgg
7y ago
We use a rather bespoke syslog -> clickhouse log sink ( https://github.com/discordapp/punt/tree/clickhouse ) we wrote in house because logstash (and then subsequently elastic starch) was too slow. Would love
231.
▲
by
jhgg
7y ago
Running Redis on GCP? I’ve seen CPU and latency spike on our production Redis nodes before - solely due to noisy neighbors causing memory bandwidth contention.
232.
▲
by
jhgg
7y ago
>GuardScript is usefull when Subressource integrity is not feasible or not implemented, which is most of the time for SaaS services. Can you explain what this means?
233.
▲
by
jhgg
7y ago
This data structure has been operating in production for almost a year now, we have not touched it for any modification after writing and deploying it. We had 0 issues deploying it, and thanks to the comprehensive testing suite and benchmar
234.
▲
by
jhgg
7y ago
ETS has no facility to insert/remove an object and get the index at which the object was inserted to/removed from. This is needed in order to synchronize windows within the sorted set to our clients. We would have loved to use ETS
235.
▲
by
jhgg
7y ago
Cartesian trees do not provide the ability to get items at arbitrary indices within the data structure in an efficient member from my understanding. In order to get the Nth item in the tree, a linear traversal is required. Furthermore, to g
236.
▲
by
jhgg
7y ago
They are most definitely sorted lists. This is mentioned very clearly in the documentation: http://erlang.org/doc/man/ordsets.html >An ordset is a representation of a set, where an ordered list is used to store
237.
▲
by
jhgg
7y ago
The cost of making a system call and network serialization + deserialization still makes this infeasible.
238.
▲
by
jhgg
7y ago
On a given node, we maintain a few million sorted sets that see a query and insertion velocity in the orders of millions of operations per second. When we are meticulously measuring operation time in the microsecond range to meet a performa
239.
▲
by
jhgg
7y ago
One thing that our blog-post didn't mention too well was the need to be able to access arbitrary slices of data within the sorted set, as well as being able to know the index at which an item was inserted as well as removed. This is ne
240.
▲
by
jhgg
8y ago
>Make sure there's someone, anyone, who understands ALL of the codebase from top to bottom Either you seriously over estimate the limits of ones understanding, or you severely under estimate the size of Google’s codebase/monore
More ›