Comments (4)
To implement this, there will have to be a flights object of some kind. I'm not sure what information would be on that object itself, other than a primary key which all other objects in the flight would reference.
There would also have to be some kind of initialization system for the flight which would instantiate all of the objects - the simulator, stations, cards, systems, etc.
One final aspect of this would be getting the clients to know that they are part of a flight.
What other information would be attached to the flight object itself?
from thorium.
Flights would be managed entirely on the server using ETS. No data during a flight would be stored in the database. Persistent information, such as available simulators, station configurations, assets, and missions would all be stored in the database, and would be cloned to the server when a flight was created.
You could also serialize and save a flight to the database to be loaded at a later time
This would speed up the client-server communication tremendously by leaving the database latency out of the picture entirely.
from thorium.
Sounds great - I would suggest looking at Agents and not just ETS, but you're on the right track I think.
One thing that would make sense to persist to the database would be analytics and snapshots that could be used to "thaw" a flight. Really, that's all that the "clone" mechanism would do anyway is rebuild runtime information from a snapshot. So, if you can save a flight at a point in time, then thawing it would be your "clone" mechanism.
Analytics would be important to consider here too. I'll open an issue about it with ideas.
-
- 2016 v 17:58, Alex [email protected]:
Flights would be managed entirely on the server using ETS. No data during a flight would be stored in the database. Persistent information, such as available simulators, station configurations, assets, and missions would all be stored in the database, and would be cloned to the server when a flight was created.
You could also serialize and save a flight to the database to be loaded at a later time
This would speed up the client-server communication tremendously by leaving the database latency out of the picture entirely.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from thorium.
Closing because it basically is the same as #27
from thorium.
Related Issues (20)
- Crew Roster Seach is case-sensitive
- Yaw Thrusters are Backwards
- Add Room Search Selection to Team creation
- New System: Hull Plating HOT 1
- New System: Science Labs HOT 1
- Asset Change Macro
- Particle Sensors "Painting" HOT 3
- Sensors array is still visible when External Sensors are powered down.
- Security (and other) teams display room GUID in Deck select. HOT 2
- Sort Room Dropdown Alphabetically
- Power Distribution Bars are Far to Left of Mouse Click
- Time to Location for Sensors
- Constant Rerendering of EngineControl Component
- Tasks Core Damage Reports Broken
- Timer Flashes Core on Completion
- Ability to Copy Multiple Timeline Steps and Paste Them in Another Timeline
- Need to be able to scroll on Triggers
- Renaming Navigation Course Presets
- Crew Category Adjustment (Pronouns instead of Gender)
- Core Feed Notification for Hacking
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 thorium.