Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

add zoot-activate framework#880

Closed
fwbrasil wants to merge 1 commit intoTechEmpower:masterfrom
fwbrasil:master
Closed

add zoot-activate framework#880
fwbrasil wants to merge 1 commit intoTechEmpower:masterfrom
fwbrasil:master

Conversation

@fwbrasil
Copy link
Copy Markdown
Contributor

This PR introduces the zoot-activate stack as the replacement for play-activate-mysql.

Related issues:
#707 - Fix the return json for single db query.
#659 - Disable the cache and use eager queries, producing the same amount of database roundtrips as the other implementations.

Permutations:

finagle-mongo
finagle-mysql
finagle-postgres
spray-mongo
spray-mysql
spray-postgres

Related frameworks:

http://github.com/fwbrasil/zoot
http://github.com/fwbrasil/activate
http://github.com/twitter/finagle
http://github.com/spray/spray

@fwbrasil
Copy link
Copy Markdown
Contributor Author

@bhauer I think this is good to go, but I couldn't setup a ec2 instance to test it. The software installation fails on a different point at each tentative. Do you have a prepared ec2 image that I can use?

@bhauer
Copy link
Copy Markdown
Contributor

bhauer commented Jun 22, 2014

@fwbrasil Not yet. Creating an AMI has been something that we would like to do. I'll chat with the team over here in the coming week to see if we can move that forward.

@fwbrasil fwbrasil changed the title [wip] add zoot-activate framework add zoot-activate framework Jun 25, 2014
@fwbrasil
Copy link
Copy Markdown
Contributor Author

@bhauer This PR is ready to merge. Is it possible to include for Round 10? Thanks!

@fwbrasil
Copy link
Copy Markdown
Contributor Author

cc @jyentechempower

@bhauer
Copy link
Copy Markdown
Contributor

bhauer commented Jun 26, 2014

@fwbrasil Thanks for this! Yes, we will aim to get this merged in for Round 10.

@fwbrasil
Copy link
Copy Markdown
Contributor Author

@bhauer Cool, please let me know if you create an AMI so I can test on ec2 too.

@bhauer
Copy link
Copy Markdown
Contributor

bhauer commented Jun 30, 2014

@fwbrasil I think you saw the post by @methane on the Google Group--he has created an AMI for his own testing and made it available for others. I'm just mentioning it here in case others are interested in using that AMI now.

In the near future we also plan to have Docker images set up for the three machine roles (application server, database server, and load generator). Our current ETA is later this week.

@aschneider-techempower
Copy link
Copy Markdown
Contributor

For whatever reason, when I try to run the tests, I get the following

test.os.lower() = linux  test.database_os.lower() = linux
self.results['frameworks'] != None: True
test.name: zoot-activate-finagle-mongo
self.results['completed']: {}

=====================================================
  Beginning zoot-activate-finagle-mongo
-----------------------------------------------------

-----------------------------------------------------
  Starting zoot-activate-finagle-mongo
-----------------------------------------------------
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-30-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Fri Jul 18 17:40:04 EDT 2014

  System load:  0.0                Processes:            416
  Usage of /:   0.3% of 884.81GB   Users logged in:      0
  Memory usage: 5%                 IP address for p6p1:  10.0.3.5
  Swap usage:   0%                 IP address for bond0: 69.194.0.135

  Graph this data and manage this system at:
    https://landscape.canonical.com/

26 packages can be updated.
15 updates are security updates.

mysql start/running, process 21320
mongodb start/running, process 21385
 * Restarting PostgreSQL 9.3 database server
   ...done.

And nothing else. The entire benchmark quits afterward.

While you are at it, can you please add or copy over the files that are required by #900?

@aschneider-techempower
Copy link
Copy Markdown
Contributor

I was mistaken before - we were having issues with a lot of Scala tests. That has since been resolved.

zoot-activate-finagle-postgres, zoot-activate-spray-mongo, zoot-activate-spray-mysql, and zoot-activate-spray-postgres fails all the tests. We also noticed that your setup.py is not always successful in killing the process. Are there any ways that you can increase the success rate?

@fwbrasil
Copy link
Copy Markdown
Contributor Author

@aschneider-techempower Thanks for the logs, I'll verify. Do you have a deadline to merge this PR?

@aschneider-techempower
Copy link
Copy Markdown
Contributor

There's no hard and fast deadline, but we are currently doing our preliminary tests. It will probably be a couple weeks before we get a benchmark out, but the sooner the better.

@hamiltont
Copy link
Copy Markdown
Contributor

@fwbrasil We now have a continuous integration system setup. If you rebase this pull request onto master, then it will automatically verify your changes. We can merge it in as soon as the verification passes :)

@hamiltont
Copy link
Copy Markdown
Contributor

Oh, you will also need to edit .travis.yml to remove the line for play-activate-mysql and enter a new line for zoot-activate

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change ../sbt/sbt clean run to $FWROOT/sbt/sbt (from change in #915)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants