-
Notifications
You must be signed in to change notification settings - Fork 48
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
Can we build a web framework based on kontraktor? #50
Comments
Ofc (who is "we" ;) ). Actually there is already kind of a web framework (SPA focussed). Kontraktor http provides html import/script/css inlining, transpiler support, a browser client lib, ... While kontraktor http is mostly library style, kontraktor-web provides a minimalistic 'frameworky' webapp support covering fundamentals like session invalidation, server side per session state, session resurrection (important for SPA's). I am in the process of documenting this stuff as I find time .. |
hi @RuedigerMoeller, by "we", I mean anyone who is impressed by the simplicity and the performance of kontraktor and somehow find it useful :). You know, to be used as a web framework for SPA and rich apps, we need more features, right! |
some stuff is there, but lacks documentation |
yes, I see, I'm trying to figure out what is going on under the hood. |
We use it with a React front end and the simplicity of the js4k interface to the server makes life very easy. In the backend the simplicity of setting up Actors means failover was really easy to implement using round robin pools of remote Actors providing services, message timeouts and the heartbeat/pulse pattern. Scaling is also really easy to implement. |
FYI I ported the webapp basic example to 4.0 + new front end libs yesterday. 1 request, 5.6 kb when running in production mode (everything inlined in index.html) |
@RuedigerMoeller @davidwynter thank you for sharing your usecase, can you give me more details about how to scale out kontraktor backend to clusters in multiple machine setup? Thank you! |
Examples for kontraktor scaleout: distributed Lambda execution: sharded NLP + document query |
No description provided.
The text was updated successfully, but these errors were encountered: