Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
/ dumpster Public archive

capped collections, tailable cursor and websockets

Notifications You must be signed in to change notification settings

zoonman/dumpster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dumpster

Join the chat at https://gitter.im/zoonman/dumpster

Little demo for capped collections, tailable cursor and live monitoring in Firefox.

Setup

  1. Create dumpster db

  2. Create log capped collection

     db.createCollection( "log", { capped: true, size: 100000 } )
    
  3. Install all crap

     npm install
     bower install
    
  4. Run the app

     /usr/local/bin/node bin/www
    
  5. Run data generators (you can open several consoles, or use screen sessions)

     php generator.php
    

You can run several generators in the same console (add ampersand to the end of command):

    php generator.php &
  1. Goto http://localhost:3000/

About

capped collections, tailable cursor and websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published