Reactive Server Pages (RSP) released!
I’m pleased to announce the release of Reactive Server Pages (RSP)
Reactive Server Pages (RSP) bring some concepts of reactive languages to the realm of server-side web development.
RSP rearrange the way web applications are developed.
A web application conceptually becomes a single file that executes from its first to its last line.
The programmer can use structured programming with loops and recursive calls.
RSP are based on LuaGravity, which extends the Lua language with reactive data and control primitives.
Any feedback is welcome.
Homepage: http://www.lua.inf.puc-rio.br/~francisco/rsp/
Git Hub: http://github.com/fsantanna/luarsp
This has the potential to be a very performant platform for web services. Unlike LAMP applications or ORM-based frameworks, RSP generally isn’t going back to the disk for session data. This is better than a 100% hit rate on a cache because the overhead is lower.
I plan to use this to schedule write access to objects in a game engine. The engine I’m replacing uses file locks to serialize all access. The new engine will reuse a significant amount of the existing code, but handle concurrent games in a concurrent way.
Chris Babcock
August 12, 2010 at 3:55 am
Hey Chris,
Please keep me informed of your advances.
I’m very interested in real uses of this platform.
Thanks,
Francisco
francisco
August 12, 2010 at 1:05 pm
I’ll be using LuaGravity to replace the main processing routine, but using RSP as the users’ avatars. The avatar is basically the players’ logical point of presence in the game system. It sits behind connection and authentication layers to provide a single logical session across all the interfaces where the user is authenticated so that game events can be communicated via “best way”… or that’s the intention.
Chris Babcock
September 17, 2010 at 5:10 am
RSP is impressive. Does it currently handle rendering mime types such as ‘image/jpeg’ and ‘image/jpg’?
Anonymous
October 8, 2010 at 6:03 pm
no, sorry…
francisco
January 26, 2011 at 4:34 pm