HackerTrans
TopNewTrendsCommentsPastAskShowJobs

davidtos

no profile record

Submissions

Show HN: JUring – Java bindings for io_uring file I/O

github.com
20 points·by davidtos·tahun lalu·3 comments

Virtual vs. Platform Threads for API Calls

davidvlijmincx.com
1 points·by davidtos·2 tahun yang lalu·0 comments

comments

davidtos
·tahun lalu·discuss
I am still working on Java bindings for io_uring https://github.com/davidtos/JUring

The goal is to bring fast random read/writes to Java. Fun project with lots of great challenges around performance while maintaining a nice API.
davidtos
·2 tahun yang lalu·discuss
Working on creating Java bindings for io_uring. Trying to get some better performance by batching downcalls and making the API Java friendly.
davidtos
·2 tahun yang lalu·discuss
I did some similar testing a few days ago[1]. Comparing platform threads to virtual threads doing API calls. They mention the right conditions like having high task delays, but it also depends on what the task is. Threads.sleep(1) performs better on virtual threads than platform threads but a rest call taking a few ms performs worse.

[1] https://davidvlijmincx.com/posts/virtual-thread-performance-...