Code Monkey home page Code Monkey logo

Comments (3)

timolson avatar timolson commented on May 29, 2024

The only difference with the console mode is saving to the database. If it's Book data, then a diff is also calculated but that shouldn't take long. Some full Book snapshots are up to 500k in the database, so it might be that such a large record takes more than 100ms to send over the network, save to the DB, and return a confirmation. If it really is that slow (just a hypothesis), then I don't see what could be done for AWS freebies. Spinning up a thread in the background to batch & flush DB inserts wouldn't help, I guess?

from cointrader.

douggie avatar douggie commented on May 29, 2024

Hi tim,

Indeed it is the inserts taking a while. Unless you have any objection i will change the persitutil to use a thread pool and loog an error if not persited with a timeout set in the config file.

from cointrader.

timolson avatar timolson commented on May 29, 2024

I thought there was already a separate insert thread? Maybe I'm thinking
of another project... Definitely a good idea.

On Mon, Aug 11, 2014 at 11:56 PM, douggie [email protected] wrote:

Hi tim,

Indeed it is the inserts taking a while. Unless you have any objection i
will change the persitutil to use a thread pool and loog an error if not
persited with a timeout set in the config file.


Reply to this email directly or view it on GitHub
#62 (comment).

from cointrader.

Related Issues (20)

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.