question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kinda picking up off of https://github.com/elastacloud/parquet-dotnet/issues/20

I see now that the thrift lib ONLY has async methods, and the older clients are being removed next release.

I’m not sure how often parquet updates it’s thrift spec, or how often thrift adds new features or w/e though, so this might not be a big deal.

Curious if In the past have you done any testing to see what kind of negative performance making some of the reading/writing async has?

Was considering helping and trying to update to the latest netstd thrift generation, but I’m more interested in making this faster…not slower 😉

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
aloneguidcommented, Jul 23, 2020

The issue is Thrift part plays a miniscule role on performance, and will actually slow down a bit. You want async in the core where data pages are read from disk.

1reaction
felipepessotocommented, Jul 23, 2020

Async won’t make it faster, but will make it more scalable. For I/O, async is definitely the way to go.

We had a lot of async enhancements in the recent releases of .NET Core, like performance and memory allocation improvements and new API’s. Do you have plans to drop support to old .NET versions and migrate to .NET 3.1/5?

Span<T> can also bring performance improvements, many new Async APIs uses Span to avoid copying memory

Read more comments on GitHub >

github_iconTop Results From Across the Web

Asynchronous programming - C# | Microsoft Learn
The async keyword turns a method into an async method, which allows you to use the await keyword in its body. When the...
Read more >
Async and Await in C#
The "async" keyword marks a method asynchronous, meaning it can be run in the background while another code executes. When you mark a...
Read more >
Asynchronous programming with async, await, Task in C#
The async keyword marks the method as asynchronous. Note that all the methods in the method chain must be async in order to...
Read more >
How and when to use 'async' and 'await'
Asynchronous programming is where a programmer will choose to run some of his code on a separate thread from the main thread of...
Read more >
async function - JavaScript - MDN Web Docs - Mozilla
The async function declaration creates a binding of a new async function to a given name. The await keyword is permitted within the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found