Skip to content

mib00038/feedme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Instructions : https://github.com/skybet/feedme-tech-test/

  • Technology choices

I Developed on a Ubuntu 16.0.04 machine and used the following;

IntelliJ IDEA as the IDE.

Java & Junit 4

Maven to manage a project's build process.

MongoDB (version 4.0.0) as the NoSql datatbase. https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

Mongo Java Driver 3.8.0 http://mongodb.github.io/mongo-java-driver/3.8/

ZeroMQ http://zeromq.org/intro:read-the-manual

Other dependencies can be viewed in project pom.xml

  • Instructions

Application creates database named 'feedme' & collection named 'fixtures'

Before running a Test or the main Application, Start MongoDB from a linux terminal: sudo service mongod start

Start the feeme Service, from the project root directory: docker-compose up

After running a Test or the main Application, you can view the documents persisted in the fixtures collection of the 'feedme' database: use feedme db.fixtures.find().pretty()

  • Further Comments

ZeroMq was used to implement the messgae queues for the advanced json packet sharding / partitioning. In the main Application, an executor service is used to 'simulate' the effect of runnning a single json publisher app and multiple independant NoSQL writers (json consumers) apps.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages