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

Documentation and example on running functions from Docker containers #3

Open
mcopik opened this issue Aug 11, 2021 · 1 comment
Open

Comments

@mcopik
Copy link

mcopik commented Aug 11, 2021

Hi!

I'm trying to find out how to deploy a larger C++ function with several dependencies (shared libraries) with nightcore. The example demonstrates a single file compiled to a shared library. Similarly, Python examples demonstrate how a single Python function should be run.

How should Docker containers be deployed with nightcore? Looking at the paper, it seems that's the default way of deploying a function. It's unclear to us how the container should be built, and how the service should be launched?

@zhipeng-jia
Copy link
Member

nightcore-benchmarks repo has some examples of running microservice workloads using docker containers with Nightcore. For example, experiments/hipstershop_singlenode/docker-compose.yml in that repo is the docker-compose config for running hipstershop microservices using one function node.

There is no simpler example of running small functions as shown in the example directory.

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

2 participants