deft icon indicating copy to clipboard operation
deft copied to clipboard

High performance non blocking web framework

Results 41 deft issues
Sort by recently updated
recently updated
newest added

From tornadoweb (applies to deft also): http.fetch("http://friendfeed-api.com/v2/feed/bret", callback=self.async_callback(self.on_response)) "If you make calls to asynchronous library functions that require a callback (like the HTTP fetch function above), you should always wrap...

core
0.4.0

Exception in thread "I/O-LOOP" java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) at java.nio.channels.SelectionKey.isAcceptable(SelectionKey.java:342) at org.deftserver.io.IOLoop.start(IOLoop.java:77) Would it be a reasonable solution to change the catch clause from catch(IOException e) to catch(Exception e)?

on deftserver.org - @Authenticated - pros/cons on using AsynchronousSocket over pure IOHandler - async http client? - "multi-threading"

web page

0.4.0
web server

The outcome after a discussion with github.com/inferno-: (In the current design) it's volatile to have fields in user defined RequestHandlers in conjunction with asynchronous calls. (intermediate request (to same RH)...

core
experimental
0.4.0
web server

could be a useful resource: http://jetty.codehaus.org/jetty/jetty-6/xref/org/mortbay/jetty/security/SslSelectChannelConnector.html

0.4.0
AsyncHttpClient

If a server wants to start sending a response before knowing its total length (like with long script output), it might use the simple chunked transfer-encoding, which breaks the complete...

0.4.0
web server

Run the benchmarks (https://github.com/rschildmeijer/deft-benchmark) against the newest version of Tornado (1.2 is latest) and node.js (0.4.1 is latest)

web page

Another good point made by github/williame This is how we append data to the read buffer in the (buffered) AS. readBuffer.append(new String(buffer.array(), 0, buffer.position(), Charsets.US_ASCII)); It's probably a bad idea...

core
0.4.0