21,930 questions
-5
votes
0
answers
52
views
Terminology distinguishing sequential from parallel computing [closed]
I understand the use of parallel computing (e.g. using MPI) in which computations are spread across different processors working simultaneously. Although some also call this Distributed Computing, I ...
6
votes
3
answers
391
views
Running purrr functionals in parallel: imap
I have a function inside a larger script that does some clustered resampling, and that uses imap to run, as in the code below:
library(tibble)
library(purrr)
library(dplyr)
n_ids <- 500
# Total ...
Advice
1
vote
2
replies
70
views
Does Google Cloud Storage do parallelisation by itself?
Currently, I have a system that transcribes and summarises audio files with the Gemini API. Current configurations are those files that need to be processed, uploaded to DynamoDB, and then, through ...
1
vote
0
answers
61
views
How can I optimize test choices in JUnit5 parallel test execution?
We're running a test pipeline with JUnit 5 and settings
junit.jupiter.execution.parallel.enabled=true
junit.jupiter.execution.parallel.mode.default=same_thread
junit.jupiter.execution.parallel.mode....
-1
votes
1
answer
86
views
Next.js parallel routes [closed]
I am using a parallel route in Next.js to have a header either with or without link functionality regarding the path. But when I build it, this is the output and I absolutely don't understand what it ...
Best practices
1
vote
1
replies
85
views
Best practice for concurrent HTTP requests in Laravel when scraping multiple URLs
I need to fetch data from a list of URLs concurrently in Laravel (PHP). The use case is scraping results from multiple endpoints — one request per URL — and I want to do it as fast as possible without ...
0
votes
1
answer
70
views
Does jit compiler parallelize list comprehension with independent statements in `jax`
I need to apply a jax function to a sequence of arrays of varying sizes. For example:
import jax.numpy as jnp
arrs = [jnp.array([1., 2.]),
jnp.array([6., 7., 8.]),
jnp.array([12.])]
...
2
votes
0
answers
158
views
Create multiple EntityManagerFactories in parallel [closed]
I have to create ~150 EntityManagerFactories.
I'm using
hibernate-commons-annotations-5.1.2.Final
hibernate-core-5.6.14.Final
hibernate-envers-5.6.14.Final
hibernate-search-backend-elasticsearch-6.1.8....
Best practices
2
votes
7
replies
162
views
How to add many fractions together as fast as possible?
This is related to this question.
Basically, I need to add many fractions together. Seems simple enough? Except it isn't simple.
I can't use fractions.Fraction class, that thing stupidly does fraction ...
Advice
0
votes
2
replies
34
views
Parallelized Access to TypedTuplestore data structure in PostgreSQL
I am working on a C-UDF for Postgres, where i would like to somehow read from a passed Typed-Tuplestore in parallel. Either pthreads or worker-processes is fine, as long as the access isn't combined ...
Advice
2
votes
6
replies
92
views
C++ containers and omp parallel
So I have an algorithm that gets a set of objects and computes a next set of objects. The code below is a toy version of the real code for brevity. The next snip illustrates the theme of the program ...
1
vote
2
answers
90
views
Removing unsafe pointer and make vector element comparison parallel
I have a little parallelizing question.
I want to implement a trait function for A, below, which iterates over its Vec<B> field, and for each elements looks for all the following elements, and ...
Best practices
0
votes
1
replies
19
views
scatter(x, broadcast=True) vs replicate(x)
I am trying to understand the difference in Dask between
scatter(x, broadcast=True) and replicate(x).
Both seem to provide a way to ensure copies of data is available in all nodes.
Are they actually ...
3
votes
1
answer
85
views
Why is Promise.all not supported inside MongoDB (Mongoose) transactions?
I’m using MongoDB transactions with Mongoose, and I noticed a warning in the official docs that confused me regarding concurrency.
According to docs for ClientSession.startTransaction():
IMPORTANT: ...
Tooling
0
votes
1
replies
78
views
Is this C syntactic parallel code run also for machines without parallel computing facilities?
Can this syntactic augmented parallel code be compiled and run also for machines without parallel computing facilities without any modification, except that, obviously, the equivalent sequential code ...