Created
November 8, 2012 22:52
-
-
Save smetj/4042390 to your computer and use it in GitHub Desktop.
A "Tipping Bucket" buffer for WishBone.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/smetj/experiments/blob/master/python/wishbone/tippingbucket/tippingbuckettest.py | |
[root@sandbox tippingbucket]# ./tippingbuckettest.py debug --config tippingbuckettest.cfg | |
2012-11-11 23:21:57,743 INFO Server: Starting TippingBucketTest in foreground. | |
2012-11-11 23:21:57,745 INFO Server: Instance #0 started. | |
2012-11-11 23:21:57,746 INFO Server: Started with pids: 21325, 21326 | |
2012-11-11 23:21:57,765 INFO Intance #0:inputgenerator: Initiated | |
2012-11-11 23:21:57,767 INFO Intance #0:tippingbucket: Initiated. | |
2012-11-11 23:21:57,767 INFO Intance #0:gotmessage: Initiated. | |
2012-11-11 23:21:57,768 INFO Intance #0:inputgenerator: Next outage is planned at Sun, 11 Nov 2012 23:22:04 +0000 | |
2012-11-11 23:21:57,769 INFO Intance #0:gotmessage: Started. | |
2012-11-11 23:21:57,769 INFO Intance #0:inputgenerator: Started | |
2012-11-11 23:21:57,770 INFO Intance #0:tippingbucket: Started. | |
2012-11-11 23:22:04,486 INFO Intance #0:inputgenerator: Outage of 15.4913037236 seconds started. | |
2012-11-11 23:22:19,980 INFO Intance #0:inputgenerator: Outage finished. | |
2012-11-11 23:22:19,981 INFO Intance #0:inputgenerator: Next outage is planned at Sun, 11 Nov 2012 23:22:26 +0000 | |
2012-11-11 23:22:20,043 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:20,043 INFO Intance #0:gotmessage: Got message with a size of 25001 characters. | |
2012-11-11 23:22:20,166 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:20,167 INFO Intance #0:gotmessage: Got message with a size of 25013 characters. | |
2012-11-11 23:22:20,292 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:20,292 INFO Intance #0:gotmessage: Got message with a size of 25023 characters. | |
2012-11-11 23:22:20,414 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:20,415 INFO Intance #0:gotmessage: Got message with a size of 25049 characters. | |
2012-11-11 23:22:20,534 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:20,534 INFO Intance #0:gotmessage: Got message with a size of 25049 characters. | |
2012-11-11 23:22:20,665 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:20,665 INFO Intance #0:gotmessage: Got message with a size of 25054 characters. | |
2012-11-11 23:22:22,323 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:22,324 INFO Intance #0:gotmessage: Got message with a size of 25032 characters. | |
2012-11-11 23:22:25,779 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:25,781 INFO Intance #0:gotmessage: Got message with a size of 25039 characters. | |
2012-11-11 23:22:26,811 INFO Intance #0:inputgenerator: Outage of 11.1176135537 seconds started. | |
2012-11-11 23:22:35,904 INFO Intance #0:gotmessage: Got message with a size of 7269 characters. | |
2012-11-11 23:22:36,003 INFO Intance #0:tippingbucket: Age of buffer exceeded 10 seconds. Flushed. | |
2012-11-11 23:22:37,932 INFO Intance #0:inputgenerator: Outage finished. | |
2012-11-11 23:22:37,934 INFO Intance #0:inputgenerator: Next outage is planned at Sun, 11 Nov 2012 23:22:41 +0000 | |
2012-11-11 23:22:37,974 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:37,975 INFO Intance #0:gotmessage: Got message with a size of 25055 characters. | |
2012-11-11 23:22:38,101 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:38,102 INFO Intance #0:gotmessage: Got message with a size of 25075 characters. | |
2012-11-11 23:22:38,232 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:38,233 INFO Intance #0:gotmessage: Got message with a size of 25027 characters. | |
2012-11-11 23:22:40,307 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:40,309 INFO Intance #0:gotmessage: Got message with a size of 25019 characters. | |
2012-11-11 23:22:41,873 INFO Intance #0:inputgenerator: Outage of 15.1810366618 seconds started. | |
2012-11-11 23:22:50,411 INFO Intance #0:gotmessage: Got message with a size of 11957 characters. | |
2012-11-11 23:22:50,512 INFO Intance #0:tippingbucket: Age of buffer exceeded 10 seconds. Flushed. | |
2012-11-11 23:22:57,078 INFO Intance #0:inputgenerator: Outage finished. | |
2012-11-11 23:22:57,079 INFO Intance #0:inputgenerator: Next outage is planned at Sun, 11 Nov 2012 23:22:57 +0000 | |
2012-11-11 23:22:57,131 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:57,131 INFO Intance #0:gotmessage: Got message with a size of 25072 characters. | |
2012-11-11 23:22:57,207 INFO Intance #0:inputgenerator: Outage of 12.6658479027 seconds started. | |
2012-11-11 23:22:57,260 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:57,261 INFO Intance #0:gotmessage: Got message with a size of 25024 characters. | |
2012-11-11 23:22:57,382 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:57,383 INFO Intance #0:gotmessage: Got message with a size of 25029 characters. | |
2012-11-11 23:22:57,511 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:22:57,512 INFO Intance #0:gotmessage: Got message with a size of 25062 characters. | |
2012-11-11 23:23:07,633 INFO Intance #0:gotmessage: Got message with a size of 9506 characters. | |
2012-11-11 23:23:07,733 INFO Intance #0:tippingbucket: Age of buffer exceeded 10 seconds. Flushed. | |
2012-11-11 23:23:09,875 INFO Intance #0:inputgenerator: Outage finished. | |
2012-11-11 23:23:09,876 INFO Intance #0:inputgenerator: Next outage is planned at Sun, 11 Nov 2012 23:23:13 +0000 | |
2012-11-11 23:23:09,929 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:23:09,930 INFO Intance #0:gotmessage: Got message with a size of 25045 characters. | |
2012-11-11 23:23:10,051 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:23:10,051 INFO Intance #0:gotmessage: Got message with a size of 25032 characters. | |
2012-11-11 23:23:10,180 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:23:10,181 INFO Intance #0:gotmessage: Got message with a size of 25008 characters. | |
2012-11-11 23:23:11,551 INFO Intance #0:tippingbucket: Size of buffer exceeded. Flushed. | |
2012-11-11 23:23:11,553 INFO Intance #0:gotmessage: Got message with a size of 25038 characters. | |
2012-11-11 23:23:13,754 INFO Intance #0:inputgenerator: Outage of 14.4796199521 seconds started. | |
2012-11-11 23:23:21,730 INFO Intance #0:gotmessage: Got message with a size of 15111 characters. | |
2012-11-11 23:23:21,831 INFO Intance #0:tippingbucket: Age of buffer exceeded 10 seconds. Flushed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment