Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
baruch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
baruch
12y ago
The big pain in such an endeavor is the high cost of an hardware company and the low quantity and the long time it will take to build an ecosystem around such an offering. I'd buy one or a few but beyond the tinkerers there aren't
182.
▲
by
baruch
12y ago
Another reason would be "laziness" of the corporates, there is no real interest in spending lots of time and effort for creating the bottom end parts that may or may not improve the overall system and instead the preference is to
183.
▲
by
baruch
12y ago
It would actually make quite a bit of sense to just have raw flash accessible by the CPU and be managed completely by it. The problem is then that some of the flash trickery is for very specific flash and requires careful calibration, thing
184.
▲
by
baruch
12y ago
A while ago I tried to buy one to play with it, they quoted me $3000 and it is well above my personal budget for playing with it. It is only attainable by a university or a company not mere persons. I really wish I could get my hands on an
185.
▲
by
baruch
12y ago
I've collected quite a few CRC32 methods and compared them all, it would be interesting to do the same for CRC64 to get the whole range of options too. The results are here: https://github.com/baruch/crcbench/
186.
▲
by
baruch
12y ago
The business problem with this is that the vendor will no longer be able to provide any guarantee on the product since it will strongly depend on the user handling. It will also lose most if not all traceability to be able to say that the u
187.
▲
by
baruch
12y ago
I work on storage systems employing SSDs at a higher level still, hearing and learning more details on how things are working underneath is immensely useful and gets rarely discussed with the FSEs which is a shame. If there are things that
188.
▲
by
baruch
12y ago
This is only true if these latency outliers are evenly distributed over time, if they indeed happen once every 30 minutes than only users requesting a page at the same time will be affected.
189.
▲
by
baruch
12y ago
Start an EBS on Digital Ocean startup and save all costs of running it for a while...
190.
▲
by
baruch
12y ago
I'm using websec as an existing tool to watch website changes. It's not perfect but it's good enough. For a while I had a webapp to do a better job but it never got any traction, most likely because I had no idea how to get t
191.
▲
by
baruch
12y ago
Now you only need to match your name with a brazilian with the same name. This assumes the airline doesn't require an ID card with that same CPF to board.
192.
▲
by
baruch
12y ago
I don't have a fleet of systems like Google but on the several few thousand servers I look over, I see the number of ECC errors is lower than that. It is however a strong power law distribution, many servers (>70%) see no errors at
193.
▲
by
baruch
12y ago
While there are users of selfish transports and there is space for them in controlled networks it will be hard to get something selfish widely used considering the slow adoption of congestion control. It would be nice to see quantification
194.
▲
by
baruch
12y ago
They only compared with multi-TCP, and while this is a method that can be used to utilize high BDP with AIMD-TCP it is not a common use case. In most cases you just have a browser with independent streams or a bittorrent client with quite a
195.
▲
by
baruch
12y ago
They lost me when it became obvious that PCC doesn't interoperate very well with "normal" TCP (let's call it reno-tcp[1]). TCP is not the optimal solution and PCC may very well be better but there is just no way to use a
196.
▲
by
baruch
12y ago
Haven't tried it yet but it's really not clear what runs where and how the airpy service itself (registering/login) is related to all that. Is there a plan to add camera service as well to airypy? That would be neat as well.
197.
▲
by
baruch
12y ago
I created another such implementation which is coroutines and channels but with the aim to be able to build an almost malloc-less applications. https://github.com/baruch/libwire
198.
▲
by
baruch
12y ago
I use websec as a cron command to do that for pages I care for and implemented at some point an app in python I called NoticeThat that fell into oblivion as I had no idea how to market it. It's nice to see someone catering to that use
199.
▲
by
baruch
12y ago
There are other IDEs as well, I'm aware of lamdu https://github.com/Peaker/lamdu which is for haskell or at least a very close variant. I'm not a big fan of haskell but I've seen a demo of an early versi
200.
▲
by
baruch
12y ago
No write up that I know of. I used it in systems I've made in the past. Some of our services were running in a realtime priority and we needed a way to take care of such a system mostly in development.
201.
▲
by
baruch
12y ago
Be very careful with that. When compiled under NDEBUG and the assert gone, the mutex unlock will be gone too and you'll wonder why the application stops working.
202.
▲
by
baruch
12y ago
If you care about such things the normal method is to have a backup ssh running on a different port with realtime priority , it is not used at any other time except when some process had gone runaway and you can't do anything else.
203.
▲
by
baruch
12y ago
Just to expand on the timing and cost argument: When you have 10,000 tasks and about 8 cores (give or take a few) the number of context switches is very large. Switching in the kernel will happen mostly in the system call boundary of blocki
204.
▲
by
baruch
12y ago
Thanks! Added it now.
205.
▲
by
baruch
12y ago
so most likely this is not all of them (I just found today about another one) but it is my attempt to collect a comprehensive list of them. If you know of others either add them yourself or let me know and I'll add it.
206.
▲
The list of all coroutine and user-space-thread libraries
(github.com)
1 points
by
baruch
12y ago
|
3 comments
207.
▲
by
baruch
12y ago
In those cases I like the coroutines/user-space-threading. It gives you the reduced cost of having a single or a few threads without the heavy toll of callbacks.
208.
▲
by
baruch
12y ago
I like epoll over poll because you don't need a central point in your application that knows about all FDs, each component can manage it's own FDs registration with the OS.
209.
▲
by
baruch
12y ago
It reduces context switches in the kernel which are more expensive and reduces the memory resources needed for kernel threads which are larger. There are also some hidden gains in terms of TLB caches and other costs of kernel threads switch
210.
▲
by
baruch
12y ago
All of the different coroutine/user-space-threads work by switching the stack and the the instruction pointer when the code is about to block on an async system call. So one would find that to read from the socket would block (by getti
More ›