Comments (6)
- There's callbacks available for timeout, register and unregister in the mapper, the RDoc for Mapper#start has all the info available.
- Planned feature for me, since we need something similar. I'd like to get some Unix-y stuff like Unicorn has into Nanite so that you can gracefully shutdown and bring up new agents in the meantime.
from nanite.
Regarding the first issue is this functionality available outside of the mapper? That would be ideal. How does the nanite-admin get a hold of it?
Just curious how do you deal with creating new agents to scale? Time-outs impacts that decision for us big time.
from nanite.
That functionality is only available in the mapper. If you need to react on it with some other means I'd say the best way is to fire off a new request to a management agent.
from nanite.
I am assuming management agent is a different agent that you have only for triggering off processes/agents. Could you pls elaborate? Right now we are using only the mapper & the general purpose agents to take care of tasks.
from nanite.
A management agent is an agent that you implement, its only difference from your other agents could be that it fires up new agents on your systems. Imagine a setup where each machine runs a management agent and a couple of working agents. You can push a task to the management agent whenever you want to fire up new working agents or to kill some of them. It's nothing Nanite offers at the moment, but I thought about it and it sure would be a nice feature to have. Until then, that'd be my idea of automating the process.
from nanite.
We have been exactly thinking around these lines! Would be a great nanite feature. I guess you have to get the mapper to listen to hook and fire off a request to this agent (& hope & pray that this agent is running ;)). Right now the array issue is the one thats killing us. Will have to get that fixes before we get to this one. I will keep you posted.
from nanite.
Related Issues (20)
- add json as a gem dependency HOT 1
- prefetch option only available for mapper, not for agent HOT 4
- Logging in mapper HOT 4
- comparison of Array with Array failed (ArgumentError) HOT 16
- Agent stalls with 100% cpu utilization HOT 5
- How to initiate a sync request? HOT 1
- nanite does not startup in ruby1.9 HOT 5
- Seemingly random nil value for nanite_attributes in cluster.rb:169 HOT 1
- Nanite and multiples machines HOT 2
- rails/patch_json.rb messes up serialization in rails 2.3.x HOT 1
- Problem with nanite + webrick HOT 7
- RabbitMQ 1.8 support HOT 3
- When removing an agent from the redis store,redis throws an 'invalid function' HOT 1
- rake gem fails with "no such file to load -- spec/rake/spectask" HOT 2
- Compatibility with amqp 0.8.x gem
- load average / status function not updated with heartbeat messages when using Redis HOT 1
- Client-agent requests gets multiplicated HOT 10
- eventmachine not initialized: evma_send_data_to_connection (RuntimeError) HOT 10
- What environment are you guys using? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanite.