nightcore
nightcore copied to clipboard
Documentation and example on running functions from Docker containers
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?
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.