anthony-kolesov / kts46 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/kts46
License: Apache License 2.0
Automatically exported from code.google.com/p/kts46
License: Apache License 2.0
Implement Scheduler-Worker protocol v0.1 at Scheduler side:
* runJob
* getJob
* reportStatus
Original issue reported on code.google.com by [email protected]
on 17 Nov 2010 at 9:29
If special cmd argument is specified then get worker id from it. If there is no
argument then generate it using uuid.uuid4().
May it makes sense also to try to get id from configuration file.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2010 at 7:47
If two cars at same positions on lines separated by one line will move to it at
one time they will occupy the same place.
Original issue reported on code.google.com by [email protected]
on 22 Feb 2011 at 5:47
Extract initialization of ConfigParser to common lib function. This function
will take as a argument tuple of configuration file paths and will return a
SafeConfigParser instance.
Original issue reported on code.google.com by [email protected]
on 18 Nov 2010 at 6:19
Now node can have only one worker at a time. To ease node management add
ability to start pool of workers from one node.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 1:01
JSON API doesn't understand '-' in project names.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 12:27
In all server components add command line arguments switch that will disable
output of log data to console. That will be used in background runs so program
will not waste time on meaningless console output.
Original issue reported on code.google.com by [email protected]
on 17 Dec 2010 at 6:01
in WebUI export statistics data in CSV format for selected rows.
Original issue reported on code.google.com by [email protected]
on 22 Feb 2011 at 8:12
If job is simulated again than it counter of progress is not reseted.
Original issue reported on code.google.com by [email protected]
on 21 Nov 2010 at 8:02
Now model can only be used from initial state. To be able to split jobs on
partial tasks it is required to load state from JSON.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2010 at 8:42
Worker do task without db and scheduler: use yaml file as input and generate
output csv files.
Original issue reported on code.google.com by [email protected]
on 22 Feb 2011 at 11:45
Create some starting-stopping script for all kts46 daemon processes:
* RPC server
* scheduler
* worker (at first it must be implemented as daemon process, see issue #11).
Original issue reported on code.google.com by [email protected]
on 29 Nov 2010 at 7:28
Implement more sophisticated model of distance to leading cars: function
depending on driver aggression level.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2011 at 5:04
Splitting road and traffic flow into two.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2011 at 5:11
Currently processes are stopped by exceptions caused by network errors, e.g. if
server is unavailable. Catch this exceptions so programs will be able to
continue work.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2011 at 7:16
Make all creating and deleting methods of JSON API a POST requests.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 12:28
Currently communication with CouchDB is done via it's general Python bingdings
or direct HTTP. It is requires to develop a common database model-specific
interface that will represent simulation and model entities: project, job, etc.
Original issue reported on code.google.com by [email protected]
on 17 Nov 2010 at 8:53
Live view animation not properly closed and continues after closing.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2011 at 7:10
Store start time of task in scheduler.
Original issue reported on code.google.com by [email protected]
on 15 Feb 2011 at 7:41
Now if there are several nodes running at one computer they will use one log
file. Make some mechanism to provide this settings to nodes individually.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2011 at 10:50
When adding task in scheduler scheck whether it dublicates something that is
already in queue or in progress.
Original issue reported on code.google.com by [email protected]
on 30 Nov 2010 at 7:24
Currently cars accelerate instantly. Implement realistic change of speed.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2011 at 5:07
Implement oncomming traffic in model
Original issue reported on code.google.com by [email protected]
on 16 Feb 2011 at 5:08
Make a worker a constantly running daemon process which periodically schecks
for tasks on scheduler and runs them.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2010 at 7:26
In webui.py separate JSON-RPC logic from handler logic. Develop something like
SimpleXMLRPCServer.
Original issue reported on code.google.com by [email protected]
on 25 Mar 2011 at 9:21
May be using job IDs (numbers) instead if names (strings) can improve speed and
minimize traffic.
Original issue reported on code.google.com by [email protected]
on 18 Mar 2011 at 8:46
Road intersection with two directions: forward and right.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2011 at 5:12
Remember table sorting when new table is redrawn.
Original issue reported on code.google.com by [email protected]
on 16 Mar 2011 at 7:10
Show job stats in a web interface.
Original issue reported on code.google.com by [email protected]
on 1 Jan 2011 at 5:54
Now if web interface couldn't get update of status from API server it does
nothing. Show some message to the user.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2011 at 10:35
Define worker task types in configuration.
Original issue reported on code.google.com by [email protected]
on 22 Feb 2011 at 4:21
In current nodejs scheduler there is no mention of providing worker
notification interval.
* Change specification
* Implement specification on scheduler: get time from config.
* fix regression on worker.
Original issue reported on code.google.com by [email protected]
on 11 Feb 2011 at 1:09
Import data simulated in offline worker into database via WebUI.
Original issue reported on code.google.com by [email protected]
on 15 Mar 2011 at 8:10
Collect information about simulation network, such as where and which
components are started.
Original issue reported on code.google.com by [email protected]
on 3 Jan 2011 at 1:57
Perform basic statistic calculations in worker.
Original issue reported on code.google.com by [email protected]
on 17 Nov 2010 at 9:38
If job has been deleted while simulation - work correctly.
Original issue reported on code.google.com by [email protected]
on 1 Jan 2011 at 6:22
Fully implement traffic intersection.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2011 at 5:14
Buttons to control playing of live view:
* play
* pause
* speed up
* speed down
* next step (on pause)
* previous step (on pause)
* stop
Original issue reported on code.google.com by [email protected]
on 22 Feb 2011 at 8:21
Implement overtaking of cars in model. Car can overtake if there is a safe
distance in front and at rear of it target position. Also front distance must
be greater than current. And current speed must be lower than desired speed.
Original issue reported on code.google.com by [email protected]
on 13 Feb 2011 at 8:51
Store some stats about workers and how they execute simulation tasks.
For example:
* how many tasks simulated.
* how many states simulated
* how much time it required
Original issue reported on code.google.com by [email protected]
on 3 Jan 2011 at 1:56
Extract common code of logger initialization to separate function in common
library. This function will take as a argument ConfigParser with [log] section
with configuration data and will return a logger instance.
Original issue reported on code.google.com by [email protected]
on 18 Nov 2010 at 6:23
Show job stats in a web interface.
Original issue reported on code.google.com by [email protected]
on 1 Jan 2011 at 5:54
In a web interface show stats in a progress counter (somehow).
Original issue reported on code.google.com by [email protected]
on 1 Jan 2011 at 5:56
Run RPC server at each node with it's infrastructure and create communication
network between schedulers.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 1:46
Create supervisor process that will control jobs progress and restart jobs
which workers are not responding at time.
Original issue reported on code.google.com by [email protected]
on 17 Nov 2010 at 9:24
Create WebUI for scheduler: currently use same as on python. Then remove
current http api.
Original issue reported on code.google.com by [email protected]
on 22 Feb 2011 at 8:44
Try Dojo table.
Original issue reported on code.google.com by [email protected]
on 16 Mar 2011 at 7:08
Base class for all model objects with methods:
* frontPosition
* backPosition
* state: active or not
Original issue reported on code.google.com by [email protected]
on 18 Feb 2011 at 8:29
Nodejs scheduler provides list of databases, use it in the worker.
Original issue reported on code.google.com by [email protected]
on 11 Feb 2011 at 1:17
Implement Scheduler-Worker protocol v0.1 at a worker side.
* getJob
* reportStatus
* reportStatus according to timeout timer.
Original issue reported on code.google.com by [email protected]
on 17 Nov 2010 at 9:32
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.