jonathonmcmurray / qwebapi Goto Github PK
View Code? Open in Web Editor NEWA simple framework/library for creating a web (REST) API powered by kdb+/q
License: MIT License
A simple framework/library for creating a web (REST) API powered by kdb+/q
License: MIT License
Current implementation is synchronous. HTTP spec allows for async handling via status code 202 (https://tools.ietf.org/html/rfc7231#section-6.3.3)
This should be implemented something like follows:
queue
table which will track details of (at least)
Location
header for queued resource e.g.HTTP/1.1 202 Accepted
Location: /queue/12345
/queue/12345
for updated status on jobqueue
, it will be processed & status updated to done/queue/12345
for completed job, response will be status 303 See Other (https://tools.ietf.org/html/rfc7231#section-6.4.4) with location of finished response e.g.HTTP/1.1 303 See Other
Location: /thing/97865
To allow API process to remain responsive to intermediate requests to /queue
etc., processing should likely be done by another process, connecting via IPC & querying the queue
table to get a job to do. However, this is considered beyond the scope of this module. Within webapi
, we will provide the functionality to build the queue
& send status updates to incoming queries to /queue
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.