I think the code is pretty simple to read: https://github.com/racket/web-server/blob/master/web-server-lib/web-server/managers/lru.rkt#L42
It just uses current-memory-use, which looks at the entire VM's memory usage. It is conceivable to grab the servlet's custodian and look at just the cost of the servlet, but unless there are many servlets, that will basically be the same value. Jay On Sat, Apr 18, 2015 at 5:06 PM, George Neuner <gneun...@comcast.net> wrote: > Hi Jay, > > Thanks. One more question: is there a way to determine the size of the > continuation cache so as to write a useful (should I) collect? function for > create-LRU-manager? What statistic is the threshold-LRU-manager checking? > > George > > > On 4/18/2015 4:28 PM, Jay McCarthy wrote: >> >> Unless you want to just write a RESTful API, you want >> send/suspend/dispatch and you can make any kind of response you want. >> The documentation uses response/xexpr but you could put the URL >> anywhere you'd like, including sending it in an email or through >> carrier pigeon. >> >> Jay >> > -- Jay McCarthy http://jeapostrophe.github.io "Wherefore, be not weary in well-doing, for ye are laying the foundation of a great work. And out of small things proceedeth that which is great." - D&C 64:33 -- 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. For more options, visit https://groups.google.com/d/optout.