Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blatyo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
blatyo
7y ago
This isn't a complete answer to you're question, but one note. They aren't building an interpreter in wasm. They are compiling elixir to native wasm. Elixir code wouldn't be shipped to the client.
2.
▲
by
blatyo
8y ago
One thing that is nice about the way sublime does it is that you can search the search results. Since it shows the found search items contextualized, it can be useful to search the contextualized parts.
3.
▲
by
blatyo
9y ago
The solution for this in Elixir is to use GenStage actors, which provides backpressure by allowing downstream processes to ask for data to process. Check out this video which describes it pretty well: https://youtu.be/srtMWz
4.
▲
by
blatyo
9y ago
I'm not sure if it's a recent feature, but I was unaware of it until recently. However, you'd still need an app to sign the upload URL. Otherwise, you'd have to expose the AWS secret key to the client.
5.
▲
by
blatyo
9y ago
s3 requires a signature as well. Without requiring a signature, anyone could upload anything to your s3 account. With a signature, you choose when and where people can put their files.
6.
▲
by
blatyo
9y ago
I believe what Overmind meant was that a single request in another language can probably beat Elixir in performance, but Elixirs ability to handle a large amount of requests concurrently means that it'll have better throughput. For exa
7.
▲
by
blatyo
9y ago
One note on database time. If you're loading multiple related records, Ecto is able to do some of those requests concurrently. For example, if you get a user and their posts and comments, the fetch of user happens, and then posts and c
8.
▲
by
blatyo
9y ago
Here's a screenshot of mean times for one of my company's app. http://take.ms/qGVOA The one at the top is proxying the request to a java app which happens to be a little slow.
9.
▲
by
blatyo
9y ago
You mentioned the phoenix team is working on monitoring. Can you point me to where you heard that or any work being done on it?
10.
▲
by
blatyo
9y ago
https://www.youtube.com/watch?v=XMjrI3pFsOA
11.
▲
by
blatyo
14y ago
I assumed people were running multiple rails processes on their dynos. http://michaelvanrooijen.com/articles/2011/06/01-more-concur...