Konstantin A. Olkhovskiy

Results 179 comments of Konstantin A. Olkhovskiy

> making an interface-and-semantics-compatible effect-based replacement for Lwt This would be really promising. Lwt is very popular within the OCaml ecosystem, and I expect effects to quickly raise in popularity,...

We've also faced this problem. While testing fairness of large data stream processing with httpaf we observed that one stream hogs all of the processing power and all other streams...

I'll try using `auto_yield`, looks like it does not have any dependencies on Lwt internals and I can just try embedding it in my service directly. So far it looks...

Looks like `auto_yield(0.05)` does not cut it so far... I'll try lower values, but it already starts hurting performance. ``` [kolkhovskiy@home ~]$ dd if=/dev/zero bs=1M | curl -XPOST -T -...

But changing yield interval to each X bytes read/written works better! Yielding each megabyte gives nearly the same perf as without yields, but multiple streams share the bandwidth fairly.

> a variant of yield that yields only to other callbacks (CPU) and not I/O Yeah, that should probably work as well. When all of your sockets always have data...

+1, I have the following annoying behavior on Mint 17.3 and latest release of TiddlyDesktop. It does not minimize to tray, when I close the main window, my opened Wiki...

I've tried to do something along the lines of RSA example in the code, but it does not work unfortunately... ```golang func createPublicPrivateSign(signingKey crypto.PrivateKey) (tpm2.Public, tpm2.Private, error) { switch key...

Okay, this version seems to be working. Can you take a look plese if it makes sense? ```golang func createPublicPrivateSign(signingKey crypto.PrivateKey) (tpm2.Public, tpm2.Private, error) { switch key := signingKey.(type) {...

PR would require a CLA, I'm figuring out the details with my employer's legal department, and it can take ages 😞 So if you have some time to look at...