Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inter Prozess Kommunikation von Ramdrive auf MariaDB umstellen #1

Open
BjoernSch opened this issue Feb 3, 2016 · 4 comments
Open
Milestone

Comments

@BjoernSch
Copy link
Contributor

Entschieden ist, das die Ablage der Daten und die Kommunikation (per Tabellen/ Trigger) in Postgres stattfinden wird.

@BjoernSch BjoernSch added this to the Alpha milestone Feb 3, 2016
@Phantomias2006
Copy link
Contributor

Ist Posgres noch aktuell oder steigen wir auf mysql oder sqlite um?

@BjoernSch
Copy link
Contributor Author

MySQL, bzw. MariaDB da ich Raspbian Stretch als Plattform nehmen würde.

@Phantomias2006
Copy link
Contributor

Hört sich gut an. Gewisse dinge würde ich in der Datenbank direkt als JSON Speichern.
Beispiel:
PID Profile
id|data|last_change
"pid": { "name": "SSR SousVide", "id": 0, "aktor": 0, "Kp": 165.00, "Ki": 0.59, "Kd": 1000.00, "Kp_a": 100.00, "Ki_a": 0.08, "Kd_a": 5.00, "DCmmin": 0, "DCmmax": 100 }

Für jedes Profil gibt es dann einen eintrag in der DB.
Der Vorteil wäre dass wir nicht permanent neue Datenbankfelder hinzufügen bzw. die Datenbank migrieren müssen wenn mal ein Wert wegfällt bzw. hinzukommt.

@BjoernSch
Copy link
Contributor Author

Ich würde momentan sogar einige Dinge als Datei speichern. Das JSON, (bzw. momentan YAML) kann man dann momentan ziemlich einfach bearbeiten und anpassen.

@Phantomias2006 Phantomias2006 changed the title Inter Prozess Kommunikation von Ramdrive auf Postgres umstellen Inter Prozess Kommunikation von Ramdrive auf MariaDB umstellen Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants