March 2010 Sprint, Akara platform notes

Dealing with WSGI

Incremental responses (HTTP 206 return codes)

Mark: it can be difficult to support ranges, even some proxies don't support ranges properly. e.g. some proxies interpret byte ranges before tranfer encodings and some after.

"Hop-by-hop headers" some headers are

In the process perhaps address the issue of closing long-running WSGI requests

Proper, RESTful Web caching
#Generally you would use this service registration mechanism if the service is itself implemented in Akara
@simple_service(..., template='gelookup.json/{place}')
def geolookup():
    #Invoke here
    return 0.0, 0.0

#Generally you would use this config approach for a service alien to Akara
geolookup =
geolookup.template ={place}
from akara.util import service

def client():
    #We want to invoke a remote service here
    s = service('')
    h.request('GET', s.construct_url(place='Boulder, CO'))

Option 2: OpenSearch



Option 3:

No configuration, so we don't have a service, but when someone makes a service req it uses discovery to find that OpenSearch doc

System for testing of custom code


try out RunSnakeRun?

Andrew D will work on profiling command-line option

Tools for service costs & metering


Use-case-based demo of alternative to native SSL support

Akara/March 2010 Sprint/Akara platform notes (last edited 2010-03-04 21:18:38 by UcheOgbuji)