Andrea Di Cesare

Results 15 comments of Andrea Di Cesare

A simple proposal to simulate actual work is requiring the web service to compute a bcrypt hash of a random string with a given complexity, e.g. 12 (the complexity can...

@mmoreram, I think that the impact of a `sleep()` will be minimal for event loop based (or async) frameworks (as node.js). On the opposite, `sleep()` will hit multithread framework a...

Added to RESTHeart v7 roadmap https://github.com/SoftInstigate/restheart/discussions/425

You shoudn't comment out the `mongo-uri` property in the configuration file. The env var MONGO_URI overwrites a configuration property, as long as it is defined.

The container `mongodb-initiate` initiates mongodb as a replica set, via the command `rs.initiate()`. Once the init script is executed, the container dies. MongoDb running as a replica set (even if...

Virtual thread support in native-image for Truffle is crucial for our use case. Let me elaborate on why this is so important for us. I am the main committer of...

Hi @trappa92 , yes ✅ you can modify the change stream output using pipeline stages including `$project`, see https://www.mongodb.com/docs/manual/changeStreams/#modify-change-stream-output And yes ✅, you can use `?avar` to pass variables to...

Yes, with the qparam `?avars={"foo": "bar}`, a stage can use it anywhere as `{"$var": "foo"}`. An optional stage can use it as `{"$ifvar": [ "foo", {...}]`. I thought this was...

Some features of RESTHeart requires MongoDB to be run as a replica set. This because change streams and transactions are available only on a replica set. We run our tests...

You can also skip tests that require a replica set (and run the tests against a standalone MongoDB process) as follows: ``` $ ./mvnw clean verify -Dkarate.options="--tags ~@requires-replica-set" ``` Also...