Hi, I have performance issue in running arithmetic example server (I got 7030 ms latency tested in postman and more).
Actually when I run it in the repo directory inside nix-shell everything is fine (cabal configure -f with-examples && cabal build then run the arithmetic server), but I coped the example code elsewhere and tried to configure it by my self. (I do that in 2 ways 1-nix way 2-cabal way) in both of them I got the problem. I'll just explain my nix way here:
my flake.nix:
Now I test the RPC add in postman and I get, 11382 ms latency. The latency when I test it inside your repo is about 75 m e.g.
What's wrong?
(Also I've added all dependency needed, but if you need it, tell me to send you)
It is my file structure:
Hi, I have performance issue in running
arithmetic
example server (I got 7030 ms latency tested in postman and more). Actually when I run it in the repo directory insidenix-shell
everything is fine (cabal configure -f with-examples && cabal build
then run the arithmetic server), but I coped the example code elsewhere and tried to configure it by my self. (I do that in 2 ways 1-nix way 2-cabal way) in both of them I got the problem. I'll just explain my nix way here: myflake.nix
:enter to the dev shell:
generate code:
build:
run server
Now I test the RPC add in postman and I get, 11382 ms latency. The latency when I test it inside your repo is about 75 m e.g. What's wrong? (Also I've added all dependency needed, but if you need it, tell me to send you) It is my file structure: