guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: packaging Bootstrap for Cuirass' web interface


From: Clément Lassieur
Subject: Re: packaging Bootstrap for Cuirass' web interface
Date: Wed, 25 Jul 2018 11:18:39 +0200
User-agent: mu4e 1.0; emacs 26.1

Hello Tatiana!

An interesting command to test that everything works correctly is:

parallel 'echo {} && curl http://localhost:8080/' ::: {1..100}

You can use it on an example server:

./pre-inst-env cuirass --specifications=examples/random.scm --database=test.db
or
./pre-inst-env cuirass --specifications=examples/hello-singleton.scm 
--database=test.db

It run 100 times 'curl http://localhost:8080/' in parallel, so it's good
at showing issues related to multi-threading.

(you need 'guix package -i parallel' :-))

Those issues are hard to debug, I'll investigate too.

Clément



reply via email to

[Prev in Thread] Current Thread [Next in Thread]