Async Methods
See original GitHub issueKinda 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:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
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