Re: [racket-users] Re: HTTP Server and CPU usage

2016-02-21 Thread Jay McCarthy
Indeed, it is exactly node.js without callbacks... that's what user-level threading systems are. The callback you construct manually in node.js is equivalent to the continuation that the threading system constructs automatically (and that you can too with call/cc.) -- It is definitely not as effi

[racket-users] sxml-overview package

2016-02-21 Thread Neil Van Dyke
FYI, to SXML-using Racketeers... I'm moving from PLaneT to the new package system today, so here's info on some SXML-related things that I expect to do today: * Today I expect to add a small documentation-only package for all things SXML-related in Racket, probably called `sxml-overview`. Thi

[racket-users] Re: HTTP Server and CPU usage

2016-02-21 Thread Piyush Katariya
Thanks for reply Jay. So its sound like node.js without callbacks, thats pretty sweet ! I am wondering how efficient it is compared to libuv ? Thanks, Piyush Katariya -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this gro

Re: [racket-users] Re: HTTP Server and CPU usage

2016-02-21 Thread Jay McCarthy
It does not block IO calls by default. Internally it is use asynchronous polling APIs to cause Racket threads to wait until the file descriptors they block on are ready. Jay On Sun, Feb 21, 2016 at 8:28 AM, Piyush Katariya wrote: > BTW if it has Single system thread does it block IO calls by def

Re: [racket-users] Typed Racket

2016-02-21 Thread WarGrey Gyoudmon Ju
On Sun, Feb 21, 2016 at 4:13 PM, Asumu Takikawa wrote: > On 2016-02-21 13:23:40 +0800, WarGrey Gyoudmon Ju wrote: > >(exn:break:hang-up) and (exn:break:terminate) are useful in server > >application, if I (typed/require) them in the a common rkt and this > file > >is also (require)ed

[racket-users] Re: [racket] are people using untyped/snooze?

2016-02-21 Thread jun lin
在 2012年2月10日星期五 UTC+8上午2:59:53,Jens Weber写道: > Hello Eduardo and all, > > > I would also really like to get ORM (snooze) running with Racket. Have you > found a solution? > It's unfortunate that the ORM packet is broken. Database connectivity is such > an important aspect of any real world appl

[racket-users] Re: HTTP Server and CPU usage

2016-02-21 Thread Piyush Katariya
BTW if it has Single system thread does it block IO calls by default ? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com.

[racket-users] Re: HTTP Server and CPU usage

2016-02-21 Thread Piyush Katariya
State will be in database. So Racket server will be stateless. Is there any library to support and manage different process in bakground. Just like we have "cluster" module in node.js -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscri

Re: [racket-users] Typed Racket

2016-02-21 Thread Asumu Takikawa
On 2016-02-21 13:23:40 +0800, WarGrey Gyoudmon Ju wrote: >(exn:break:hang-up) and (exn:break:terminate) are useful in server >application, if I (typed/require) them in the a common rkt and this file >is also (require)ed by scribble (which is untyped), then it will complains >that th