Giter Club home page Giter Club logo

Comments (14)

sahal-mulki avatar sahal-mulki commented on July 17, 2024 1

I am working on a fix for duplicate tweets.

from liveactionmap.

laurin avatar laurin commented on July 17, 2024

We should also store the time the tweet was created and discard tweets after a certain time or allow the user to select a time-range. The latter would probably require the map to be generated client-side.

from liveactionmap.

kinshukdua avatar kinshukdua commented on July 17, 2024

I agree a json-file is probably the best option. I don't think we should generate things client side, especially because that might add unnecessary lag, especially in places where there might be very slow internet because of the current circumstances. I want to serve a static html to keep the load times as low as possible. Lets just keep set discard tweet time as a parameter server side.

from liveactionmap.

Krishna-Sivakumar avatar Krishna-Sivakumar commented on July 17, 2024

We can consider SQLite here too, since it's simple and file-based. It sounds like we're performing some conditional manipulation, and this will help us cut down on time complexity.

from liveactionmap.

Krishna-Sivakumar avatar Krishna-Sivakumar commented on July 17, 2024

@DomiiBunn mentioned firebase, would work here.

from liveactionmap.

DomiiBunn avatar DomiiBunn commented on July 17, 2024

@DomiiBunn mentioned firebase, which would work here.

It depends on the complexity you'd look for. Firebase is a nice balance between file storage(JSON files, SQLite, etc) and standalone databases as it's almost as flexible as and handles security, hosting, high availability and at the usage, we'd be expecting it should be fully free. As long as DB reads are cached that is.

from liveactionmap.

kinshukdua avatar kinshukdua commented on July 17, 2024

The reason I'm a little hesitant about firebase is that it adds another steps for developed looking to reproduce the repo and contribute. The simpler the project, the easier it is to contribute (as long as it doesn't impact performance or features).

from liveactionmap.

DomiiBunn avatar DomiiBunn commented on July 17, 2024

Use a config file and specify

useDatabaseCache: false

That way for a larger deployment it's worth caching and for personal deployment it's still working fine without added complexity

from liveactionmap.

DomiiBunn avatar DomiiBunn commented on July 17, 2024

Or using redis but idk how painful it is to implement with python

And i think it would be a bit of an over kill.

from liveactionmap.

Krishna-Sivakumar avatar Krishna-Sivakumar commented on July 17, 2024

Let's just go with a json file.

from liveactionmap.

DomiiBunn avatar DomiiBunn commented on July 17, 2024

Sounds good to me

from liveactionmap.

sahal-mulki avatar sahal-mulki commented on July 17, 2024

Nvm, I failed miserably at it.

from liveactionmap.

DomiiBunn avatar DomiiBunn commented on July 17, 2024

I'd love to help but python ain't my coup of tea

from liveactionmap.

sahal-mulki avatar sahal-mulki commented on July 17, 2024

Sure-a-mundo

from liveactionmap.

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.