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

database #9

Open
MartijnR opened this issue Jul 30, 2014 · 3 comments
Open

database #9

MartijnR opened this issue Jul 30, 2014 · 3 comments

Comments

@MartijnR
Copy link
Member

Code is written to facilitate asynchronous db actions (to replace the asynchronous filesystem actions).

Some considerations about picking a database solution that scales well:

  • efficient data exports
  • able to deal with large amount of simultaneous submissions (e.g. after server downtime)
@MartijnR
Copy link
Member Author

MartijnR commented Aug 1, 2014

dat is interesting!

@MartijnR
Copy link
Member Author

MartijnR commented Jun 20, 2017

It may be best to clearly define a connector API for a particular storage option/brand, and add one sample connector. Community to add additional ones.

So just choose a document storage service such as Digital Ocean Object storage or dat or Firebase, as the default without analysing if it's the really the best there is.

form.add(xml, resources)
form.update(xml, resources)
form.remove(formId)

record.add(xml, resources)
record.update(xml, resources)
record.remove(instanceId)

records.getAll(formId)
records.get(query)

define return values

(publishing should be separate from this, perhaps so that the same publishing options are available for all storage options)

@MartijnR
Copy link
Member Author

MartijnR commented May 1, 2019

BaseX is also interesting: http://basex.org/basex/server/

https://github.com/BaseXdb/basex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant