-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple engines #3958
Multiple engines #3958
Conversation
Great idea. You can also add uvicorn for Python (ASGI). |
Is |
That pattern is valid and mainly used because gunicorn has a rich feature set. For the ASGI frameworks, I would suggest variants:
As you can see, I imagine having all these variants across all the languages is likely to lead to a long list. Sanic (for example) can be run directly by gunicorn, by any of the above methods, and also using its own internal server. Have you had any thoughts of how to present all this data without being too verbose? Maybe the variants list is displayed only by language? |
Maybe a discussion should be a great place to collect ideas |
@waghanza would be cool if those variants are structured like |
Yep. This is what I opted for Example, for
The idea is too keep the basics, and change file if required ( And also, some |
93eec29
to
1c997af
Compare
0675ba8
to
1ffd708
Compare
@the-benchmarker/web-frameworks I have successfully enable If you have time to try it, I'll be glad to review any The idea is :
|
4563a57
to
564e433
Compare
give a another try, I just maked a bug fix for Chronos yesterday. |
same using |
have you clear the |
yes @bung87. the compilation is made inside the container, and all caches are removed Step 7/14 : RUN nimble install -y
---> Running in b04e7d61b960
Verifying dependencies for server@0.1.0
Prompt: No local packages.json found, download it from internet? -> [forced yes]
Downloading Official package list
Success Package list downloaded.
Installing scorper@#devel
Downloading https://github.com/bung87/scorper using git
Verifying dependencies for scorper@#devel
Installing chronos@>= 3.0.2
Downloading https://github.com/status-im/nim-chronos using git
Verifying dependencies for chronos@3.1.0
Installing stew@any version
Downloading https://github.com/status-im/nim-stew using git
Verifying dependencies for stew@0.1.0
Installing unittest2@any version
Downloading https://github.com/status-im/nim-unittest2 using git
Verifying dependencies for unittest2@0.0.6
Installing unittest2@0.0.6
Success: unittest2 installed successfully.
Installing stew@0.1.0
Success: stew installed successfully.
Installing bearssl@any version
Downloading https://github.com/status-im/nim-bearssl using git
Verifying dependencies for bearssl@0.2.0
Info: Dependency on unittest2@any version already satisfied
Verifying dependencies for unittest2@0.0.6
Installing bearssl@0.2.0
Success: bearssl installed successfully.
Installing httputils@any version
Downloading https://github.com/status-im/nim-http-utils using git
Verifying dependencies for httputils@0.3.0
Info: Dependency on stew@any version already satisfied
Verifying dependencies for stew@0.1.0
Info: Dependency on unittest2@any version already satisfied
Verifying dependencies for unittest2@0.0.6
Info: Dependency on unittest2@any version already satisfied
Verifying dependencies for unittest2@0.0.6
Installing httputils@0.3.0
Success: httputils installed successfully.
Info: Dependency on unittest2@any version already satisfied
Verifying dependencies for unittest2@0.0.6
Installing chronos@3.1.0
Success: chronos installed successfully.
Installing npeg@any version
Downloading https://github.com/zevv/npeg using git
Verifying dependencies for npeg@1.2.1
Installing npeg@1.2.1
Success: npeg installed successfully.
Installing zippy@any version
Downloading https://github.com/guzba/zippy using git
Verifying dependencies for zippy@0.10.9
Installing zippy@0.10.9
Success: zippy installed successfully.
Installing jsony@any version
Downloading https://github.com/treeform/jsony using git
Verifying dependencies for jsony@1.1.5
Installing jsony@1.1.5
Success: jsony installed successfully.
Info: Dependency on stew@any version already satisfied
Verifying dependencies for stew@0.1.0
Info: Dependency on unittest2@any version already satisfied
Verifying dependencies for unittest2@0.0.6
Installing urlly@>= 0.2.0 & < 0.3.0
Downloading https://github.com/treeform/urlly using git
Verifying dependencies for urlly@0.2.0
Installing urlly@0.2.0
Success: urlly installed successfully.
Installing scorper@#devel
Success: scorper installed successfully.
Installing server@0.1.0
Success: server installed successfully.
Removing intermediate container b04e7d61b960 |
weird, can't reproduce, I just cloned this repository , switch to |
probably due to alpine then |
I have the same error with |
but I've fixed yesterday , see status-im/nim-chronos@38cc233 |
yes, but not sure however # Package
version = "0.1.0"
author = "bung87"
description = "scorper implementation"
license = "MIT"
# Dependencies
requires "nim >= 1.3.1"
requires "scorper >= 1.1 & < 1.2" include this patch how can I use latest |
|
same issue with # Package
version = "0.1.0"
author = "bung87"
description = "scorper implementation"
license = "MIT"
# Dependencies
requires "nim >= 1.3.1"
requires "scorper#develop"
requires "chronos#head" maybe a bump is required, either on scorper or chronos side @bung87 |
published v1.1.2 with dependency |
same @bung87 |
pretty weird , the CI shows |
hard to track the issue for now , I think simply put server.nim.cfg with |
on my side I have Installing scorper@>= 1.1 & < 1.2
Downloading https://github.com/bung87/scorper using git
Verifying dependencies for scorper@1.1.2
Installing chronos@any version
Downloading https://github.com/status-im/nim-chronos using git
Verifying dependencies for chronos@3.1.0 but still Step 8/14 : RUN nim c --excessiveStackTrace:off -d:release --opt:speed --passC:-flto --passL:-flto server.nim
---> Running in 32b37e6f3bfb
Hint: used config file '/nim/config/nim.cfg' [Conf]
Hint: used config file '/nim/config/config.nims' [Conf]
...........................................................................................................
/root/.nimble/pkgs/chronos-3.1.0/chronos/selectors2.nim(298, 12) Error: undeclared identifier: 'sigprocmask'
candidates (edit distance, scope distance); see '--spellSuggest':
(6, 6): 'EINPROGRESS' [const declared in /root/.nimble/pkgs/chronos-3.1.0/chronos/oserrno.nim(1274, 5)]
(6, 6): 'EINPROGRESS' [const declared in /root/.nimble/pkgs/chronos-3.1.0/chronos/oserrno.nim(1274, 5)]
(6, 6): 'EINPROGRESS' [const declared in /root/.nimble/pkgs/chronos-3.1.0/chronos/oserrno.nim(1274, 5)]
(6, 6): 'SIG_BLOCK' [const declared in /nim/lib/posix/posix_linux_amd64_consts.nim(403, 7)]
(6, 6): 'SIG_BLOCK' [const declared in /nim/lib/posix/posix_linux_amd64_consts.nim(403, 7)]
(6, 6): 'procCall' [proc declared in /nim/lib/system.nim(2965, 6)] |
Seems that not all Maybe using a compilation option instead of a file could be 👍🏻 |
Hi,
This
PR
allows to test each frameworks on various setups.Actual
All frameworks are tested once. For example,
ruby
framework are tested withpuma
(since widely spread inruby
communities)Purpose
Test framework with multiple engines (for the sake of this feature we keep focus on engines, not compilation options, vms, ...). The idea the is to test frameworks with various engines, when accurate indeed.
List of engines