nightcore icon indicating copy to clipboard operation
nightcore copied to clipboard

Documentation and example on running functions from Docker containers

Open mcopik opened this issue 3 years ago • 1 comments

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?

mcopik avatar Aug 11 '21 21:08 mcopik

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.

zhipeng-jia avatar Aug 11 '21 21:08 zhipeng-jia