From 2f24ba4392697867f995997e09cd47eff771b618 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Thu, 7 May 2020 21:35:01 +0200 Subject: blog: Update Python post with load-balancing --- content/en/blog/news/20200507-python-lb.png | Bin 0 -> 218383 bytes content/en/blog/news/20200507-python.md | 13 ++++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 content/en/blog/news/20200507-python-lb.png diff --git a/content/en/blog/news/20200507-python-lb.png b/content/en/blog/news/20200507-python-lb.png new file mode 100644 index 0000000..89e710e Binary files /dev/null and b/content/en/blog/news/20200507-python-lb.png differ 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: + +{{
}} + +Can't wait to get the full API done! Cheers, -- cgit v1.2.3