diff options
Diffstat (limited to 'content/en/blog')
-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, |