Comments (14)
I am working on a fix for duplicate tweets.
from liveactionmap.
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.
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.
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.
@DomiiBunn mentioned firebase, would work here.
from liveactionmap.
@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.
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.
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.
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.
Let's just go with a json file.
from liveactionmap.
Sounds good to me
from liveactionmap.
Nvm, I failed miserably at it.
from liveactionmap.
I'd love to help but python ain't my coup of tea
from liveactionmap.
Sure-a-mundo
from liveactionmap.
Related Issues (20)
- Cache Nominatim geocoding API HOT 1
- Add time to popup HOT 2
- Add CI/CD and Tests HOT 14
- Move periodic tasks away from cron jobs HOT 4
- Dynamic Fronted HOT 3
- Analitics HOT 2
- Community: Discord server HOT 2
- IP Blocking - Russia? HOT 15
- Backend API HOT 1
- Feature Suggestion: Plane Tracking HOT 7
- Adding collaborators who are able to check pull requests and Issues HOT 1
- Connection error with geolocator HOT 2
- add website domain in repo website HOT 7
- API: Markers HOT 2
- Add a .onion link HOT 5
- API: Zones
- Self-host a Nominatim Service HOT 1
- Remove temporary tweets file after every x minutes. HOT 1
- Trigger GitLab CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liveactionmap.