diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-05-07 21:35:01 +0200 |
---|---|---|
committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-05-07 21:35:01 +0200 |
commit | 2f24ba4392697867f995997e09cd47eff771b618 (patch) | |
tree | 269bf7e72e8d28424dae4bba7b028836bcb998bf /content/en/blog/news | |
parent | 1d2c3186484c51f4aebbff5807c8e78bfec0436d (diff) | |
download | website-2f24ba4392697867f995997e09cd47eff771b618.tar.gz website-2f24ba4392697867f995997e09cd47eff771b618.zip |
blog: Update Python post with load-balancing
Diffstat (limited to 'content/en/blog/news')
-rw-r--r-- | content/en/blog/news/20200507-python-lb.png | bin | 0 -> 218383 bytes | |||
-rw-r--r-- | content/en/blog/news/20200507-python.md | 13 |
2 files changed, 10 insertions, 3 deletions
diff --git a/content/en/blog/news/20200507-python-lb.png b/content/en/blog/news/20200507-python-lb.png Binary files differnew file mode 100644 index 0000000..89e710e --- /dev/null +++ b/content/en/blog/news/20200507-python-lb.png diff --git a/content/en/blog/news/20200507-python.md b/content/en/blog/news/20200507-python.md index 752ded1..d4b3504 100644 --- a/content/en/blog/news/20200507-python.md +++ b/content/en/blog/news/20200507-python.md @@ -1,6 +1,6 @@ --- date: 2020-05-07 -title: "A python API for Ouroboros" +title: "A Python API for Ouroboros" linkTitle: "Python" description: "Python" author: Dimitri Staessens @@ -23,7 +23,7 @@ blocks of memory (flow\_read, but definitely the async fevent() call). And now there is path towards a 'nice' Python API. Here is a taste of what the -[eocho](https://ouroboros.rocks/cgit/ouroboros/tree/src/tools/oecho/oecho.c) +[oecho](https://ouroboros.rocks/cgit/ouroboros/tree/src/tools/oecho/oecho.c) tool looks like in Python: ```Python @@ -60,7 +60,14 @@ if __name__ == "__main__": ``` I have more time in the next couple of days, so I expect this to be -released after the weekend. Can't wait to get the full API done! +released after the weekend. + +Oh, and here is a picture of Ouroboros load-balancing between the C (top right) +and Python (top left) implementations using the C and Python clients: + +{{<figure width="60%" src="/blog/news/20200507-python-lb.png">}} + +Can't wait to get the full API done! Cheers, |