silkapp / starling Goto Github PK
View Code? Open in Web Editor NEWFork of starling, Haskell memcached binding
License: BSD 3-Clause "New" or "Revised" License
Fork of starling, Haskell memcached binding
License: BSD 3-Clause "New" or "Revised" License
The silkapp
branch of starling
includes support for setting an expiration date in cache entries.
This should either be brought over as-is, or via new set/add/replace functions.
The memcached
expiration parameter is weird, so we may also want to make it more friendly.
When sending requests from the client to the server we send an incrementing serial number to the server, and it sends back the same serial number on the response. We use this to match up our response to the callback to send it to.
If the serial number of the response is less than the serial number of the first pending callback, we should discard the response. If the serial number of the response is greater than the first pending callback we should discard the callback.
This is not fully implemented, because we also need to implement rolling-over the serial-number counter. Also we would need to send an error to the waiting callback so their thread is hung on an MVar
forever.
Currently we never discard the first pending callback, under the assumption the server will never drop requests.
The function we need to modify is compareOpaque
. RFC 1982 should help somewhat.
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.