opa - Scaling with the built in database -
if use built in database comes opa , create single executable how possible scale multiple instances? example, compile app , myapp.exe, understand exe contains database. if want run multiple instances of myapp.exe how synchronize multiple instances of database contained in each exe?
to run several instances of myapp.exe
, start opa-db-server
(installed opa package) --db-local dbname
option. run instances of myapp.exe
--db-remote:dbname host
connect it.
if need more in term of scalability, can use mongodb backend.
for further information, read http://doc.opalang.org/#!/manual/the-database
Comments
Post a Comment