Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » data sharing with differents projects [RSS Feed]

#1 Dec. 21, 2010 15:31:09

o.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

data sharing with differents projects


Allo Gang,

I have a couple Django applications which are responsible for managing
MySQL data, but some are only-readable tables. (You could open this
mini-schemahttp://pastebin.com/DiZiEFbT)
These ones come from synchro system : datamaster push selected data on
differents projects (on differents servers) but only in this way.

I would change the paradigm, and a Project X and/or Project Y would be
responsible for updating some shared data. These data would
be accessible from another Project Z.

There are several options :

* the first one, ROA to keep data in only one place, like that, but we
lost the constraints from Db, and we lost ability to realize JOIN on
tables.
(Nb : a project can be on server in africa with very low bandwith, and
datamaster in canada)

* app itself responsible to synchronize a local db write and
datamaster remote write. In this case, remote write can be delayed,
but it introduces write access in same time, from different app.
(using multi-db from django 1.2)

* Keep synchro system, and add new synchro routes to populate
datamaster from Project X/Y, and manage (?models will need to be
change probably) the merging of data... archh.

I really appreciate your feedback, and I am full open with all your
ideas.
Thanks, Olivier.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » data sharing with differents projects [RSS Feed]

Board footer

Moderator control

Enjoy the 21st of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support