Git Product home page Git Product logo

hammersmith's People

Contributors

bajohns avatar bwmcadams avatar gitter-badger avatar gseitz avatar havocp avatar imikushin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hammersmith's Issues

Instead of SlaveOK, favor new Mongo Driver Standard "Read Preference" Semantics

Read Preference is like Write Concern and can be set implicitly or explicitly.

Once MongoDB 2.0 ships it will support Tags as well, but to start with Read Preference has two states:

"Primary"
"Secondary"

Which indicates a preference for where to read from. primary is equiv of the old slaveOK=False, secondary slaveOK=false

Defer application of MaxBSON Object Size in Insert/Bulk until it's known

This is sort of partially is done right now but basically, right now if we send an insert before we totally read back out the MaxBSONObjectSize.

For now, I've changed it to never do the old default of 0, defaulting instead to the old 4mb. This leaves our only real risk that an early (Before connection is totally shaken out) insert may break a bulk into more messages than possible.

It MAY cause a bug however if we read a large (> 4mb) message too early.

I have wired the callback / queuing to take the arg though.

upgrading to mongo-java-driver-2.6.5 and scala-2.9.1

is there any plan on doing as titled in the near future? i know casbah is not 2.9.1 ready but changes that are required to do so is trivial. i will issue a pull request for that. but for bson driver, i tried to do it but the changes between version 2.5.2 and 2.6.5 of mongo-java-driver is just too great for me to finish in a short time i have available.

Cursor Cleanup / Garbage Collector Thread

Must be attached to individual ChannelHandler; should run on a timer (Actor timer?)... Possibly also triggered by other user configurable Threshold conditions ( Strategy ? ).

EXHAUSTING a cursor should automatically clean it up on server; anytime a cursor is generated with ID 0 (meaning no more on server) or we get a 0 back on a getMore we should obviate the need to GC it.

So we need a way to make sure it gets cleaned up if it isn't fully used. Evaluate Java Driver's current approach.

Finalize method probably isn't safe.

Maybe add the cursor ID to a cleanup queue and remove it if it zeros... but how to detect if it should be cleaned or not?

_id isn't being written at BSONSerializer level

Something is wrong in the code which determines if ID needs to be rewritten. Huge PITA to test, and MongoD generates the _id if it is missing but this needs to be tracked down and fixed.

IP Caching Issues

"Deep inside the Java driver somewhere, the resolved IP is cached, which means if an instance goes down and is replaced with another one, all apps must be restarted in order to see the new IP (yes, we have set all the appropriate ttl properties as per Sun's documentation, it has no effect)."

Refactor packaging & copyright

Project isn't going to transition to a 10gen official, so copyright should become mine (leaving 10gen's in given my work for them in the past) and packaging change to net.evilmonkeylabs or just "hammersmith"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.