An open API service indexing awesome lists of open source software.

https://github.com/zeroasterisk/meteor-throttle-example

Server side throttling for Meteor
https://github.com/zeroasterisk/meteor-throttle-example

Last synced: 5 months ago
JSON representation

Server side throttling for Meteor

Awesome Lists containing this project

README

          

# Meteor Throttle

A Simple (server only) Throttling System for Meteor.

This system uses a new Collection 'throttle' and some helper methods to:
`check`, `set`, and `purge` records. There is also a helper `checkThenSet`
method which is actually the most common pattern, check if we can do something,
and the set a record that we did.

* http://throttle-example.meteor.com
* [https://github.com/zeroasterisk/Meteor-Throttle-Example](https://github.com/zeroasterisk/Meteor-Throttle-Example)
* main *throttle* package
* [https://github.com/zeroasterisk/Meteor-Throttle](https://github.com/zeroasterisk/Meteor-Throttle)
* [Atmosphere Package](https://atmospherejs.com/zeroasterisk/throttle)
* additiional *throttle* package
* [https://github.com/zeroasterisk/Meteor-Throttle-Accounts](https://github.com/zeroasterisk/Meteor-Throttle-Accounts)
* [Atmosphere Package](https://atmospherejs.com/zeroasterisk/throttle-accounts)

## Install

Simple package [Atmosphere Package](https://atmospherejs.com/zeroasterisk/throttle) install is all you need:

meteor add zeroasterisk:throttle

Optionally add an [Accounts Throttling](https://atmospherejs.com/zeroasterisk/throttle-accounts) "extra" if you want:

meteor add zeroasterisk:throttle-accounts

----

For more info see

* http://throttle-example.meteor.com
* https://github.com/zeroasterisk/Meteor-Throttle