Giter Club home page Giter Club logo

ispncon's People

Contributors

mlinhard avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

infinispan

ispncon's Issues

Include command name change

Change the name of the include command, it's misleading - " Include sounds more like you import some commands but don't necessarily execute. "

Batch - a good alternative, also making it sound more like data loading batch then a script execution.

FEATURE: server management

LOW PRIORITY

add infnispan server management features so that we can easily startup servers from shell scripts using a common familiar syntax like:

ispncon server start
ispncon server stop

and using common configuration parameters like -h -p -c

I don't know to which extent I'll be able to add support for EDG in here
so far this will be only about standalone hotrod/memcached servers started with startServer.sh

FEATURE: configurable client timeouts

clients should have socket timeouts configurable

python-memcached currently doesn't support this and will need to be replaced with custom version

ispncon -v doesn't work

I didn't yet decide how to version ispncon so it doesn't work yet

but will need to fix this after I figure out some versioning schema

FEATURE: Optimize console client for bash scripting / looping

The console doesn't support scripting constructs like sleep, for loop, etc... that could be executed as part of a batch.
Instead of adding these commands/constructs into ispncon, ispncon will be optimized for
creating shell scripts containing looping.

Problem with looping inside of a shell script is that the ispncon command that is run inside of a bash loop looses lot of it's context during execution.
sure there are command line arguments or ~/.ispncon files but these are not very nice solutions
also clients (hotrod, memcached, http) are created and destroyed upon each execution of a single line command.

I'm thinking about adding a support for a new command processing mode
where one special "executor" process will be started

client process will be started by something like
ispncon executor start
and will return pid of the process
it will create a named pipe /tmp/ispncon_executor_

then all other commands can be fed into the client process via an additional parameter -E
the client won't have to be recreated upon each command and also the context/config of the executor won't have to be
stored/restored upon each command invocation.

the executor will be killed by a command

ispncon quit -E (sending quit command to the executor>

(this requires implementing also a new command quit that will kill the current ispncon process)

try making ispncon work with python 2.6

There is a problem:
Traceback (most recent call last):
File "/home/mgencur/Java/infinispan/ispncon/bin/ispncon", line 5, in
console.main(sys.argv)
File "/usr/local/lib/python2.6/dist-packages/ispncon-0.8.1_SNAPSHOT-py2.6.egg/ispncon/console.py", line 325, in main
config = Config() # values here will be overriden by anything passed in commandline
File "/usr/local/lib/python2.6/dist-packages/ispncon-0.8.1_SNAPSHOT-py2.6.egg/ispncon/console.py", line 47, in init
self._override_with_user_config()
File "/usr/local/lib/python2.6/dist-packages/ispncon-0.8.1_SNAPSHOT-py2.6.egg/ispncon/console.py", line 27, in _override_with_user_config
cfgp = ConfigParser.ConfigParser(allow_no_value=True)
TypeError: init() got an unexpected keyword argument 'allow_no_value'

FEATURE: hotrod client compatibility with java hotrod client

currently data stored with ispncon using hotrod client can't be accessed from java client with remoteCache.get(key) because the bytearray key is encoded differently in python client - it's just a plain encoding of the text into byte array, wheres in java hotrod client it's a marshalled String value.

make a configuration option for hotrod client to use this kind of encoding as well... i.e. see how GenericJBossMarshaller works and replicate it.

Installation problems on Mac OS X

Are there any special requirements for installation on a Mac?

Multiverse:Code manik $ pwd
/Users/manik/Code
Multiverse:Code manik $ cd ispncon/
Multiverse:ispncon manik [master]$ git pull
Already up-to-date.
Multiverse:ispncon manik [master]$ cd src/
Multiverse:src manik [master]$ sudo python setup.py install
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from setuptools import setup
ImportError: No module named setuptools
Multiverse:src manik [master]$ 

Using Python 2.6.6.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.