Skip to content
#

concurrent

Here are 354 public repositories matching this topic...

badrishc
badrishc commented Jan 10, 2020

In the current version of FASTER C++, on Linux, we use libaio for async IO handling. It is a known issue that libaio is not very efficient. Recently, io_uring is released with Linux kernel 5.1, which advertises to be a high performance aysnc IO library. It would be useful to try it and see if we can improve disk performance on Linux by replacing libaio with it.

More details for io_uring

zio
iravid
iravid commented Apr 30, 2020

ZTransducer is an effectful chunk processing function, and thus forms an arrow. We should add the following combinators on it:

  • zipping: (ZTransducer[A, B], ZTransducer[A, C]) => ZTransducer[A, (B, C)]
  • racing: (ZTransducer[A, B], ZTransducer[A, C]) => ZTransducer[A, Either[B, C]] looks problematic to implement currently
  • both: `(ZTransducer[A, C], ZTransducer[B, D]) => ZTr
whereswaldon
whereswaldon commented Oct 5, 2018

I tried Oh, and it seems interesting. Certainly the programmability aspect is cool, and I like the idea of the type system. However, there's no documentation about how to customize anything (your prompt, for instance). I could read the source code, but I decided to try the shell on a whim at work, and I can't reasonably spend the time. I think it would be pretty easy to put together some guidance

josevalim
josevalim commented Jul 15, 2019

We should add an extra step that shows how to publish a message. It can be via command line but, if so, we should link to the Elixir API for them too (ExAWS for SQS, AMPQ for RabbitMQ, etc).

Generally speaking, the guides should be thin on details and include references to the docs for any in depth topic. For example, on the "Create queue" section for RabbitMQ, we can include the CLI example an

kazimuth
kazimuth commented Apr 2, 2020

This code:

let map = DashMap::<i32, i32>::new();
map.insert(1, 2);
let a = map.get_mut(&1);
let b = map.get(&1);

will deadlock. The shard containing 1 gets write-locked, nothing else can access it. This is reasonable behavior but I think it should be documented.

Perhaps more surprising is that this code:

let map = DashMap::<i32, i32>::new();

for i in 0..100

java-study 是本人学习Java过程中记录的一些代码!从Java基础的数据类型、jdk1.8的Lambda、Stream和日期的使用、 IO流、数据集合、多线程使用、并发编程、23种设计模式示例代码、常用的工具类, 以及一些常用框架,netty、mina、springboot、kafka、storm、zookeeper、redis、elasticsearch、hbase、hive等等。

  • Updated Feb 20, 2020
  • Java

Improve this page

Add a description, image, and links to the concurrent topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the concurrent topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.