Comments (6)
Thanks for catch up @jeremyevans, we definitely need to upgrade codebase.
Could also be great to have some warning on deprecation (I mean using CI or else)
from web-frameworks.
cc @Blacksmoke16 @stakach @ujjwalguptaofficial @drujensen @Sija
from web-frameworks.
@jwoertink @waghanza I made #6558 to test using this approach. I currently use this for a small binary that needs to trigger multiple child processes.
Unfortunately I couldn't get the test suite to run on my local machine because docker-machine
requires VirtualBox which would only install if I wasn't on an M1. I can try playing around with this again later if no one else gets it working.
from web-frameworks.
Could just ignore it, it's only deprecated so not like its going anywhere anytime soon. Maybe by the time Crystal 2.0 comes around, MT support will be better supported and can just leverage that. Might even work already, but haven't did much with it yet. Plus multi process doesn't have the same overhead so iirc gives better perf anyway.
from web-frameworks.
Spider-gazelle already supports non-forked clustering, replacing this line with:
server.cluster(process_count, "-w", "--workers") if process_count != 1
(and threads if built with threading enabled - although then you'd want to disable clustering)
from web-frameworks.
@jwoertink I switched the Amber benchmark to use Process.new
and that appears to be working just fine:
https://github.com/the-benchmarker/web-frameworks/blob/master/crystal/amber/src/amber.cr
from web-frameworks.
Related Issues (20)
- [PHP] Use one docker ayer forextensions and modules
- [Ruby] Should we update the Rails/Ruby tests to use YJIT? HOT 4
- Why not use wrk2? HOT 4
- [Dart] Try to remove shell copying onto minimal container
- uWebSockets (javascript framework) is not included in the latest release [2024-01-23 (19a4d71)] HOT 1
- [JavaScript] Update spiffy version in results
- [V] Set bootstrap in config
- hono is only tested using node, should be tested using bun HOT 6
- [Javascript] Use pup for deno
- Check java version displayed HOT 1
- Add Litestar python framework HOT 1
- [Dart] Add more frameworks HOT 6
- Running tests without postgres
- [PHP] Add Bitrix HOT 2
- [Javascript] Add next.js HOT 2
- Add robyn python framework HOT 3
- drogon HOT 1
- [Gleam] Add mist HOT 7
- Bug in Framework Selection: All Frameworks Appear Regardless of Version and Language
- Check java version displayed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-frameworks.