chakra-coder / swiftcloud Goto Github PK
View Code? Open in Web Editor NEWThis project forked from syncfree/swiftcloud
License: Apache License 2.0
This project forked from syncfree/swiftcloud
License: Apache License 2.0
SwiftCloud: a causally-consistent CRDT object database for client-side apps This repository contains the prototype database SwiftCloud, described in the following publications: 1. "Write Fast, Read in the Past: Causal Consistency for Client-side Applications" by Marek Zawirski, Nuno Preguiça, Sérgio Duarte, Annette Bieniusa, Valter Balegas, and Marc Shapiro, in the proceedings of Middleware 2015, also available in extended version as an Inria technical report (https://hal.inria.fr/hal-01158370) 2. "SwiftCloud: Fault-Tolerant Geo-Replication Integrated all the Way to the Client Machine" (old version, subsumed by 1.) by Marek Zawirski, Annette Bieniusa, Valter Balegas, Sérgio Duarte, Carlos Baquero, Marc Shapiro, and Nuno Preguiça, available as Inria technical report from 2013 (http://hal.inria.fr/hal-00870225) This codebase served in the experiments for the publicaiton 1. The code is licensed under The Apache License Version 2.0 (LICENSE), provided in the spirit of CRAPL license (CRAPL-LICENSE), i.e., it is ugly to read/use and far from production ready. === SwiftCloud crash course === TODO === Example applications === - SwiftSocial - a simple social network application modeled after WaltSocial - Port of YCSB benchmark - File system with FUSE bindings === Running scripts === Deployment scripts for experiments are implemented in Groovy. The scripts are in scripts/groovy/deployment directory, both deployment classes definitions (such as SwiftBase.groovy, SwiftSocial2.groovy etc.) and concrete experiment instances (runsocialmanual.groovy etc.). To run the scripts, you need: (1) groovy and ant installed on your machine, and (2) bin/ directory with compiled sources (e.g., generated by Eclipse by default) (2) ssh access configured for the target machine. In the case of EC2 machines used in experiments, the simplest is to configure your ssh like this: Host *.compute.amazonaws.com StrictHostKeyChecking no UserKnownHostsFile=/dev/null IdentityFile PATH_TO_SSH_KEY_GOES_HERE Host *.compute-1.amazonaws.com StrictHostKeyChecking no UserKnownHostsFile=/dev/null IdentityFile PATH_TO_SSH_KEY_GOES_HERE To run experiments, use scripts from scripts/groovy/swift/deployment E.g. to run a single swiftsocial experiment manually: ./scripts/groovy/swift/deployment/runsocialmanual.groovy (edit that example to modify SwiftSocial2 parameters) E.g. to run a series of experiments oriented at scalability: ./scripts/groovy/swift/deployment/runscalabilitythroughput.groovy The experiments generate log files. To generate plots from the logs, use scripts from eval_R/. e.g. to generate a detailed analysis of a run: Rscript eval_R/analyze_run.R all <run_logs.tar.gz> [output directory] e.g. to compare different runs: use eval_R/compare_runs.R and associated Makefiles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.