Marc Gravell

Results 982 comments of Marc Gravell

Neither SE.Redis nor Pipelines.Sockets.Unofficial use `BlockingCollection` - however, Pipelines.Sockets.Unofficial *does* use `SpinOnce()` directly in the `MutexSlim` code; so - if the stalls you're seeing definitely have `BlockingCollection` in them, then:...

Ah, right - yeah there's an important update here that I had shared on the SE.Redis repos, but I hadn't looked for here: there was a critical race condition when...

@mscrivo well, I wouldn't get *too* excited there without good reason, but... if you're *sure* you're seeing blocks from `BlockingCollection` then yeah. I don't know your use-case, but *in most...

So it looks like something to do with loading system-buffers. Frankly I wonder if the first thing to try is : I rev all the lib deps now that 3.0...

They are sorted because the reflection APIs explicitly make no guarantees about ordering whatsoever. Yes this should be invariant.

That sounds like a job for "dapper", to be honest, which already offers this both end-to-end (executing the command too), or just from a data-reader via the GetRowParser(...) method. Although...

That doesn't mean it isn't thread-safe. On Sun, 16 Sep 2018, 19:07 Austin Salgat, wrote: > Unfortunately it's technically not thread-safe, since it uses > double-checked locking to determine whether...

Hmmm. Interesting. I haven't updated anything to account for C#8, and IIRC the nullable attribute mechanism is *incredibly* awkward and subtle, but - I do agree with you that we...

The library includes bridges between pipelines and arbitrary streams, so my recommendation would be : just wrap `SslStream` in a pipelines bridge. This is exactly what we do in SE.Redis....

TLS config is so complex that frankly I don't see the advantage of trying to describe it as an API: it would be re-exposing every conceivable option that already exists...