ut-osa / nightcore

Nightcore: Efficient and Scalable Serverless Computing for Latency-Sensitive, Interactive Microservices [ASPLOS '21]
Apache License 2.0
97 stars 23 forks source link

Documentation and example on running functions from Docker containers #3

Open mcopik opened 3 years ago

mcopik commented 3 years ago

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 commented 3 years ago

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.