Skip to main content

Questions tagged [parallelism]

2 votes
3 answers
514 views

What type of diagram can I use to model parallel processes interacting with a shared set of resources, along with the state of those resources at each point in time? My motivation is I have a bug that ...
Rob Mosher's user avatar
4 votes
10 answers
4k views

I am trying to understand the difference between CPU Bound vs IO Bound process. ChatGPT suggested that multi-threading/parallel processing can help a CPU bound process; However, I think that having ...
Sahil's user avatar
  • 199
0 votes
1 answer
122 views

Can NIC handle(send/receive) multiple packets at once? For example, 2 asynchronous tasks request 2 different things from a database. Are those 2 requests sent simultaneously by NIC? Also, are the ...
DimitrijeCiric's user avatar
1 vote
1 answer
222 views

I am trying to create a simple demonstration of using 'parallel LINQ' (PLINQ). I have two versions of my task, in C#: var result = Enumerable.Range(1,1000000).Where(x => IsPrime(x)).ToList(); ...
Richard Pawson's user avatar
-1 votes
2 answers
124 views

Since I don't have much knowledge of multi-threaded design and English is not my native language, I don't know how to exactly describe my problem. Let's say I have a mini-program in school, which has ...
Justin's user avatar
  • 3
2 votes
1 answer
568 views

Java used to have green threads, i.e., implemented inside the VM. The description of Python Eventlets says "Eventlet is built around the concept of green threads (i.e. coroutines...).... Green ...
Joshua Fox's user avatar
  • 1,110
0 votes
2 answers
377 views

I'm wondering if the following approach can be used in order to increase parallel processing of Kafka messages. Suppose there's a topic with N partitions. At some point the system hits a bottleneck in ...
Yos's user avatar
  • 167
8 votes
3 answers
26k views

Our drawing tool is draw.io. Occassionally I've got to draw flow charts with it. In those flow charts I've got to express parallel processes (very similar to this UML example). Wikipedia says about ...
OneWorld's user avatar
  • 322
26 votes
4 answers
6k views

Presuming that I have written some sequential code where it can be broken down into multiple isolated tasks, it seems it might be efficient for concurrency to be introduced. For example print(...
Ben's user avatar
  • 369
0 votes
2 answers
376 views

this is a highly theoretical question about my parallelization approach. First of all, I want to inform everybody that I do not claim that I am the 'inventor' of that approach but I couldn't find any ...
Damian Grzanka's user avatar
2 votes
1 answer
241 views

I have a data synchronisation concurrent algorithm. It does the following: get data and files from server, send data and files to server, save them to database / filesystem. Imagine the system like ...
user1658358's user avatar
2 votes
2 answers
495 views

We have data in Kafka which we need to export to multiple destinations. Each message key is to be exported to one destination. A destination can be a REST endpoint, a file, a database etc. Each ...
JavaTechnical's user avatar
3 votes
1 answer
11k views

I have a website which offers pages in the format of https://www.example.com/X where X is a sequential, unique number increasing by one every time a page is created by the users and never reused even ...
nicktheone's user avatar
2 votes
0 answers
141 views

The problem was already discussed here. But there was not consensus on this topic. I have some thoughts on how insert operation can be implemented for some popular file systems. If FS has extent-...
Anton Astafiev's user avatar
2 votes
1 answer
503 views

I have a tree generated by configuration. Each leaf of the tree is a long running task (like DB query, reading from file, etc.) that gives a result I want to store in a mirrored tree with only the ...
Fabio Filippi's user avatar

15 30 50 per page
1
2 3 4 5
7